Commit Graph

141625 Commits

Author SHA1 Message Date
Yiyi Shen
18c0e172a5 [Audiosharing] Add test for confirm dialog.
Bug: 345686602
Test: atest
Change-Id: Ifb461bf37f1f802de41c2957ac9aef4f7d7578de
2024-06-11 11:48:46 +08:00
Ang Li
5a81e24367 Merge "Re-enables ChooseLockTypeDialogFragmentTest for robolectric" into main 2024-06-11 02:52:26 +00:00
Chaohui Wang
2d7cae2d75 Merge "InternetPreferenceController V2 (2/n)" into main 2024-06-11 02:37:23 +00:00
Hao Dong
752b188957 Merge "Update to use PromptInfo.setLogo()" into main 2024-06-10 23:50:40 +00:00
Matías Hernández
ec5b25eb48 Merge "Add icon picker for zen modes" into main 2024-06-10 22:38:36 +00:00
Pawan Wagh
3aa1405acb Move Enable16KbTest to device-tests
general-tests are not configured for the devices
which should be tested. Moving test to device-test suite.

Test: m Enable16KbTest && atest -c Enable16KbTest
Bug: 345763025
Change-Id: I01abf4ec91c4f7b588de12ac9cb71b805849e4ac
2024-06-10 21:19:27 +00:00
Yuri Lin
00c7a2c16b Merge "Add schedule setting page for time-based modes." into main 2024-06-10 20:50:57 +00:00
Joseph Vincent
76eef6d8a0 Merge "Remove animation from private space settings page" into main 2024-06-10 19:27:39 +00:00
Yomna Nasser
7012fb1638 Merge "Specify correct location for Controllers in cellular_security.xml" into main 2024-06-10 17:41:30 +00:00
Matías Hernández
8d397f038f Add icon picker for zen modes
Bug: 333901673
Test: atest ZenModeIconPickerListPreferenceControllerTest
Flag: android.app.modes_ui
Change-Id: Ib6faaac7c93b25423d18dbdcd0a2310de15fa86f
2024-06-10 19:37:49 +02:00
Yuri Lin
4203f311dd Add schedule setting page for time-based modes.
Creates new layout for setting the start & end time, and days of the week, for a schedule-based mode.

This is close to the mocks specified in https://screenshot.googleplex.com/8zmb7PAjjt73VkN, but with the following differences:
- the end time is left-aligned with the center rather than on the right side of the screen. This is a side effect of using LinearLayout to evenly space start & end times, and could in theory be fixed by using a ConstraintLayout, but that option seems to cause times to overlap instead of wrap when display size is cranked up. Could be fixed later.
- no icons yet on either side of the time display
- no Done button. Instead, has the "exit at alarm" switch that exists today.

Have not yet checked how this interacts with TalkBack, etc.

Flag: android.app.modes_ui
Bug: 332730302
Test: ZenModeSetSchedulePreferenceControllerTest, ZenModeExitAtAlarmPreferenceControllerTest, ZenModeSetTriggerLinkPreferenceControllerTest
Test: manual: interacting with UI in normal size, with font & display at minimum and maximum, and in locales (fr) where the first day of the week is a different day
Change-Id: I0b76f55891d6c12fc27720657c9eea6fe42fbafe
2024-06-10 13:26:06 -04:00
Shai Barack
075abe9107 Merge "Revert "Delete "background process limit" debug option"" into main 2024-06-10 17:09:55 +00:00
Fiona Campbell
65ccea2e52 Even Dimmer for manual screen brightness mode
Bug: 338416256
Fixes: 331324279
Test: atest EvenDimmerPreferenceControllerTest

Change-Id: I039f90df1b77348cde543964905c0745c888413d
2024-06-10 11:16:31 +00:00
josephpv
8298c15f53 Remove animation from private space settings page
Screenshot : go/ss/5HeSbdABvUX3iw8.png

