Commit Graph

142689 Commits

Author SHA1 Message Date
Alexander Roederer
3d0dcda008 Remove the ZenModeSliceBuilder
We don't want the old Do Not Disturb page to show up in the search index
results, so we can remove the custom Slice Builder.

Note that this is part of the general Do Not Disturb/Modes Settings Changes: see b/353700470

Bug: 341726633
Test: atest SettingsSliceProviderTest, flash+test
Flag: android.app.modes_ui
Change-Id: Ibba372d5fa6caf3ee28d9fd2a900047060b212da
2024-08-08 00:54:14 +00:00
Riley Jones
1e80db4ee3 Adjust edit shortcuts page to display button & gesture
Page is altered to display the FAB shortcut
and gesture shortcut simultaneously when the user is in
gesture navigation mode.
The gesture option does not display the "more options" link.
Additionally, the gesture option controller uses the GESTURE type,
which means it will read from & write to the gesture setting.
All this behavior is flag protected.

Bug: 300318311
Test: atest FloatingButtonShortcutOptionControllerTest GestureShortcutOptionControllerTest
Flag: android.provider.a11y_standalone_gesture_enabled
Change-Id: I915f05b2102ce499bb906df2c13e0870ae0a36d5
2024-08-08 00:14:09 +00:00
Treehugger Robot
59f11d9377 Merge "Add Priority Modes link preference to sound" into main 2024-08-07 22:42:34 +00:00
Alexander Roederer
9c4521d094 Add Priority Modes link preference to sound
Test: manual. Flash and check Sound settings page
Flag: android.app.modes_ui
Bug: 341726633
Change-Id: Ic693057e537b7c663a111ce5165bb46d32d93642
2024-08-07 21:29:09 +00:00
Yuri Lin
74be225a4e Merge "Fixes to interstitial activity transitions" into main 2024-08-07 21:05:38 +00:00
Matías Hernández
5f60b880ea Merge "Modes List: Show the dynamic description, if available" into main 2024-08-07 20:36:29 +00:00
Yuri Lin
707014b3f9 Fixes to interstitial activity transitions
Return after finish() when mode data is invalid; start intent before finish() so the transition is animated like going forward.

Bug: 332730534
Test: manual
Flag: android.app.modes_ui
Change-Id: I26522fdf468da7f2fdb8f75ac405d5f808f8828f
2024-08-07 16:04:28 -04:00
Matías Hernández
494dc4c282 Merge "Filter out disabled modes from the "can activate automatically" count" into main 2024-08-07 18:51:27 +00:00
Treehugger Robot
1a8c84dfb3 Merge "Fixed remote validation shows SetupRedaction" into main 2024-08-07 17:54:27 +00:00
Joshua McCloskey
7f26cdbb4a Added haptic feedback in fingerprint settings auth
Test: Verified manually that the haptic vibration occurs
Fixes: b/296887919
Flag: EXEMPT bugfix
Change-Id: I34c71701b662ec7f6fb655eeb395bbe1d5d5754b
2024-08-07 17:52:45 +00:00
Matías Hernández
d70fbf8e91 Filter out disabled modes from the "can activate automatically" count
Bug: 355615361
Test: atest ZenModeSummaryHelperTest
Flag: android.app.modes_ui
Change-Id: Id54f08bfc253e69db0efb4e330813e89c28058d9
2024-08-07 19:08:50 +02:00
Joshua McCloskey
1c40c534ba Fixed remote validation shows SetupRedaction
Test: atest ConfirmLockPasswordTest ConfirmLockPatternTest
Fixes:353187344
Flag: EXEMPT bugfix
Change-Id: I03dff2bf27f7134f5372b85901f2866727f9d534
2024-08-07 16:28:45 +00:00
Matías Hernández
877d07be46 Make the a11y descriptions of icon options more literal
E.g. "briefcase" instead of "work"

Bug: 333901673
Test: manual, with Talkback
Flag: android.app.modes_ui
Change-Id: I4364820a82a7ba4b1345c2e0fea571ee7b6c4e6f
2024-08-07 17:58:21 +02:00
Matías Hernández
a53b35262d Modes List: Show the dynamic description, if available
For manual DND, this means "On until XX:XX".

Bug: 357889514
Test: manual
Flag: android.app.modes_ui
Change-Id: Ia7531e7a6413544de88e4539ed602c8c6b4f93a8
2024-08-07 15:36:18 +02:00
Matías Hernández
31d5fbff3c Merge "Update Priority Modes segment summary" into main 2024-08-07 10:07:58 +00:00
Angela Wang
3695ff4734 Merge "Fix text is not readable with black & white wallpaper issue" into main 2024-08-07 10:03:20 +00:00
Yiyi Shen
da812758f3 [Audiosharing] Update dialog btn when start sharing with no extra connected device
There are two btns now: Pair new device and Show QR code
Pair new device -> go to Pair new device page
Show QR code -> go to QR code page

