Merge "Fix bug #16896118 SIM cards should ONLY appear in search results for devices with 2+ SIM slots" into lmp-dev

This commit is contained in:
Fabrice Di Meglio
2014-08-08 19:35:06 +00:00
committed by Android (Google) Code Review
4 changed files with 38 additions and 14 deletions

View File

@@ -1042,7 +1042,7 @@ public class SettingsActivity extends Activity
}
// Show the SIM Cards setting if there are more than 2 SIMs installed.
if(tile.id != R.id.sim_settings || SimSettings.showSimCardScreen(this)){
if(tile.id != R.id.sim_settings || Utils.showSimCardTile(this)){
category.addTile(tile);
}