Revert submission 30767017-aapm-dialog-api-feedback
Reason for revert: Droidmonitor created revert due to b/384828570. Will be verifying through ABTD before submission.
Reverted changes: /q/submissionid:30767017-aapm-dialog-api-feedback
Change-Id: Ibf26aca2453f2007370974290f5c16d6b091341e
This change also updates ActionDisabledByAdminDialog because the
AdvancedProtectionManager#createSupportIntent method is now static.
Bug: 378968840
Bug: 352420507
Test: ActionDisabledByAdminDialogTest
Test: WepNetworksPreferenceControllerTest
Test: manual
Flag: android.security.aapm_api
Change-Id: I8443742aadead45091fee757cbdf715d28eee495
This logic is triggered by two scenarios:
(A) During first bootup after OTA update to Android 16, if the
user had HCT enabled.
- Trigger: ACTION_PRE_BOOT_COMPLETED.
- Migration: HCT is disabled and notification is shown.
(B) Restore backup from Android 15 (or earlier), if the backup
had HCT enabled and new device does not.
- Trigger: SettingsProvider's restore process.
- Migration: HCT is not restored and notification is shown.
We store whether the user has seen this notification in a new secure
setting ACCESSIBILITY_HCT_SHOW_PROMPT. This setting is also backed up.
Bug: 369906140
Flag: com.android.graphics.hwui.flags.high_contrast_text_small_text_rect
Test: atest SettingsRoboTests:com.android.settings.accessibility.HighContrastTextMigrationReceiverTest
Test: flash an incremental update on a build with HCT enabled;
observe HCT is disabled and a notification is sent.
Test: flash an incremental update on a build with HCT disabled;
observe no change to HCT and no notification.
Change-Id: I4d294ffc0b2eabc59ee7988a579d678975a16380
This reverts commit 9edbc798bf.
Reason for revert: Likely culprit for b/382590599 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.
Change-Id: Ib41c13e8ba2e0eaa1ec31486ccf1f61f55793e95
This is part of feature for keyboard setting update, which allows gBoard to deep link to layout picker page.
document: go/deeplink_pk_layout_picker
Change-Id: I4277e175be7eed338f855e8144b5531c614e2c04
Bug: 318594345
Flag: com.android.settings.keyboard.keyboard_and_touchpad_a11y_new_page_enabled
Test: verified on Device
1. Link ACTION_TEMPERATURE_UNIT_SETTINGS to TemperatureUnitFragment
2. Link ACTION_FIRST_DAY_OF_WEEK_SETTINGS to FirstDayOfWeekItemFragment
Bug: 381038747
Flag: android.provider.system_regional_preferences_api_enabled
Test: use test app to try intent ACTION
Change-Id: I7f8942a506a8252ebd10ee70237b51cd1923718a
This reverts commit 2a41717baf.
Reason for revert: Likely culprit for b/379618293 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.
Change-Id: I8988203a5bfa7a8e000e7833bca812d04ba30d12
This is required by NfcAdapter.ACTION_CHANGE_TAG_INTENT_PREFERENCE
to expose shortcuts for tag apps.
Flag: android.nfc.nfc_check_tag_intent_preference
Test: adb shell am start -a android.nfc.action.CHANGE_TAG_INTENT_PREFERENCE
Bug: 335916336
Change-Id: Idee7ded0f8b07ea6ff38dd646c60798847abc31a
Revert submission 29815608-catalyst
Reason for revert: Likely culprit for b/373339105 - 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:29815608-catalyst
Change-Id: If42ddb09c07da5672c3d55c2517b75647ea77ae5
A notification was shown when upgrading from pre-P to P because default DND settings had changed. The default was later changed back so it was already obsolete at that point. Moreover, it should be impossible to upgrade from pre-P to V in one step.
Bug: 346789065
Test: N/A
Flag: EXEMPT Unflaggable -- removing resources, manifest entries, etc.
Change-Id: I2862211dc9709b741e60beca5fc029cc054745a3
This change stores timestamp when received com.google.android.setupwizard.SETUP_WIZARD_FINISHED. This timestamp will be used to calculate elapsed_time_millis for SettingsUIChanged event after SUW complete. This enables to analyze how the user uses Settings in a specific time span after setup.
Bug: 344466251
Test: metrics related change only
Flag: EXEMPT metrics change only
Change-Id: I85b15f1eb5e5a4502a27d8588bb01e59b7ad83b5
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
Clean up LanguageAndInputSettingsActivity since we already migrated to
LanguageSettingsActivity and InputSettingsActivity.
Bug: 330517633
Test: manual
Flag: EXEMPT bugfix
Change-Id: I32ef1bf4105355f1d11b728f51dcb3f7dc896c67
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