修改文件ContactLocaleUtils.java两处
(Path:packages/contactsprovider/src/com/android/providers/contacts)
1. 函数public ContactLocaleUtilsBase(Locale locale)结尾处
...
mAlphabeticIndexBucketCount = mAlphabeticIndex.getBucketCount();
//add for put # group to first START
//mNumberBucketIndex = mAlphabeticIndexBucketCount - 1;
mNumberBucketIndex = 0;
//add for put # group to first END
2. 函数public int getBucketIndex(String name)结尾处
...
final int bucket = mAlphabeticIndex.getBucketIndex(name);
if (bucket < 0) {
return -1;
}
//add for put # group to first START
//if (bucket >= mNumberBucketIndex) {
// return bucket + 1;
//}
//return bucket;
return bucket+1;
//add for put # group to first END