|
72 | 72 | import static android.os.UserManager.DISALLOW_SHARE_INTO_MANAGED_PROFILE;
|
73 | 73 | import static android.os.UserManager.DISALLOW_SHARE_LOCATION;
|
74 | 74 | import static android.os.UserManager.DISALLOW_SHARING_ADMIN_CONFIGURED_WIFI;
|
| 75 | +import static android.os.UserManager.DISALLOW_SIM_GLOBALLY; |
75 | 76 | import static android.os.UserManager.DISALLOW_SMS;
|
76 | 77 | import static android.os.UserManager.DISALLOW_SYSTEM_ERROR_DIALOGS;
|
77 | 78 | import static android.os.UserManager.DISALLOW_ULTRA_WIDEBAND_RADIO;
|
@@ -219,6 +220,7 @@ public UserRestriction(String key, int titleResId, String permission) {
|
219 | 220 | DISALLOW_CONFIG_LOCALE, R.string.disallow_config_locale, MANAGE_DEVICE_POLICY_LOCALE),
|
220 | 221 | new UserRestriction(DISALLOW_ULTRA_WIDEBAND_RADIO, R.string.disallow_ultra_wideband_radio),
|
221 | 222 | new UserRestriction(DISALLOW_ASSIST_CONTENT, R.string.disallow_assist_content),
|
| 223 | + new UserRestriction(DISALLOW_SIM_GLOBALLY, R.string.disallow_sim_globally), |
222 | 224 | };
|
223 | 225 |
|
224 | 226 | /**
|
@@ -371,6 +373,8 @@ public UserRestriction(String key, int titleResId, String permission) {
|
371 | 373 | DISALLOW_CELLULAR_2G, DISALLOW_CONFIG_DEFAULT_APPS, DISALLOW_ULTRA_WIDEBAND_RADIO,
|
372 | 374 | };
|
373 | 375 |
|
| 376 | + public static String[] VIC_PLUS_RESTRICTIONS = {DISALLOW_SIM_GLOBALLY}; |
| 377 | + |
374 | 378 | public static String[] VIC_PLUS_PARENT_RESTRICTIONS = {
|
375 | 379 | DISALLOW_CONFIG_BRIGHTNESS, DISALLOW_CONFIG_SCREEN_TIMEOUT, DISALLOW_ASSIST_CONTENT
|
376 | 380 | };
|
|
0 commit comments