[Settings][port] configuration for hidding SIM related UI
Add overriable configuration for hidding SIM related UI. Bug: 240515161 Test: test cases and local testing Merged-In: Ie00bdce2fad429f2ed343e1d7aea4967bcaddf5a Merged-In: Ie61557590cdc15e2d03b1e71bbc78def2c60046a Change-Id: I67166b0db08635ee2bc01a8208f96126b64fd0a7
This commit is contained in:
@@ -86,6 +86,14 @@ public class SubscriptionUtil {
|
||||
return subscriptions;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if SIM hardware is visible to the end user.
|
||||
*/
|
||||
public static boolean isSimHardwareVisible(Context context) {
|
||||
return context.getResources()
|
||||
.getBoolean(R.bool.config_show_sim_info);
|
||||
}
|
||||
|
||||
@VisibleForTesting
|
||||
static boolean isInactiveInsertedPSim(UiccSlotInfo slotInfo) {
|
||||
if (slotInfo == null) {
|
||||
|
Reference in New Issue
Block a user