These permissions are required for any Settings tests to run, otherwise
the tests will fails.
Instead of adding these permissions to each of the tests, add it to the
Settings-core.
Bug: 329046490
Test: unit tests
Change-Id: I54dc1ebfdd062acc224021429dce318d7c12809b
This new screen shows apps that hold the new RUN_BACKUP_JOBS permission.
Also add a reference to this screen in an app's info page under the
"Advanced" section for apps that have requested this permission.
Bug: 320563660
Test: BackupTasksAppsTest
Test: BackupTasksAppsPreferenceControllerTest
Test: visually via the Settings page
Change-Id: I7136fc74f3b0d0124889e7cf9e1234f917346432
Use the existing battery usage screen as entry point
for ACTION_BACKGROUND_RESTRICTIONS_SETTINGS.
Bug: 320150834
Test: am start -a android.settings.BACKGROUND_RESTRICTIONS_SETTINGS
atest ActivityManagerTest#testBackgroundRestrictionsIntent
Change-Id: I479ab666334eeb3232a9200b70a6d3ce2ddd2ad9
- Add the setup flow for switching sim and rename and setup primary sim
items
- Add the bottom sheet and progress dialog.
Bug: 318310357
Bug: 298898436
Bug: 298891941
Test: build pass. Will upload another cl for testing
Change-Id: Ie9680f0a67afe453c1449c0f2b59e98fd627e215
Declare the MANAGE_ENHANCED_CONFIRMATION_STATES permission in
packages/apps/Settings/AndroidManifest.xml.
Settings needs this permission to interact with
EnhancedConfirmationManager.
(Note that this is strictly a hint. In practice, Settings uses the
system uid has therefore access to the permission regardless of
whether we declare it here.)
Test: presubmit
Bug: 320512579
Change-Id: Id9eda14b6e3b0d4f0f45b6bb039d9ac84260a740
This fixes a bug where the picker
is not using the correct user id
and also ensures that the settings
activity uses the correct user when
launched.
Test: flash & test w/ work profile
Bug 322071206
Change-Id: I846593ff9ae320d9bb774e3e79ed9ef41f101ff5
Contains implementation of settings page for Delete private space
controller inside private space settings page.
- On selecting to delete private space displays list of account signed in
to private profile and deletes the private space after authentication.
- Shows a toast message after private space is deleted
- Adds dependency for setupdesgin loading layout to show a loading
screen while deletion of private space is in progress.
Recording Link : b/318383729
go/ss/4Aq3rmbSGHMHesK.png
Bug: 318383729
Test: atest DeletePrivateSpaceControllerTest
Change-Id: Ia1730915e2469b47823c507f9ef6cd8f63c99baf
This appeared to have been accidentally removed in ag/25458819.
Without it the "Cross profile intent filters are set" cts test fails.
Bug: 310115681
Test: cts verifier > BYOD Managed Provisioning > Cross profile intent
filters are set
Change-Id: I2dbb081c0099d42c6e2160f31d7a5bf30c680558
This will allow it to be reached via intent.
Test: Send an intent with the ACCESSIBILITY_SHORTCUT_SETTINGS action (make sure the "targets" fragment argument is populated with a string array of shortcut targets)
Flag: None (Change adds definitions but no new behavior)
Bug: 297583708
Change-Id: Ie0dd4918a4f38c04b781308f170b568af30bb238
Add satellite messaging activity into Settings for carrier satellite
service
Bug: 319035517
Test: manual
1. Set CarrierConfig Key KEY_SATELLITE_ATTACH_SUPPORTED_BOOL as false then verify satellite messaging menu is not shwon from
Settings > Network & internet > SIMs > test sim
2. Set CarrierConfig key KEY_SATELLITE_ATTACH_SUPPORTED_BOOL as true
3. Insert test SIM
3. Get into to Settings > Network & internet > SIMs > test sim > verify Satellite messaging is shown
4. Verify whether descriptions are as directed. icons are as directed.
5. Add satellite messaging does not work when click
6. Invoke web browser with test website when click 'More about satellite messaging'
7. Replace SIM of which MCC/MNC is not test sim
8. verify no action happen when click 'More about satellite messaging'
Change-Id: Iee8fad58b41cbca34f373d2a9df1d074c447cfb1
Redirect the IGNORE_BATTERY_OPTIMIZATION_SETTINGS intent to launch the
new design page in the "Settings > Apps > App battery usage", since the original battery optimization page is deprecated
Fix: 320838302
Test: manual to use: adb shell am start -a android.settings.IGNORE_BATTERY_OPTIMIZATION_SETTING
Change-Id: Iba728b19bb7626c31860c61081efbe0c71fe8739
Clean up the legacy anomaly detection mechanism in the Settings, which is implemented in the 2017-2018. The will be replaced by the new anomaly detection mechanism.
Bug: n/a
Test: make -j64 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.fuelgauge"
Change-Id: Id5b5f4987c205c45698b6aa25aeb9604479e79c6
Update the setOverrideDeadline based on the suggestion in the b/319721625, and remove the legacy anomaly detection mechanism from the main entry BroadcastReceiver
Fix: 319721625
Test: make -j64 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.fuelgauge.batterytip"
Change-Id: I1276bfc95d9cf36a60e28612ebb8a295fd58083b
When 16K OTA is applied, this info would need to be published
to a SystemUpdateManager so that we don't clobber the updates with
other pending updates. Similarly, Fetch the pending update info from
SystemUpdateManager before applying update.
Test: m Settings && adb install -r $ANDROID_PRODUCT_OUT/system_ext/priv-app/Settings/Settings.apk
Bug: 302391134
Bug: 295035851
Change-Id: I4998122942d7f2defd69bc34474230c8aea3c25a
[SAT-070] : PLMNs associated with SAT MODE, as specified in SAT-008, should not be displayed or selectable in Manual Selection/Network Operator Menu
Bug: 316264277
Test: Manual test with pixel in live network
Test: atest NetworkSelectSettingsTest
Change-Id: Ic100772c97fa1ab18d7e63b654e397d8a80eda8a
This CL introduces two more steps to restart Phone process and RILD
during the Reset mobile network flow by the help of the
TelephonyContentProvider which has been used by Pixel Adaptive
Connectivity Services ("SCONE") for a while.
The additional reset options can resolve issues like resources leak
and internal state stuck, effectively recover telephony stack into
fresh state.
The reset options are performed in the background and have no impact
on UX of the reset flow.
Bug: 271921464
Test: ResetNetworkOperationBuilderTest
Test: Feature test with both flag on and off
Change-Id: If09d20d79e908dd43f3f654fb7cca7f713b7f03a
The feature introduces an API (an activity action) that
allow applications to launch the Reset mobile network settings
page in Settings Reset options menu.
Since the page is not implemented as an activity and can't directly
work as a intent filter of such activity action, a trampoline activity
is introduced to service as the default one.
Bug: 271921464
Test: atest TelephonyManagerTest
Test: Feature functionality test with flag on and off
Change-Id: Idfba4bedaac8841205424ecdc6300042c2e94733
This includes below changes:
- Add Biometrics preferernce in Private Space One Lock settings page
- Face and Fingerprint enrolment for Private profile
- Feature is behind flag android.multiuser.enable_biometrics_to_unlock_private_space
Screenshots:
go/ss/9cWZRAuvGGW7gMm.png
go/ss/B3NoFbL3KbpSzeN.png
go/ss/7xH3DLi9d6Lu2mR.png
go/ss/8WBEgKychWpduXg.png
go/ss/8pmPGshd9aiPvVC.png
go/ss/AFPBPbiaBBvTj3p.png
go/ss/3fE4XKLLUdP8LmF.png
Bug: 308862923
Test: atest CombinedBiometricStatusUtilsTest, atest FaceFingerprintUnlockControllerTest
Change-Id: I1853107a4df4fc97db53c97524c6d44a4f554e37
This patch adds a new toggle under Developer settings. It defaults
to off, meaning game default frame rate is not disabled. Users
can choose to togge it on to disable game default frame rate.
When a user toggles this switch, it calls to GameManagerService
to update the frame rate of games that are currently in the
foreground and coming games.
screenshots:
https://screenshot.googleplex.com/8jTWyNBhJm7zC4xhttps://screenshot.googleplex.com/5junmXtuHnRxyL2
Bug: 286084594
Bug: 306266471
Test: m; flash
Test: atest
SettingsRoboTests:GameDefaultFrameRatePReferenceControllerTest
Change-Id: Ide843f61e57e244d6e1fc30f93b2358b2bcb655b
NetworkRequestDialogActivity's internal state gets reset if
Configuration change happens, for example rotation or resize.
This change prevents such an unwanted restart of Activity.
Bug: 314893682
Test: resizing the dialog won't trigger restart.
Change-Id: Ia628db81b76d8b15f2ac11f53652e444c44f564d
(cherry picked from commit c53818a4569ce011820732d842eaa57ab1bcc52b)