Commit Graph

28726 Commits

Author SHA1 Message Date
TreeHugger Robot
374d72f70c Merge "chore(#AlaysOnMagnifier): update feature Settings label and description" into udc-dev am: 785cdf5499
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/22322810

Change-Id: Ia488c31773954f0bcbcc1a691ef303058e40ba12
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-30 16:27:58 +00:00
TreeHugger Robot
d79985af18 Merge "Unify Tick Preference from Physic keyboard and Regional preference" into udc-dev 2023-03-30 12:39:25 +00:00
tom hsu
23359bc0e9 Unify Tick Preference from Physic keyboard and Regional preference
- Also change icon color from colorAccentPrimaryVarient to colorAccentPrimary

Bug: b/272398108
Bug: b/264476709
Test: Manual test.
Change-Id: Ide602c6fb9501b832df646692ec618be8a76e7b9
2023-03-30 18:52:23 +08:00
TreeHugger Robot
36e511b35e Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2023-03-29 22:22:14 +00:00
TreeHugger Robot
785cdf5499 Merge "chore(#AlaysOnMagnifier): update feature Settings label and description" into udc-dev 2023-03-29 18:05:59 +00:00
Roy Chou
7dbfbd73d6 chore(#AlaysOnMagnifier): update feature Settings label and description
Update strings based on b/275635152.

Bug: 275635152
Test: manually
Change-Id: Ia00bb87282d4a00518e216079a16fe71ffe32e1f
2023-03-29 16:32:38 +00:00
TreeHugger Robot
4cbbbc1bc3 Merge "Fix UI problem in system language list" into udc-dev am: 17d7ce6f87
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/22323946

Change-Id: If4a495f0bd5e76cdfc057da693583e1f7e25580b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-29 09:43:14 +00:00
TreeHugger Robot
17d7ce6f87 Merge "Fix UI problem in system language list" into udc-dev 2023-03-29 09:31:24 +00:00
tom hsu
399bc86397 Fix UI problem in system language list
- "Add a language" can not show "language" during font and display size
   turn into the biggest.
 - This is due to view hight limited, change to wrap content for
   solution.

Bug: b/275661390
Test: Manual test.
Change-Id: I306e09a92f3a9e047e6ab9a484e0b60f2b86cc62
2023-03-29 15:55:01 +08:00
Avinash Vadlamudi
2d6a86a8e2 Merge "[Auto Pin Confirm]: Trigger PIN verification when auto confirm setting is being turned on or off" into udc-dev am: 5e8769bcc5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/22290364

Change-Id: Ie53f8e6fd1b41add0c0cb43c9ea9e34152358811
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-29 06:06:05 +00:00
Avinash Vadlamudi
5e8769bcc5 Merge "[Auto Pin Confirm]: Trigger PIN verification when auto confirm setting is being turned on or off" into udc-dev 2023-03-29 05:48:29 +00:00
TreeHugger Robot
dea5567398 Merge "Open the settings page for a specific physical keyboard" into udc-dev am: f145881a7d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/22252142

Change-Id: I12381be45d896e36dcc4d94ab884b9278221fdb1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-29 05:37:11 +00:00
TreeHugger Robot
f145881a7d Merge "Open the settings page for a specific physical keyboard" into udc-dev 2023-03-29 05:31:49 +00:00
David Liu
b567bc8a72 Merge "Update flip camera for selfie gesture setting illustraion" into udc-dev am: 5c114b11bd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/22227192

Change-Id: I0b57447491e33622d1cc5dc33d2bbfddeb120697
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-29 04:39:20 +00:00
David Liu
5c114b11bd Merge "Update flip camera for selfie gesture setting illustraion" into udc-dev 2023-03-29 04:05:16 +00:00
Bill Yi
bc45b9f125 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: If406f25ee072b3c2a778d2e007abecc99f06caf6
2023-03-28 17:58:08 -07:00
Bill Yi
55e5d7a9c7 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I508c40453d4c0e647a6d3664917bd7d9792ee3a9
2023-03-28 17:55:51 -07:00
Bill Yi
113326ed83 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I278cdc816710d5eb2cf8fa3997d55aee0e3efa73
2023-03-28 17:54:17 -07:00
Bill Yi
ea4029233f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1f1d9147fb0f6fe06186b64516910d2c509a4ce9
2023-03-28 17:53:19 -07:00
David Liu
dcce76c04e Update flip camera for selfie gesture setting illustraion
- Update illustration and support for lottie animation
- Support dark and light theme

Fixes: 210948498
Test: manually test - screenshots:
      - light: https://hsv.googleplex.com/4676803365961728
      - dark: https://hsv.googleplex.com/5105103477407744
Change-Id: I1d74f68f3f5079197c919ce405b789d863484fb8
2023-03-28 18:06:07 +00:00
Avinash Vadlamudi
a4cf551d25 [Auto Pin Confirm]: Trigger PIN verification when auto confirm setting is being turned on or off
- Fix the logic to set the pin_auto_confirm setting before triggering the password save workflow in ChooseLockPassword

Bug: 275385372
Test: atest AutoPinConfirmPreferenceControllerTest
Test: Manual Test
Change-Id: Id6774bc9afcd6d3161e023dc52911ae3e1f556c9
2023-03-28 15:33:40 +00:00
danielwbhuang
cc749159df Open the settings page for a specific physical keyboard
1. Check open from a notification
2. Check open from Bluetooth entry
3. If the inputDeviceIdentifier is not null, open the next page
   directly.
4. Add extra to record the class of sender for the future metrics.

Demo: http://screencast/cast/NDU4MTYxOTIzMTg4MzI2NHxiYTQ0ODE5Ny02YQ

Bug: 269212353
Test: manual, atest
[Pass] atest KeyboardSettingsPreferenceControllerTest
[Pass] atest PhysicalKeyboardPreferenceControllerTest

Change-Id: Ie874003260896bbb949806623913e70486e4731d
2023-03-28 14:15:08 +00:00
TreeHugger Robot
2d3e7bfb95 Merge "Change the "Restore" button to "Reset"" into udc-dev am: 600261a484
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/22304967

Change-Id: I763e28e86add3c01cf308d34626167db49e70ee4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-28 09:51:48 +00:00
Candice Lo
3d583da996 Merge "Create tooltip for notifying auto-adding the font scaling tile" into udc-dev am: 6800d9f6c2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/22135679

Change-Id: Ia84f60838f9275e9d56e9dd30ccebdeaa9b14ad7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-28 09:51:27 +00:00
TreeHugger Robot
600261a484 Merge "Change the "Restore" button to "Reset"" into udc-dev 2023-03-28 09:36:57 +00:00
Ken Lin
c27ee0dca8 Merge "Correct the resolution illustration at the setting page" into udc-dev am: a1da0b8da0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/22162065

Change-Id: Ia48c1c6fa76c7795669e043e13668f7e82187015
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-28 09:35:50 +00:00
Candice Lo
6800d9f6c2 Merge "Create tooltip for notifying auto-adding the font scaling tile" into udc-dev 2023-03-28 09:34:13 +00:00
Ken Lin
a1da0b8da0 Merge "Correct the resolution illustration at the setting page" into udc-dev 2023-03-28 09:06:03 +00:00
TreeHugger Robot
cc7dbb7603 Merge "Handles Flash Notifications intro if there's no valid camera" into udc-dev am: a34ab52d0a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/22244838

Change-Id: I8ccb0aa36bb4dd4865659de2bb66742f2b422e08
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-28 08:19:51 +00:00
danielwbhuang
a53b093a2b Change the "Restore" button to "Reset"
"Restore" button should be displayed as "Reset", since the string "reset" is used more often and the action is actually "to reset".

Bug: 274714167
Test: manual
Change-Id: Ide6728bba8b17c22fe40b2dc0d65ea6166de44bc
2023-03-28 16:07:20 +08:00
TreeHugger Robot
a34ab52d0a Merge "Handles Flash Notifications intro if there's no valid camera" into udc-dev 2023-03-28 07:54:00 +00:00
Candice Lo
b132ada169 Create tooltip for notifying auto-adding the font scaling tile
1. Add string for the content of tooltip.
2. Show the tooltip if needed: the tooltip will only be shown once when users change the font size from the Settings page for the first time.
3. Since the layout shown on the screen will be recreated after font size changes, we need to save the state of the tooltip popup window to check if we need to reshow it in displayPreference.

Bug: 269679768
Test: Manually - attach videos to the bug
Test: make RunSettingsRoboTests ROBOTEST_FILTER=PreviewSizeSeekBarControllerTest
Change-Id: I1b6c5fdbd74c7a868cf42bd21d2cdb1052c0bbe6
2023-03-28 06:24:25 +00:00
Angela Wang
a460f8b140 Merge "Changes screen flash color selected ring color in Flash Notifications" into udc-dev am: 39dd52d468
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/22248253

Change-Id: Ie082488f4efc86090c02ebfea55fe4bb3b7f5c26
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-28 06:21:18 +00:00
Angela Wang
aa33027c92 Handles Flash Notifications intro if there's no valid camera
If there is no valid camera found on the device, the camera flash option will be hidden by default. It seems weired if the intro still mentions the camera light will flash while there's no camera flash option at all. Updates the intro string without mentioning camera light if there's no valid camera found.

Bug: 274565006
Test: check the string on device without valid camera manually
Change-Id: I93b1fe372fe9f9e2634e56b19b30898847d68c9c
2023-03-28 06:11:52 +00:00
Angela Wang
39dd52d468 Merge "Changes screen flash color selected ring color in Flash Notifications" into udc-dev 2023-03-28 05:56:44 +00:00
TreeHugger Robot
29e7a40030 Merge "Fix ordering on work profile" into udc-dev am: 509f94a8c3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/22233751

Change-Id: I69db41e74b87674893432c681e1aeac3b20540d8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-27 17:35:16 +00:00
TreeHugger Robot
509f94a8c3 Merge "Fix ordering on work profile" into udc-dev 2023-03-27 17:02:17 +00:00
TreeHugger Robot
8cd3c56e80 Merge "Enlarges the size of the screen flash color buttons in Flash Notifications" into udc-dev am: 82bb3b8381
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/22248254

Change-Id: I6ccd6c581752d979872cbf9538d59a2d69783348
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-27 10:12:55 +00:00
TreeHugger Robot
82bb3b8381 Merge "Enlarges the size of the screen flash color buttons in Flash Notifications" into udc-dev 2023-03-27 10:06:21 +00:00
Zoey Chen
ace00b7d00 Merge "[Settings] Hide package name if needed" into udc-dev am: 26810aa0c5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/22221905

Change-Id: I24b8b36cc1c02f77b35da674561e9e7ad7ef558b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-27 09:05:03 +00:00
Zoey Chen
26810aa0c5 Merge "[Settings] Hide package name if needed" into udc-dev 2023-03-27 08:44:37 +00:00
Angela Wang
a41640b76a Enlarges the size of the screen flash color buttons in Flash Notifications
The size of the screen flash color buttons are now 38dp x 38dp and it's recommended to make the height of these touch targets 48dp or larger.

Bug: 275265260
Test: runs Accessibility Scanner and checks the suggestions are gone
Change-Id: Ie2bef1a0ff976750f6258f7af3f28953c48b994f
2023-03-27 08:13:19 +00:00
Angela Wang
79588ff434 Changes screen flash color selected ring color in Flash Notifications
There's an outer ring to show that the screen flash color is selected and it's black in both light and dark themes.

When selecting screen flash color in the dark theme, it's not obvious which color is selected because the indicated ring is black which is similar to the dark background. Changing it to white in the dark theme for better user experience.

Bug: 275283917
Test: checks UI manually
Change-Id: I714597d99dfb74c5ce0ddef3995fd19688feacdf
2023-03-27 08:11:36 +00:00
Ken Lin
d8c6dd4fe8 Correct the resolution illustration at the setting page
Replace xml with wrong description with correct one

Bug: 272650243
Test: check Setting -> Display -> Screen resolution
Change-Id: I878356800e965b19bb9064615d220212b35cca08
2023-03-27 02:49:25 +00:00
TreeHugger Robot
eb9cd39080 Merge "Added "Speed and Compatibility" Settings page" into udc-dev am: df292224e2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/22164165

Change-Id: I85b0bbbdf3d2d64a549e0bfbe4553e95a9268e36
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-25 08:35:04 +00:00
TreeHugger Robot
df292224e2 Merge "Added "Speed and Compatibility" Settings page" into udc-dev 2023-03-25 08:01:30 +00:00
Becca Hughes
994e9395eb Fix ordering on work profile
Test: on device
Bug: 274126565
Change-Id: I137369fc9a2b5fbb2e200b6c906e11a9dea3a847
2023-03-24 16:42:26 +00:00
Betty Chang
df94418ec6 Merge "To fix the footer link is not clickable in the Bluetooth Settings" am: cc7da9e61d am: 6ac664c975
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2507379

Change-Id: Ia05fb646720a4b0aeee71047f1aa9cecd519a6eb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-24 15:56:20 +00:00
Betty Chang
cc7da9e61d Merge "To fix the footer link is not clickable in the Bluetooth Settings" 2023-03-24 15:01:48 +00:00
Zoey Chen
7beb190e9c [Settings] Hide package name if needed
Bug: 273167633
Test: local test
Change-Id: I237d8f5821080283465a6cf72ad7505a55a6bb81
2023-03-24 14:00:31 +00:00