Test: atest
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Bug: 305620450

Change-Id: Id5ddb66f1bbc3b02228a0d639bf30cdc40bef265
2024-08-07 17:58:37 +08:00
Angela Wang
e92627e26d Merge "Rename CachedBluetoothDevice.getConnectableProfiles()" into main 2024-08-07 09:52:32 +00:00
Treehugger Robot
14c4f4bb67 [automerger skipped] Merge "Add missing required permissions for Settings" into main am: eb79f88253 -s ours am: 12c60990a6 -s ours
am skip reason: Merged-In I88038a5858e9a969ca8e3df6bc4e4e33d753f1e8 with SHA-1 3fe5e5f843 is already in history

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3141176

Change-Id: Ifc392f227a23f1a1324dadef3253f4f7d79ec190
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-07 09:00:49 +00:00
yomna
6d11274dec [automerger skipped] Add missing required permissions for Settings am: a23b057db2 -s ours am: 12eb946b55 -s ours
am skip reason: Merged-In I88038a5858e9a969ca8e3df6bc4e4e33d753f1e8 with SHA-1 3fe5e5f843 is already in history

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3141176

Change-Id: I0028c2af9fabf8707ce445a446fd73bbcafe1904
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-07 09:00:45 +00:00
Yiyi Shen
81539522d4 Merge "[Audiosharing] Handle device volume when volume bar is changed without touch" into main 2024-08-07 08:56:45 +00:00
Treehugger Robot
12c60990a6 [automerger skipped] Merge "Add missing required permissions for Settings" into main am: eb79f88253 -s ours
am skip reason: Merged-In I88038a5858e9a969ca8e3df6bc4e4e33d753f1e8 with SHA-1 3fe5e5f843 is already in history

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3141176

Change-Id: I2467eef95775cda018558a951233431e45487f59
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-07 08:45:34 +00:00
yomna
12eb946b55 [automerger skipped] Add missing required permissions for Settings am: a23b057db2 -s ours
am skip reason: Merged-In I88038a5858e9a969ca8e3df6bc4e4e33d753f1e8 with SHA-1 3fe5e5f843 is already in history

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3141176

Change-Id: Ie56ecc6d5230876d92913b648540d52d0167e4bf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-07 08:45:29 +00:00
Treehugger Robot
eb79f88253 Merge "Add missing required permissions for Settings" into main 2024-08-07 08:25:55 +00:00
yomna
a23b057db2 Add missing required permissions for Settings
SettingsSpaUnitTests BackgroundInstalledAppsPageProviderTest#title_displayed is failing due to
missing permissions GET_BACKGROUND_INSTALLED_PACKAGES, which is required for the test.

Fix: 357970545
Test: m & atest SubscriptionInfoListViewModelTest SettingsSpaUnitTests
Change-Id: I88038a5858e9a969ca8e3df6bc4e4e33d753f1e8
Merged-In: I88038a5858e9a969ca8e3df6bc4e4e33d753f1e8
2024-08-07 07:53:01 +00:00
Yiyi Shen
adbdc16113 [Audiosharing] Handle device volume when volume bar is changed without touch
Fix volume control when user use talk back swipe up/down or use Switch
Access to change the volume bar progress

Fix: 357028436
Fix: 357028435
Test: atest
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: Iab7d48ab8713a3a809cc8f7b28381a2b86b9be5f
2024-08-07 15:17:18 +08:00
Angela Wang
faa8b24cc4 Fix text is not readable with black & white wallpaper issue
Flag: EXEMPT bugfix
Test: manually check the UI and attach the result in bug
Bug: 356065922
Change-Id: I955cd51823d2cac6deaca8280bc8572ed8518a8a
2024-08-07 07:13:18 +00:00
Angela Wang
73fd3c1e3f Merge "Update UI for Flash notifications" into main 2024-08-07 07:11:40 +00:00
Kai Zhou
184bca9c16 Add unit test in WifiDppConfiguratorActivity
* Bug: b/349252886
* Settings Intake: b/329012096

Test: atest tests/unit/src/com/android/settings/wifi/dpp/WifiDppConfiguratorActivityTest.java
Flag: com.android.settings.flags.enable_wifi_sharing_runtime_fragment

Change-Id: I951ed57acd40505c1ccecdb8420d197f7edd42f7
2024-08-07 07:10:20 +00:00
Treehugger Robot
06118ac027 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into aosp-main-future am: 550a4253ed -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/28664293

