First step in refactoring Index.java
Handles the following refators: - Indexing code into: DatabaseIndexingManager - Indexing utility methods into: DatabaseIndexingUtil - XML Parsiing utility methods into XMLParserUtil Bug: 33451851 Test: make RunSettingsRoboTests Change-Id: I4264ad3806d1bd3a66d879c16ad6c8315ecb832b
This commit is contained in:
@@ -253,7 +253,7 @@ public class SettingsActivity extends SettingsDrawerActivity
|
||||
String action = intent.getAction();
|
||||
if (action.equals(Intent.ACTION_USER_ADDED)
|
||||
|| action.equals(Intent.ACTION_USER_REMOVED)) {
|
||||
Index.getInstance(getApplicationContext()).update();
|
||||
mSearchFeatureProvider.updateIndex(getApplicationContext());
|
||||
}
|
||||
}
|
||||
};
|
||||
@@ -310,7 +310,7 @@ public class SettingsActivity extends SettingsDrawerActivity
|
||||
@Override
|
||||
public void onConfigurationChanged(Configuration newConfig) {
|
||||
super.onConfigurationChanged(newConfig);
|
||||
Index.getInstance(this).update();
|
||||
mSearchFeatureProvider.updateIndex(getApplicationContext());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user