Bug: 337866252
Test: Manual
Change-Id: If54ff5f2e309b9ac4dd83ff3bbf53812031732c6
2024-06-10 05:20:01 +00:00
Ang Li
3e24b134c4 Re-enables ChooseLockTypeDialogFragmentTest for robolectric
Bug: 342667939
Test: atest SettingsRoboTests
    and ABTD (https://android-build.corp.google.com/builds/abtd/run/L66300030004349936)
Change-Id: I50196830b25cc498cc6601daa2e8fcb99452093e
2024-06-07 22:14:58 +00:00
Hao Dong
96537caa6d Update to use PromptInfo.setLogo()
Bug: 341697368
Test: Manually verified on the device
Change-Id: Ie350ef4551367ce65b065f38e924f8ff93d16021
2024-06-07 21:41:12 +00:00
Chun-Ku Lin
bcb877406f Merge "Improve the speed of AccessibilitySettings#containsTargetNameInList to help reduce the a11y settings' cold start latency." into main 2024-06-07 21:17:44 +00:00
Shai Barack
d6f0a89e20 Revert "Delete "background process limit" debug option"
This reverts commit c163eb07ce.

Reason for revert: we did a 180 on MCP deprecation, see b/345628418

Change-Id: I2bd2dd7b8fa5275fa81f75d47919ac70d721cd72
2024-06-07 19:22:24 +00:00
Joshua Mccloskey
f567d19681 Merge "Biometrics Enrollment refactor (7/N)" into main 2024-06-07 18:23:56 +00:00
yomna
85982c798f Specify correct location for Controllers in cellular_security.xml
Bug: b/343754459
Test: m & manual
Flag: exempt bug fix
Change-Id: I42238a0d978b60758ce783c2fe6959536cd60eaa
2024-06-07 17:55:46 +00:00
Treehugger Robot
99ef6d2545 Merge "Revert "Convert clipboard access to use new APIs"" into main 2024-06-07 17:43:16 +00:00
Automerger Merge Worker
b09c5aeae4 Merge changes from topic "am-411537407ad14192a6135ffd294cb2ee" into main
* changes:
  [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: 3f3b28a2a2 -s ours
  [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: f79f3e63dd -s ours
  [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: 83b536da3c -s ours
  [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8e70d26c5a -s ours
  [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: f94083b1eb -s ours
2024-06-07 17:37:33 +00:00
Treehugger Robot
afde7fb5e2 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-mainline-prod am: 49fc24f35d -s ours
am skip reason: contains skip directive

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

Change-Id: I33949d2bb046c5ffb46e7bb47d7f4bedb0715a0c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-07 17:34:16 +00:00
Bill Yi
7f839a0f57 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: aaabd291d2 -s ours
am skip reason: contains skip directive

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

Change-Id: I93d45b2024f59bd914ccfe992230254cbcb5c2af
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-07 17:34:06 +00:00
Bill Yi
6c75205d7d [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 49b772f03e -s ours
am skip reason: contains skip directive

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

Change-Id: I66fe9c91a54b735d8e6b64b1580f540dc2c9075b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-07 17:33:03 +00:00
Treehugger Robot
32e1e686b7 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: 3f3b28a2a2 -s ours
am skip reason: contains skip directive

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

Change-Id: I65988560d14969f9ad3e1c09e8388f011aabd6eb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-07 17:32:56 +00:00
Bill Yi
c56b1e1889 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: f79f3e63dd -s ours
am skip reason: contains skip directive

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

Change-Id: I01e677c709954a58bd0e61765abf7a90833d7969
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-07 17:32:50 +00:00
Treehugger Robot
9556dc0063 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: 83b536da3c -s ours
am skip reason: contains skip directive

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

Change-Id: Ic8e63f5bad1b0aadac17599a45c2fed2bd6f9807
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-07 17:32:45 +00:00
Bill Yi
792b43221d [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8e70d26c5a -s ours
am skip reason: contains skip directive

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

Change-Id: Id88a0c879ccf81f8d82106f0f00ddfdfdebba9ad
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-07 17:32:36 +00:00
Bill Yi
c6c3ac81d1 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: f94083b1eb -s ours
am skip reason: contains skip directive

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

Change-Id: I37187d29cc5ff70158259005f26691b2c54873f0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-07 17:32:32 +00:00
Treehugger Robot
3f3b28a2a2 Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-06-07 17:15:19 +00:00
Treehugger Robot
83b536da3c Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-06-07 17:15:19 +00:00
Treehugger Robot
49fc24f35d Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-mainline-prod 2024-06-07 17:14:27 +00:00
Treehugger Robot
262852a641 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-06-07 17:04:36 +00:00
Treehugger Robot
7d4833dc37 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-06-07 17:04:36 +00:00
Treehugger Robot
7882d51ddf Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-06-07 17:04:36 +00:00
Nate Myren
3dc6a7f6be Revert "Convert clipboard access to use new APIs"
This reverts commit 7667643ef6.

Reason for revert: b/345139412

Change-Id: Iebea39e034faeab53d972c691477e2d710787a14
2024-06-07 16:37:19 +00:00
Treehugger Robot
87334e9c38 Merge "Add Settings for vector-specific PointerIcon fill colors." into main 2024-06-07 16:31:59 +00:00
Joseph Vincent
933971ff15 Merge "Fix to display text properly in PS education screen" into main 2024-06-07 12:57:29 +00:00
josephpv
cbf3dad3f5 Fix to display text properly in PS education screen
This changes the style for text in private space education screen
bullet point to fix the text not displaying properly in unfolded mode of
Pixel fold.

Recording: b/340231182#comment4

Bug: 340231182
Test: Manual
Change-Id: I4da02da6ddf6b4f048cc58331d14cda389f13dec
2024-06-07 11:07:11 +00:00
YK Hung
06ee9cdb27 Merge "Allow wireless charging label to customize content descriptions" into main 2024-06-07 10:55:26 +00:00
Joseph Vincent
b6e9469834 Merge "Revert "Add footer in private space auto lock settings page"" into main 2024-06-07 10:24:38 +00:00
Joseph Vincent
a4ce3bec70 Revert "Add footer in private space auto lock settings page"
This reverts commit 5fd6d6435b.

Reason for revert: As per b/343166689#comment4 this change as this is not needed based on the feedback from leads review.

Change-Id: Iad31aafbce5f3f9fc37fdd8fb4d5582cfae9d8b7
2024-06-07 09:18:54 +00:00
Treehugger Robot
1b791e8b1b Merge "Fix NPE force close if disabling BT feature" into main am: 1bb8e28762 am: 95da1e4de2
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3118024

Change-Id: Ie62ff501460906c7973a0c393f61d284c0599a6b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-07 09:15:35 +00:00
Yiyi Shen
2909bf380e Merge "[Audiosharing] Log action when change primary device" into main 2024-06-07 09:09:24 +00:00
Treehugger Robot
95da1e4de2 Merge "Fix NPE force close if disabling BT feature" into main am: 1bb8e28762
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3118024

Change-Id: Ibb00cb80a1d0c34a5a73f26b21ebe212692fc49c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-07 08:56:58 +00:00
Treehugger Robot
1bb8e28762 Merge "Fix NPE force close if disabling BT feature" into main 2024-06-07 08:35:48 +00:00
Chaohui Wang
52b5aef999 InternetPreferenceController V2 (2/n)
Add ConnectivityRepository, when no validated connection,
show "Airplane mode is on" or "Networks available".

Bug: 339884322
Flag: com.android.settings.flags.internet_preference_controller_v2
Test: manual - on Internet
Test: unit test
Change-Id: I227d896fd52c099fb6d58a7ab60e98983fdab8cf
2024-06-07 15:28:46 +08:00
Yiling Chuang
6dc8193d81 Allow wireless charging label to customize content descriptions
Fixes: 343616480
Test: atest SettingsRoboTests
Change-Id: I0d87b50fd88167b57ce9d9b06d776ba2ebe304ea
2024-06-07 07:20:22 +00:00
hoffc
de3f413ecd Fix NPE force close if disabling BT feature
adapter can be null in some SPs which disable bluetooth feature
from framework, so it will lead to NPE force close in these SPs.

Add null check for adapter.

Bug: 345584461

Change-Id: I3fabe94a97cc9baf7b1739fe1c9160a52b50d7d4
2024-06-07 13:00:03 +08:00