Fix the inverted logic of indexing injected entries
The if statement was misplaced while changing the coding style in previous CL. Bug: 132812768 Test: manual Change-Id: I01a2494bf8103c806ec9b3cbd1ff9f8b8c01aebe
This commit is contained in:
@@ -181,7 +181,7 @@ public class SettingsSearchIndexablesProvider extends SearchIndexablesProvider {
|
||||
for (DashboardCategory category : dashboardFeatureProvider.getAllCategories()) {
|
||||
for (Tile tile : category.getTiles()) {
|
||||
final String packageName = tile.getPackageName();
|
||||
if (!context.getPackageName().equals(packageName)) {
|
||||
if (context.getPackageName().equals(packageName)) {
|
||||
continue;
|
||||
}
|
||||
final Object[] ref = new Object[INDEXABLES_RAW_COLUMNS.length];
|
||||
|
Reference in New Issue
Block a user