This CL shuffles quite a bit of code around, but the effective differences are:
* Unified shortcut updating code (language switch & backup restoration).
* Shortcuts are also updated on boot (flagged by MODES_UI which will need this).
* Removed usage of (long obsolete) AsyncTask.
A further CL will add some special-casing for the DND->Modes shortcut transition.
Bug: 365545604
Test: atest com.android.settings.shortcut + manual (switch language, reboot)
Flag: android.app.modes_ui
Change-Id: I30450d13cb05008d2a71ed89d4781eb81e5532b9
So that newly-created Modes Settings shortcuts have it (a different CL will update previous shortcuts).
Bug: 365545604
Change-Id: I74760bde4c40646b0571e0b7dad6383729f470f7
Test: manual
Flag: android.app.modes_ui
It was "Do Not Disturb" when it should be "Modes". This means that newly-created widget shortcuts will have the correct text; a follow-up CL will fix existing ones (which also point to the wrong activity).
Bug: 365545604
Test: manual
Flag: android.app.modes_ui
Change-Id: I34e5b09adafc0cb2a48985f4a3f9f9a7cc92491d
Provide an interface for ODM/OEM to override Fingerprint enrollment
activities.
Bug: 364794493
Flag: EXEMPT can't apply flag for manifest change
Test: atest SettingsRoboTests:FingerprintEnrollTest
Change-Id: Ic519970a3837614b3d4c8cb2f6d75967ae838208
Revert submission 29139483-494-trampoline
Reason for revert: DroidMonitor created revert due to b/365453068.
Reverted changes: /q/submissionid:29139483-494-trampoline
Change-Id: Ie2ab22694e7128e10eb11bf29340023e2bfd1343
Provide an interface for ODM/OEM to override Fingerprint enrollment
activities.
Bug: 364794493
Flag: EXEMPT can't apply flag for manifest change
Test: atest SettingsRoboTests:FingerprintEnrollTest
Change-Id: I9e5d904fc9382a9b5eff84a7f462e1a9c16c4ba0
Previous change is reverted due to test failure in b/362901443.
BUG: 360031750
Test: atest BluetoothKeyMissingDialogTest
Flag: com.android.settings.flags.enable_bluetooth_key_missing_dialog
Change-Id: I05b940e8aac26c14f93baa19c224ad98c291b891
Revert submission 28985385-bt_key_missing_dialog
Reason for revert: Likely culprit for b/362901443 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.
Reverted changes: /q/submissionid:28985385-bt_key_missing_dialog
Change-Id: I2a3ab8f0dbd2c81eda49d11abc6d586f59f149e9
Also moves the modes entrypoints out of the sub-pages it was previously in (notifications and sound settings).
Bug: 353700470
Test: manual by opening the homepage
Flag: android.app.modes_ui
Change-Id: I53124bfed25c43fc2dabaf9c43ce0513bbfc7377
This covers both the case of navigating to the mode page through the mode aggregator menu as well as if an app sends an intent to go to the mode.
The interstitial visuals are not done yet; in particular, the image is just a gray box for now.
Manual tests done:
- visually verifying the interstitial page in both portrait and landscape
- accessing the mode page from modes list, confirming interstitial pops up
- accessing enabled and disabled-by-user mode page from modes list (no interstitial)
- getting to the mode page from intent through an app
- accessing enabled and disabled-by-user mode pages from app intent (no interstitial)
- adjusted display and font size (it looks bad with max display & font size, maybe not much to be done)
Bug: 332730534
Test: manual, ZenModeFragmentTest, SetupInterstitialActivityTest
Flag: android.app.modes_ui
Change-Id: I21f13b0842d5b118a341f7d85e8fcac947ca3a06
This reverts commit 50d9e342e8.
Reason for revert: Droidmonitor created revert due to b/352668970. Will be verifying through ABTD before submission.
Change-Id: I5e0c48830425c51963b7669b75979cb8b67e770c
- Added SpaSearchRepository to index the SPA search data.
- Added SpaSearchLandingActivity, which can only be called by SI.
Fix: 346776183
Flag: EXEMPT bug fix
Test: manual - search "Mobile data"
Test: unit test
Change-Id: Icaff41fe085edd371fd75bc8101dd52028f90da5
(Setup)FingerprintEnrollFindSensor apply the same theme with
FingerprintEnrollIntroduction to set clipToPadding/clipChildren to true.
Fix: 338955329
Test: Set largest display/text size, Check
(Setup)FingerprintEnrollFindSensor UI on SFPS/UDFPS devices with
Light/Dark theme
Flag: EXEMPT bug fix
Change-Id: I61d74134cea932bd9f6bdc944ed905a8282deeeb
Bug: 330608738
Test: send high pri HUN => see edu HUN from sysui
tap HUN/action => shows adaptive notif settings page,
notif menu key highlighted in split screen
Test: adb shell am start-activity -a android.settings.MANAGE_ADAPTIVE_NOTIFICATIONS
Flag: com.android.systemui.notification_avalanche_throttle_hun
Change-Id: I8bc36412b6ce6364887b04d737310e6b01478964
to our new modes ui
Fixes: 333909883
Test: manual - created test app that launches each intent, launched each
with flag on and flag off
Test: atest com.android.settings.notification.modes
Flag: android.app.modes_ui
Change-Id: I8259b554fe34b453880890c667165547033ccd06
This CL avoids restarting Settings in the reset mobile flow when phone
process is restarted, by switching the usage of the stable content
provider connection to the unstable client.
The CL also arranges restarting phone process as the last reset
operation in the flow (later than RILD reset) to avoid any reset
operation get impacted by phone process restarting.
Since the permission to protect the TelephonyContentProvider has been
renamed, the CL also renames the requsted permision.
Bug: 347047105
Test: atest ResetNetworkOperationBuilderTest
Test: Reset mobile network feature test
Flag: EXEMPT resource update with minor refactoring
Change-Id: I7bfa79bc9d7451a4a03269704b0009a3730e287f
Test: Verified that the screens are skipped if they are finished in
activity#onCreate
Fixes: 338348564
Change-Id: I5ea7fb865c49108705af877edcd09f9739b1c7a5
This activity will be launched by clicking on a notification sent from the bluetooth server.
Bug: 342407973
Test: manual
Change-Id: Ie05c096e98c1de74d994be46967c8dd90887169a
Accessibility + text/dpi change + rotation should be properly handled.
Debug repos were added to make UI developemnt for UDFPS much easier(not
requiring calls to fingerprint manager).
Change-Id: I89900cea0d9e953124781cdf308fb38858de5d16
- Clear database and reset periodic job
- Take a snapshot of current battery usage stats
Bug: 336423923
Test: atest SettingsRoboTests:com.android.settings.fuelgauge.batteryusage
Change-Id: I4aade9db950b508e2190605371f246904f131da3