The change targets to refine SavedAccessPointsPreferenceController and
SubscribedAccessPointsPreferenceController
1. Remove feature flag check for saved Passpoint display.
2. They do not implements WifiManager.ActionListener.
3. Separate the code to collect saved AccessPoints data and the code to
update preferences.
4. Let getAvailabilityStatus() returns result according to the saved
AccessPoints data.
5. Update preferences at SavedAccessPointsWifiSettings#onStart()
instead of life cycle onStart() of these 2 controllers.
This is for the change of 2.
6. Do not use PreferenceGroupChildrenCache in
SubscribedAccessPointsPreferenceController, this is for code
alignment of SavedAccessPointsPreferenceController.
Now these 2 controllers have very similar design, it will be easier
to refine SubscribedAccessPointsPreferenceController as a child of
SavedAccessPointsPreferenceController.
Bug: 127206629
Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.wifi.savedaccesspoints
Manual: Add and forget Wi-Fi accesspoints and observe UI display.
Change-Id: Id6f95d5b64e57a98c2c2e6ab09a4dec70a71b615
Update the UI in advance when user select any option. In this
CL before, the UI update in advance only when user select "USB tethering".
Bug: 141161849
Test: make -j42 RunSettingsRoboTests
Change-Id: I1fa4b20408a00b06d7c8fac6136c63df7406154d
[CHAR LIMIT=30] is too short for translation.
Solution: Extend to 50 characters for both Factory Wi-Fi MAC address (require 40 characters), and Randomized MAC address (require 37 characters).
Bug: 142284108
Bug: 142283151
Test: None, just extend the string length for translation.
Change-Id: I41e99d2cd85ab527a1bd073cab83b4bf61234c98
Disable the selectable configuration on preference
to avoid TalkBack read "double-tap to activate".
Bug: 141588828
Test: Manual test
Change-Id: Icd666792e6d86998d11168b62ab99e3c3412d747
1. Set null content description for all labels of the chart.
2. Set 2 parts in the content description of the chart:
I. Brief description of the chart.
II. Stats of the data usage.
Bug: 141093026
Test: ChartDataUsagePreferenceTest
Manually listen to TalkBack speaking
Change-Id: I82cefd9987793f40a5bba5bf3ea5f4017da37640
1. add slotIndex in SmsCbMesage(cellbroadcast can be received
when sim is absent)
2. move cellbroadcastMessage from telephony-common to app
next step, considering merging CellBroadcast to SmsCbMessage
Bug: 135956699
Bug: 141962867
Test: build & unit test
Change-Id: Iba5e727fc1a1adaf44a7fa1eebfefe34fa8644aa
The "PEER DEVICES" and "REMEMBERED GROUPS" two strings appear then disappear suddenly.
Solution: Set those two PreferenceGroups, which with empty preference
child, invisible before showing.
Bug: 141830944
Test: 1.Manual test. 2.Modify isAvailable() test case for make sure the
initial visible of empty group is invisible.
Change-Id: Ifb074ac758196096ca63b6f7fa1285f8148d98d4
Change Wi-Fi Calling text according to SFR requirement.
Test: Checked that changing name correctly.
Bug: 141255919
Change-Id: I598f9d4a3cbca166fe3449ec425702360a104213
Talkback should not speak "double-tap to activate".
Set the preference selectable attribute to false.
Test: manual
Fixes: 139709914
Change-Id: If4d6dd480740f4225b1e2932e7838c14a01cf8e5
The issue happens when users are toggling slices. Sometimes the toggle
doesn't work as expected because the pending intent of the toggle action
seems to be canceled for some reasons.
Hence, we replace FLAG_CANCEL_CURRENT with FLAG_UPDATE_CURRENT to prevent from
getting PendingIntent.CancelExcpetion from SliceActionView when toggling
slices.
Note that this change would only apply on Wifi, MobileData, Flashlight
and Bluetooth Slices.
Bug: 140719905
Test: rebuild and switch toggles
Change-Id: Iddbb16ddcbcf97b6f6e680b43645c04fbc061f39
Orignal clickable area within data usage editor is too small.
Enlarge it through changing the configuration of layout.
Bug: 131268240
Test: manual testing following the steps provided in issue.
Change-Id: I2cb8dba635ec0bd74c837c2425895ff39ceed13c
Before this CL, If SIM doesn't have tethering option then UI will not
back to previous option when press "USB tethering" in
[Default USB configuration].
This CL added receiver to observe USB state that get correct state
from UsbManager.
Bug: 138630479
Test: make -j42 RunSettingsRoboTests
Change-Id: I6cc8da508f6ab142142ca8c28460125bad93925b
Preferred network list add 5G item, and change "recommended" from 4G to
5G, and add summary for 5G.
Bug: 138544359
Test: 1.fake the device network type bitmask to 5G, UI show 5G list
2.atest EnabledNetworkModePreferenceControllerTest.java :pass
Change-Id: I4a78e2e7fbb067ce841df4aaf1d5161607fdcf90