Allow partial Index rebuilding thru updateFromClassNameResource(...)
- add a new boolean parameter to ask for Index rebuilding: passing "true" will delete first all the data corresponding to the "className" and then apply the update. Change-Id: Ifc42fc560a14f5470b466cf6982915d9207fa3c7
This commit is contained in:
@@ -166,6 +166,6 @@ public final class BluetoothEnabler implements CompoundButton.OnCheckedChangeLis
|
||||
|
||||
private void updateSearchIndex(boolean isBluetoothOn) {
|
||||
Index.getInstance(mContext).updateFromClassNameResource(
|
||||
BluetoothSettings.class.getName(), isBluetoothOn);
|
||||
BluetoothSettings.class.getName(), false, isBluetoothOn);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user