Create SimRepository
Which unifies whether we should sim settings on some related pages. Before this change, we check SubscriptionUtil.isSimHardwareVisible() and / or Utils.isWifiOnly(). After this change, we unified logic to, canChangeSimSettings() = packageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY) && userManager.isAdminUser Fix: 365924140 Flag: EXEMPT bug fix Test: manual - check Network & internet Test: unit tests Change-Id: Ibf83237e3d0088f78c96a1b39ee8f1e3a9c756ea
Loading
Please register or sign in to comment