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:
Jason Chiu
2019-10-24 15:35:08 +08:00
parent a0e9852083
commit d0fa488304

View File

@@ -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];