This activity is started by launching an intent with the action
android.settings.MANAGE_APP_ALL_FILES_ACCESS_PERMISSION and the package
name.
Previously, we required launching package to be granted the permission
MANAGE_EXTERNAL_STORAGE. This is not WAI because we want any app that
requests the permission to be able to launch the activity.
Because the activity allows apps that have requested the permission to
toggle the special app access anyway, this CL drops the requirement
mentioned above and now any app can launch the activity.
Test: manual - a normal app that doesn't request the permission can
launch the intent, and it can't toggle the special app access.
Test: manual - a normal app that requests the permission can launch the
intent, and it can toggle the special app access.
Fixes: 147906545
Change-Id: I605a5b03f9be1b4b11d94e121a18bbd316404590
Bug: 147206736
Test: make RunSettingsRoboTests ROBOTEST_FILTER=DataUsageSummaryPreferenceControllerTest
make RunSettingsRoboTests ROBOTEST_FILTER=DataUsageUtilsTest
make RunSettingsRoboTests ROBOTEST_FILTER=SettingsDumpServiceTest
Change-Id: Ie9c01afa2b128f8d296b160d3628ea1fb7176e59
Signal icon on the add wifi network feature is constant, didn't change with real signal level.
Bug: 146842198
Test: Add following unit test cases:
1. withOneSuggestion_uiElementShouldHaveInitLevel() to test init level.
2. withOneSuggestion_whenScanResultChanged_uiListShouldHaveNewLevel() to test level should updated according to scan result.
Change-Id: I212a825da9455a09a5c7777f87c0a74ec030c890
"Use Color correction" should be replaced by "Correct colors"
Bug: 145968068
Bug: 147988288
Test: make RunSettingsRoboTests2
Change-Id: I90ef36a99b34a82eb9f29f8b79d9aaa8d56441d1
am skip reason: Change-Id I8c50678bdfd6de89fb8d56122bfa38bdd5ac5c9d with SHA-1 0ab3283ccf is in history
Change-Id: Ib53b0ef7146211f38013618fa7e6dd71c31770f5
- add atLeastOnce() because method would be called when init()
Bug: 147856265
Test: make -j42 RunSettingsRoboTests
Change-Id: I0bfe524caa674f7fe5895e3e30c8621b3c610bfc
am skip reason: Change-Id I1e98b95e81dea355c66e8c0f30664db21632d05c with SHA-1 150e2921d9 is in history
Change-Id: Ib45a94a7d218f7c9e2e3d08920641de130e0be1d
Settings uses @hide WifiNetworkSuggestion.
wifiConfiguration/passpointConfiguration.
Migrate to @SystemApi getters.
Removed call to PasspointConfiguration.validate()
as it is an @hide API, instead
WifiManager.addOrUpdatePasspointConfiguration()
will perform the required validation.
Bug: 138801922
Test: make RunSettingsRoboTests -j40
Change-Id: I748010b66634b1d24e89a175917492f638267cb1
am skip reason: Change-Id Icd2f7fc7021e84fad9980d58688dc640ca4245f8 with SHA-1 68da89b6d8 is in history
Change-Id: Ib78d755490c32e3bc4e776cbba059b26136becef
am skip reason: Change-Id Icd2f7fc7021e84fad9980d58688dc640ca4245f8 with SHA-1 68da89b6d8 is in history
Change-Id: Iaf3f0148702058eb1451e6295f145fd2a6246ff2
am skip reason: Change-Id Icd2f7fc7021e84fad9980d58688dc640ca4245f8 with SHA-1 68da89b6d8 is in history
Change-Id: I07e1612bd2f92960e4b8871f9cb04ad62d51c988
am skip reason: Change-Id Icd2f7fc7021e84fad9980d58688dc640ca4245f8 with SHA-1 13aaa6ab4e is in history
Change-Id: Id6961509a549a849f473c6169d92f4497db8e117
am skip reason: Change-Id Icd2f7fc7021e84fad9980d58688dc640ca4245f8 with SHA-1 13aaa6ab4e is in history
Change-Id: I74bedb53e41a950202d6f27980717e35930765e2
CDCA no longer needs to cancel authentication in onPause. Since it
internally invokes BiometricPrompt, and BiometricPrompt's components e.g.
BiometricService and AuthController are aware of the "top-ness" of its
client, this code is redundant.
Fixes: 145991060
Test: Follow comment#3 in the bug above, repeat 10+ times
Test: Set up work profile, set up work profile password. Open work profile
app, but before entering password, swipe up to go to home screen.
Authentication is cancelled as expected.
Change-Id: I0b4d7d89cb9801ddbb6e3bd07f71191035cc75ec