summaryrefslogtreecommitdiff
path: root/src/com/android/settings/security/SimLockPreferenceController.java
AgeCommit message (Collapse)Author
2021-07-16Merge SP1A.210709.002Scott Lobdell
Change-Id: I2ebb551e1075f1917522d16e42626d0d0aba0360
2021-06-25Enable controllers to use a custom key.Jan Tomljanovic
Test: atest SettingsUnitTests Test: m -j45 RunSettingsRoboTests Bug: 191763369 Change-Id: I48eea95613600580c80c8850f0a3fd543a7e0a43
2020-09-22Fix SIM pin lock showing as disabled for active subVala Zadeh
In addition, to align with Google's behavior, the disabled sub no longer shows as a tab in Settings > Security > SIM card lock. Also, when both subs are disabled, the 'Sim card lock' option does not appear in Settings. Change-Id: I21ea39eee06eac9a90c38f0b99124f2006b34b1a CRs-Fixed: 2780721
2020-03-17Fix sim pin lock preference disappear in dual sim.SongFerngWang
If one sim hide the preference and another one show the preference, the preference always hide. The root cause is config value is wrong. It should get config with subid. Bug: 149800931 Test: make RunSettingsRoboTests ROBOTEST_FILTER=SimLockPreferenceControllerTest Change-Id: I91b551bc363b8ecb0a4b6b40e9de79c74ccd76fd
2020-01-08[Mainline] Use public method in SubscriptionManager for mainlinechangbetty
- getActiveSubscriptionIdList To use getActiveSubscriptionInfoList to get subscription Id list - getActiveSubscriptionInfoList(Z) To use getActiveSubscriptionInfoList() instead Bug: 144478274 Test: make RunSettingsRoboTests ROBOTEST_FILTER=SimLockPreferenceControllerTest make RunSettingsRoboTests ROBOTEST_FILTER=MobileNetworkUtilsTest make RunSettingsRoboTests ROBOTEST_FILTER=TelephonyBasePreferenceControllerTest Change-Id: I4d6113561906af5c9e4ac7737aefac17c926059a
2019-12-11[Settings] Cannot use UnsupportedAppUsage API, use #hasIccCard() to replacezoey chen
Bug: 145967955 Test: make Change-Id: I8b948d1d416e1eb79e34be073b8ad81645d5ebb1
2019-01-16Don't show hidden Cellular subscription in Settings.Malcolm Chen
Replace getActiveSubscriptionInfoList() with getActiveSubscriptionInfoList(true) so that settings will not show hidden subscriptions to the user in various pages. Bug: 121396526 Test: manual Change-Id: I717999fed7d3a5a037914239694bef52df7c6207
2018-08-28Sort importsFan Zhang
Having consistent import order will reduce chance of merge conflict between internal and external master Test: rebuild Change-Id: I0b1a170967ddcce7f388603fd521f6ed1eeba30b
2018-06-18Reorder and clean up imports.Fan Zhang
Test: rebuild Change-Id: I178485c84ae7146f991fd77b6d7504b029942a68
2018-04-20Migrate Settings to androidx.Aurimas Liutikas
Test: make Settings Bug: 76692459 Change-Id: I941dea40562170649bf056e675cc32e5163c0e39
2018-01-02Convert some security setting logic to PreferenceControllerFan Zhang
- Manage trust agent - Show password - Sim lock - Screen pinning Bug: 32953042 Test: robotests Change-Id: I0c781a505238cae7a6643b701b750ca63a87a8a5