[Settings] configuration for hidding SIM provider UI
Hide SIM provider UI based on configuraion. Bug: 240515161 Test: test cases and local testing Merged-In: I1cb83787dc1ac1d61bb6bed6aa9c5e7a3ad6e69b Change-Id: Ibe22c3ba377a15f770622d235ebddc63b4bf3ed6
This commit is contained in:
@@ -100,7 +100,8 @@ public class NetworkProviderCallsSmsFragment extends DashboardFragment {
|
||||
|
||||
@Override
|
||||
protected boolean isPageSearchEnabled(Context context) {
|
||||
return context.getSystemService(UserManager.class).isAdminUser();
|
||||
return SubscriptionUtil.isSimHardwareVisible(context) &&
|
||||
context.getSystemService(UserManager.class).isAdminUser();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user