Fix bug #16896118 SIM cards should ONLY appear in search results for devices with 2+ SIM slots
- add the proper SearchIndexProvider to SimSettings - allow indexing only an only if showSimCardTile() is true - add Utils.showSimCardTile() Change-Id: I5df2284d32f91fa454e1edebf1139d00593138a0
This commit is contained in:
@@ -92,7 +92,7 @@ public final class SearchIndexableResources {
|
||||
sResMap.put(SimSettings.class.getName(),
|
||||
new SearchIndexableResource(
|
||||
Ranking.getRankForClassName(SimSettings.class.getName()),
|
||||
R.xml.sim_settings,
|
||||
NO_DATA_RES_ID,
|
||||
SimSettings.class.getName(),
|
||||
R.drawable.ic_sim_sd));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user