Change-Id: I4761abb619d7b26f42a349de77829717bc8ee7f7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-07 06:57:43 +00:00
Bill Yi
b44dc39e1a [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 97b9986d5c -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/28664293

Change-Id: I217c0a4cf2cbacd09991ea59f879363e87124225
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-07 06:57:25 +00:00
Treehugger Robot
2e8218f0f0 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into aosp-main-future am: e5d3e4b6f1 -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/28664292

Change-Id: Ia9dd1399c9b4c1e10eb894f2173762cf1adceacb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-07 06:57:21 +00:00
Bill Yi
857c339ff0 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 6c0c6b61c0 -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/28664292

Change-Id: I97bb4862082bc49d13a5e516312734838b749e79
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-07 06:57:14 +00:00
Bill Yi
8cbad5329b [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 734f9c13ec -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/28664153

Change-Id: I9e52117bb5c39580ab384c6ab08ca561ba382b0b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-07 06:57:05 +00:00
Treehugger Robot
550a4253ed Merge "Import translations. DO NOT MERGE ANYWHERE" into aosp-main-future 2024-08-07 06:31:13 +00:00
Treehugger Robot
e5d3e4b6f1 Merge "Import translations. DO NOT MERGE ANYWHERE" into aosp-main-future 2024-08-07 06:31:13 +00:00
Allen Su
ee4f6af308 Merge "Explain region selection" into main 2024-08-07 06:29:16 +00:00
Chelsea Hao
5473fa04f5 Merge "[Audiosharing] When landscape mode, collapse app bar to make more space. Also refined fragments and make them scrollable." into main 2024-08-07 05:07:00 +00:00
Treehugger Robot
87778221d3 Merge "Fix the charging string while charging wirelessly" into main 2024-08-07 03:55:07 +00:00
Chaohui Wang
aa0d63ce40 Check ims for isVoImsOptInEnabled
If the device does not have PackageManager.FEATURE_TELEPHONY_IMS,
ProvisioningManager.getProvisioningIntValue() could not be called.

Fix: 346708541
Flag: EXEMPT bug fix
Test: manual - SIM settings
Change-Id: I52b5a62d20ee7df14ecf93c9b0dbbed6f7dc0f0d
2024-08-07 11:45:28 +08:00
Allen Su
bc06ecf62c Explain region selection
Flag: EXEMPT resource only update
Bug: 353382794
Test: manual
Change-Id: Ief06a9aaee833f9dc0680c622b70b69130bd5653
2024-08-07 03:21:59 +00:00
Chaohui Wang
e2f0a6b2d3 Fix the sorting order for restricted
Set the category for the restricted item to fix.

Fix: 357275199
Flag: EXEMPT bug fix
Test: manual - on DataUsageList
Test: atest AppDataUsageRepositoryTest
Change-Id: I63d3fd2ac85748d67ff6194cd60adeadae2aa984
2024-08-07 02:23:23 +00:00
Chun-Ku Lin
661c02fbb8 Revert "Revert "Don't truncate the title in Color Correction opt..."
Revert submission 28661116-revert-28616239-356726764-dont-truncate-color-correction-options-LCBEOTEYHE

Reason for revert: Attempt to re-land b/356726764 with a fix to add `sdk_verion: system_current` to the SelectorWithWidgetPreference aconfig

Reverted changes: /q/submissionid:28661116-revert-28616239-356726764-dont-truncate-color-correction-options-LCBEOTEYHE

Change-Id: Ia9c5d9f4362f06bb5a317d12a4fb32e53f5993dd
2024-08-07 00:40:18 +00:00
Matías Hernández
377939483c Merge "Skip updating mode list entries for unchanged modes" into main 2024-08-07 00:18:34 +00:00
Bill Yi
734f9c13ec Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iadb5679a0adf0967e9bca8bb205376f06fc46d3b
2024-08-06 17:11:21 -07:00
Bill Yi
97b9986d5c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie79f4a00fd2faa6f1f8131691c10e3d46456424b
2024-08-06 17:09:33 -07:00
Bill Yi
6c0c6b61c0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ieaf59078e8adaae4d3a03fe0ae3f47ec4e2e913a
2024-08-06 17:08:00 -07:00
Priyanka Advani (xWF)
605c160a49 Merge "Revert "Don't truncate the title in Color Correction options"" into main 2024-08-06 21:19:51 +00:00
Priyanka Advani (xWF)
74e3432b8c Revert "Don't truncate the title in Color Correction options"
Revert submission 28616239-356726764-dont-truncate-color-correction-options

Reason for revert: Droidmonitor created revert due to b/357907390. Will be verifying through ABTD before submission.

Reverted changes: /q/submissionid:28616239-356726764-dont-truncate-color-correction-options

Change-Id: Icb911cc954a046084dd198c61c2e6c4080145801
2024-08-06 19:57:02 +00:00
Yuri Lin
eb6dd8432b Merge changes from topic "yl-interstitial" into main
* changes:
  Resize & round corners on a placeholder interstitial image
  Add interstitial for modes that are disabled but not by user
2024-08-06 19:38:45 +00:00