* commit 'b5caa647e74729e0bcfabe12ca40b30a82dd906a': Fix bug #17208479 Have Cellular Networks Show up in Data Usage
This commit is contained in:
@@ -1025,8 +1025,14 @@ public class Index {
|
||||
return;
|
||||
}
|
||||
|
||||
// The DocID should contains more than the title string itself (you may have two settings
|
||||
// with the same title). So we need to use a combination of the title and the screenTitle.
|
||||
StringBuilder sb = new StringBuilder(updatedTitle);
|
||||
sb.append(screenTitle);
|
||||
int docId = sb.toString().hashCode();
|
||||
|
||||
ContentValues values = new ContentValues();
|
||||
values.put(IndexColumns.DOCID, updatedTitle.hashCode());
|
||||
values.put(IndexColumns.DOCID, docId);
|
||||
values.put(IndexColumns.LOCALE, locale);
|
||||
values.put(IndexColumns.DATA_RANK, rank);
|
||||
values.put(IndexColumns.DATA_TITLE, updatedTitle);
|
||||
|
Reference in New Issue
Block a user