Fix issue about at which time Bluetooth devices name are indexed

- remembered devices name were only indexed when BT was turned on/off
- allow the same when they are paired
- remove device name from the Index if it is un-paired

Change-Id: I1206a591b0132789c3b003e52c7ffac630e80758
This commit is contained in:
Fabrice Di Meglio
2014-04-08 17:42:29 -07:00
parent e2b9e07e5f
commit 3b22695670
3 changed files with 23 additions and 1 deletions

View File

@@ -239,8 +239,9 @@ public class Index {
return result;
}
private boolean updateFromSearchIndexableData(SearchIndexableData data) {
public boolean updateFromSearchIndexableData(SearchIndexableData data) {
addIndexableData(data);
mDataToProcess.forceUpdate = true;
return updateInternal();
}