1. Disabled SIMs are accessed through getAvailableSubscriptionInfoList()
API.
2. Support of DSDS enable/disable runtime change intent detection
3. Add support for AutoCloseable
Bug: 144172733
Test: Manual
Change-Id: Ibce65c854aee2ae07ca94cbdd4bd2ce656f5f2c8
Settings app would move PreferenceController to run
in background thread in the near future.
To support this, change some of the design within these
essential components to allow:
1. Handler to run on non-main thread
2. Minimum multi-thread reentrance support
Bug: 146045802
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=GlobalSettingsChangeListenerTest
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=ActiveSubsciptionsListenerTest
Change-Id: Ica5c942b919007d7d260feee632752d3353a6f18
AirplaneModePreferenceController is designed to be run in UI thread.
However, MobileDataSlice is designed to be run in SliceProvider.
Accessing AirplaneModePreferenceController within SliceProvider which
create a possibility of crash.
Bug: 145689275
Test: manual
Change-Id: Ic9eee407917a94c7247feb3afc709d4642cd9900
Only PreferenceControllers with isPublicSlice() set to true are exposed
to other apps. Others will be Settings only.
Bug: 141088937
Test: robotests
Change-Id: I6e7b9d45084ea9944143e606bfac56b2cae3e8a3
am skip reason: Change-Id I527813e38583a4e4a1489090e8a17c6bd50c3e81 with SHA-1 cfca56fef1 is in history
Change-Id: I868e077713c4e4a86e69971edfa5fca90e8a239b
am skip reason: Change-Id I93e9dc09a01aa76b7d26660a32944df79cda93f3 with SHA-1 7e66fbd162 is in history
Change-Id: Ia688b6e7cbbd6f2173d04fd5ae066c55161a97ab
Bug: 146046311
Test: 1. open SIM status and check signal strength. (PASS)
2.atest make RunSettingsRoboTests /
ROBOTEST_FILTER=SimStatusDialogControllerTest(PASS)
Change-Id: I93e9dc09a01aa76b7d26660a32944df79cda93f3
Merged-In: I93e9dc09a01aa76b7d26660a32944df79cda93f3
- FaceSettingsLockscreenBypassPreferenceController's preference key
is different from that in xml. Use DashboardFragment generic way to
create PreferenceController which bind the preference key defined in
xml.
- Also refine the way of fixing b/140878309
Fixes: 145893081
Test: manual check FaceSettings and Notification Settings
Change-Id: Ia80e755e3f86b44e771b0cf80c9bf53a8ef8f430
Implement RadioButtonPreference and its controller to replace ListPreference
New strings for accessibility daltonizer service
- radio button title and summary
Bug: 145968068
Test: make RunSettingsRoboTests ROBOTEST_FILTER=DaltonizerPreferenceControllerTest
Change-Id: Ic91d8648906f35991682a259879095cbbd4cc678
am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 ad2502a91a is in history
Change-Id: Ic292aa793e6a5c65fd8a50453f80ec7166932894
am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 a545a85f9d is in history
Change-Id: I0a504183bd6ec66cc6ec071c6185ab670017adf0
This CL is used to update Bluetooth api.
- Use BluetoothProfile.CONNECTION_POLICY_ALLOWED instead of
BluetoothProfile.PRIORITY_ON
- Use BluetoothProfile.CONNECTION_POLICY_FORBIDDEN instead of
BluetoothProfile.PRIORITY_OFF
Fixes: 141582844
Test: manually
Change-Id: I527813e38583a4e4a1489090e8a17c6bd50c3e81
Merged-In: I527813e38583a4e4a1489090e8a17c6bd50c3e81
am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 ad2502a91a is in history
Change-Id: I41228590ca31162c119de1e9be465cd35fc81ad5
am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 a545a85f9d is in history
Change-Id: Ia5fb1e2e442e8312d29951b184bab64cf479604d
am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 ad2502a91a is in history
Change-Id: I6d95ab64f114ac818161c903e86cc7da70b424ad