Commit Graph

31224 Commits

Author SHA1 Message Date
Matías Hernández
ec5b25eb48 Merge "Add icon picker for zen modes" into main 2024-06-10 22:38:36 +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
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
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
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
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
Treehugger Robot
87334e9c38 Merge "Add Settings for vector-specific PointerIcon fill colors." into main 2024-06-07 16:31:59 +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
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
Joseph Vincent
4885f1833c Merge "Remove temp GAIA education screen from PS setup code" into main 2024-06-07 02:47:30 +00:00
Bill Yi
d7e7e6dca3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I833fc6d1e2bae38afc9c6b003077290dd7b6dfc8
2024-06-06 19:01:39 -07:00
Bill Yi
0e3965dc66 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I41aedaaef23f4a5bdcb7c298205318f3ddf1e4a3
2024-06-06 18:59:17 -07:00
josephpv
d27f97393d Remove temp GAIA education screen from PS setup code
With this change the temp GAIA education screen is removed from private
space setup code and adds a new loading screen with "Just a sec" title
in the activity while the gms intent in launched to fix blank screen issue.

Screenrecording link:
b/336822960#comment7

Bug: 336822960
Test: Manual
Change-Id: I9ee41835b39c194fefb970321b7a9d5a30f87306
2024-06-06 17:18:55 +00:00
Pat Manning
577965f9c2 Add Settings for vector-specific PointerIcon fill colors.
Bug: 305193969
Test: PointerIconLoadingTest
Flag: com.android.systemui.enable_vector_cursor_a11y_settings
Change-Id: I84b4a6d5fde48309c2e3374963f92b8246167628
2024-06-06 14:41:00 +00:00
Treehugger Robot
39e9aede9a Merge "Delete "background process limit" debug option" into main 2024-06-06 07:46:23 +00:00
Shai Barack
c163eb07ce Delete "background process limit" debug option
We're deprecating max limits for cached/empty app processes.

Bug: 253908413
Change-Id: Iff80f173e72e9b77faefe3c66543c0756f2e6f74
Flag: EXEMPT cleaning up now-unused flag
2024-06-05 16:07:08 +00:00
Treehugger Robot
8671711749 Merge "Update char limit" into main 2024-06-05 14:24:21 +00:00
Joseph Vincent
f55e6fe7c5 Merge "Update Private space illustrations" into main 2024-06-05 14:07:26 +00:00
Joseph Vincent
57f8bb86a2 Merge "Add edu for apps being stopped when PS is locked" into main 2024-06-05 14:05:56 +00:00
Treehugger Robot
591c3a3f5d Merge "Add new string for WEP network less secure warning" into main 2024-06-05 11:19:44 +00:00
josephpv
1ba92c630b Update Private space illustrations
Bug: 339273263
Test: Manual
Change-Id: I93a1fcc7dc34d573c264844a48e9599dad56707c
2024-06-05 10:14:14 +00:00
josephpv
b4054cb6a7 Add edu for apps being stopped when PS is locked
Changes made to Setup intro screen and private space settings dislaimer
that apps are stopped when private space is locked.

Screenshots:
go/ss/8YFWtjjC5pzhyyd.png
go/ss/5pvvo4YodaSiGzr.png
b/343166731#comment4

Bug: 343166731
Test: Manual
Change-Id: I46db598e1e94e210d904ade8b6b0cf498960cc2a
2024-06-05 10:01:19 +00:00
Weng Su
cec0dfaa08 Add new string for WEP network less secure warning
Bug: 331973632
Flag: EXEMPT resource only update
Test: N/A, only new string, no function
Change-Id: I36ec43819045e9271a10a135e36cae9bdb30182d
2024-06-05 17:54:07 +08:00
Haijie Hong
8ef3513f04 Merge "Fix battery talkback for advanced bt header" into main 2024-06-05 05:13:33 +00:00
Joshua Mccloskey
b74153739a Merge "Changed face/finger enroll intro no thanks" into main 2024-06-04 22:19:13 +00:00
Joshua McCloskey
c87a49fe69 Changed face/finger enroll intro no thanks
Changed the face & fingerprint enroll introduction to use "Not now"
instead of "No thanks" during enrollment.

