1. Unify getPrefContext() usage in Accessibility Settings
2. Correct the dialog emuns order
Test: local test
Change-Id: Idc51f7b15b5813bbae7b32e1ae3c7f00c71cea50
Refactor current shortcut design to base fragment and provide
protected function to customize the legacy design,
magnification or no need shortcut app.
Bug: 142530063
Bug: 142531156
Test: make RunSettingsRoboTests2
Change-Id: I51c951ef8f819a1940ddfe33b009b40ed5ec0530
am skip reason: Change-Id Idc10955639bce7b8e579c50af78056389d44d492 with SHA-1 740d67320a is in history
Change-Id: Ie627993aa388b1bd2f1bc7ff3ad0907c20c6a944
If the passpoint is connected and expired, we still show
Disconnect button.
Bug: 148317997
Test: manual
Observe a connected passpoint and see Disconnect button.
Observe a disconnect passpoint and see no Connect button.
Should add test case in WifiDetailPreferenceController2Test
at later CL.
Change-Id: I07f22804eccce80c44ac709412cb594faaf6ccb0
WifiMeteredPreferenceController2 always has a non null mWifiEntry, remove redundant test case
testController_resilientToNullConfig
Bug: 146479774
Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.wifi.details2
Change-Id: I8194476ea0f337e63b29ff73e9071f6df65d13af
Since we had dialog to get the approval from user about adding or updating networks, don't need to have permission to limit suggester APP.
Bug: 148491787
Test: NA, just remove the permission check in Androidmanifest.
Change-Id: If9023e5c2d69b6393f04e16285ac60017b9bf519
Renamed to hasEverConnected() to conform to API
guidelines.
Bug: 146046526
Test: make RunSettingsRoboTests -j40
Change-Id: Ie88945326977ea11a05721e40a81c338fee61cb6
This partially reverts commit 0ccc849de7
which added a config value. Instead, we will use feature flag to switch
between the fragments.
This CL also adds a postfix to keys in all_tether_prefs to
de-duplicate with keys in tether_prefs and wifi_tether_settings.
Bug: 148182953
Change-Id: I92832c786473990065a965409072e4117a7e75a8
Fix: 148618984
Test: make RunSettingsRoboTests
Test: make RunSettingsRoboTests ROBOTEST_FILTER=CodeInspectionTest
These methods can be replaced with methods on
IpConfiguration itself. There is no need to expose
these as a @SystemApi, and they are being removed.
Bug: 146046526
Test: make RunSettingsRoboTests -j40
Change-Id: I592f277f5e23bf58e76b8c48a0f0370d53cc6b81
Add a check for subscription WifiEntries so they can also set their
metered overrides.
Test: manual
Bug: 70983952
Change-Id: Icd45f416e47251f914aa803d5190566746fb9779
* Previously the user could still enable location for the work profile
even after enabling DISALLOW_CONFIG_LOCATION. This was because the
LocationForWorkPreferenceController checked whether the base restriction
was set and whether the restriction was enforced by the admin in the
same condition.
* This was fixed by giving the admin precedence and moving the check for
the base restriction to only be checked if the admin has not enforced
the DISALLOW_CONFIG_LOCATION or DISALLOW_SHARING_LOCATION restriction.
Bug: 147758996
Test: Manual testing with Settings and TestDPC
atest com.android.settings.location.LocationForWorkPreferenceControllerTest
Change-Id: Ide341f2dab4f59f26ffa0c929ba412d61b6ebf1a
Add conent description for talkback to announce, if the progress bar is 50%, then before modification is "Progress bar", and after modification is "50% Progress bar".
Bug: 146811265
Test: Add following unit test case to test if content description is correct or not:
createPref_progressBarShouldSetPercentageContentDescription().
Change-Id: I71483df8e12f08c4c8c96ab3964666bf97872a83