Test: Manually verified the strings that showed up during
face/fingerprint enrollment were correct
Fixes: 302662735

Change-Id: I66183febae1cc36d4bfb2f67e70a3f37a887369c
2024-06-04 19:05:47 +00:00
Treehugger Robot
30299b5b51 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-06-04 18:04:36 +00:00
Treehugger Robot
1d6419f8c6 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-06-04 18:04:36 +00:00
jasonwshsu
452cfdc39d Update 'Preset' to singular
Bug: 344832549
Test: check string in Device details page when pairing with hearing aids
Flag: EXEMPT resource only update
Change-Id: I11f892065131680723793f5ac652e11fce0b21ec
2024-06-04 21:14:49 +08:00
chelseahao
4c94930ad5 [Audiosharing] Clean up unused code.
Test: atest -c com.android.settings.connecteddevice.audiosharing.audiostreams
Bug: 308368124
Change-Id: Iea1aede53aefe2034b5a083ff503bb21a4f546cb
2024-06-04 07:09:03 +00:00
Treehugger Robot
70b0a36c4b Merge "Modify the incorrect wording" into main 2024-06-04 05:11:19 +00:00
Bill Yi
6a65f16998 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I60a56a23573aef71014cde64af9eeca6addeb8b0
2024-06-03 17:32:25 -07:00
Bill Yi
bf17fe16a6 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I76ef7a226e3077feca39fe7404c7ab6fd423770c
2024-06-03 17:29:59 -07:00
Yomna Nasser
c2df9e2e40 Merge "Control visibility of Cellular Security tile on More Security & Privacy page" into main 2024-06-03 16:23:12 +00:00
yomna
ffba0e7a40 Control visibility of Cellular Security tile on More Security & Privacy page
Bug: b/335554085
Test: manual
Flag: EXEMPT bugfix
Change-Id: I35a3b67abc8339179b600fa83effd98e5b389a37
2024-06-03 16:22:58 +00:00
Julia Reynolds
09040778c9 Update char limit
Change-Id: I35ba75b907a7a4ff305d18d753aaa0155ca6ac6e
Test: None comment only change
Flag: None bugfix
Fixes: 343178739
2024-06-03 14:36:09 +00:00
Sunny Shao
9614dec518 Modify the incorrect wording
Fixes: 340991772
Test: manual test
Change-Id: I4b74a3f813542c59f751318a4142d8b9a0fa9192
2024-06-03 09:31:47 +08:00
Chun-Ku Lin
38236869ee Merge "Update a11y shortcut images" into main 2024-05-31 17:53:12 +00:00
Chun-Ku Lin
a28e808918 Merge "Replace Magnification preview" into main 2024-05-31 17:32:00 +00:00
Haijie Hong
3957d28a09 Fix battery talkback for advanced bt header
Test: tested in phone
Bug: 323790433
Change-Id: I52ed8694af240ae7923d7758144e6db3c590571d
2024-05-31 19:12:47 +08:00
Matías Hernández
8f93b4d789 Merge "Add default icons for all mode types" into main 2024-05-30 21:10:16 +00:00
Matías Hernández
fcb8acc277 Add default icons for all mode types
Also a couple of icon-related fixes:
* Use the proper context, since we need theming (this also means it cannot be stored in IconLoader, which is a singleton, and must be supplied).
* Force apply the standard size and tint, since app-provided icons may be arbitrary.
* Fix the schedule-time icon (the viewport size was incorrect).

Bug: 308819461
Fixes: 333528437
Flag: android.app.modes_ui
Test: atest com.android.settings.notification.modes
Change-Id: Iae447c8c4a0218a8bc989c01d1d56d0c06abd8e7
2024-05-30 18:11:25 +02:00
Yuri Lin
cfaedb0199 Merge "Add page for choosing calendar & reply for event modes." into main 2024-05-30 14:59:00 +00:00