Commit Graph

28458 Commits

Author SHA1 Message Date
TreeHugger Robot
1ecda192f6 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: I278e5e6327f9c058be6ad72c9cac64507522be53
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-28 09:51:51 +00:00
Candice Lo
bdb7490d0a 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: If3839dbc44403db3a86659090556d25b538284e9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-28 09:51:21 +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
f19b5b1fc2 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: I4d43a3887cdd78e2eda71dba86a8d5a00b003ab7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-28 09:35:42 +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
dff64f2371 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: I6ae17201807466d8ff756c5b33aa1f71f265e711
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-28 08:19:55 +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
874b32608c 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: I93bf3626c6ce09351dad08d93415eca95e065941
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-28 06:21:00 +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
9174a32040 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: I14015be831e22bf3e020a609830fdf0021fe0575
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-27 17:35:59 +00:00
TreeHugger Robot
509f94a8c3 Merge "Fix ordering on work profile" into udc-dev 2023-03-27 17:02:17 +00:00
TreeHugger Robot
3d8075069e 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: Id0d754dc1796ded08ea7643f4700ff88d14c03cc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-27 10:11:47 +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
74df414965 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: I28e6c65719cdb4b7a615c30f53d8efd772a13c8d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-27 09:02:46 +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
d3dc54af3b 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: Ide1c3afa59772cb906f12a3db4803e29369c0935
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-25 08:19:59 +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
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
TreeHugger Robot
97b345aac8 Merge "Imporve UI of system langauge list" into udc-dev am: e2eb822266
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/22200382

Change-Id: I764c81c0ad6175de4e6b6462755bf0a873563aa2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-24 08:07:56 +00:00
TreeHugger Robot
e2eb822266 Merge "Imporve UI of system langauge list" into udc-dev 2023-03-24 07:37:05 +00:00
Ioana Alexandru
164ef2bc06 Merge "Clarify notifications behavior in bypass setting." into udc-dev am: f8662a4f40
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/22195537

Change-Id: I10ddb90f41cbaf022d5d90777477c44b6cff03a4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-23 18:38:52 +00:00
Ioana Alexandru
f8662a4f40 Merge "Clarify notifications behavior in bypass setting." into udc-dev 2023-03-23 17:53:25 +00:00
Becca Hughes
7b1a81e0a6 Merge "Add settings intent dialog" into udc-dev am: cbbab3632c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/22181848

Change-Id: Ic3a96a9930c11a5420c0a8109171283fb5bde14c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-23 17:40:15 +00:00
Becca Hughes
cbbab3632c Merge "Add settings intent dialog" into udc-dev 2023-03-23 17:07:56 +00:00
YK Hung
1db438deff Merge "Update battery settings page footer string" into udc-dev am: 72690c6844
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/22214369

Change-Id: Iadb81f33606f807c60085e67429bfc04871d14b0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-23 16:20:31 +00:00
YK Hung
72690c6844 Merge "Update battery settings page footer string" into udc-dev 2023-03-23 15:55:03 +00:00
Alexander Milantev
0e59c79809 Merge "Enabled Settings Core activity embedding for Assistant" into udc-dev am: cb227a79a2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/22071823

Change-Id: Iff5c7efa1738ec452ed9327ab3f738450a7c989d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-23 11:35:13 +00:00
Alexander Milantev
cb227a79a2 Merge "Enabled Settings Core activity embedding for Assistant" into udc-dev 2023-03-23 10:44:28 +00:00
Wesley Wang
c81b12aabf Update battery settings page footer string
screenshot: https://screenshot.googleplex.com/4LdASHFSS23Q5NK.png

Bug: 274871896
Fix: 274871896
Test: make SettingsRoboTests
Change-Id: Ia739e5b004755a16fb80d460657bcffcb40404f9
2023-03-23 17:01:42 +08:00
TreeHugger Robot
8abdce5cba Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-d1-dev 2023-03-23 05:56:21 +00:00
TreeHugger Robot
419d424c0b Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev 2023-03-23 05:41:57 +00:00
TreeHugger Robot
b7c595c4de Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev 2023-03-23 05:37:26 +00:00
TreeHugger Robot
fad707affb Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-d1-dev 2023-03-23 05:28:39 +00:00
Weng Su
17631aeff7 Added "Speed and Compatibility" Settings page
- Show each band option individually in single-band devices
  - Show "2.4 and 5GHz" combined option in dual-band devices

- Disable 5 GHz option if the device is in the restricted country

- Disable 6 GHz option if the device is in the restricted country
  - Hide 6 GHz option if the old device does not support 6 GHz band.

Bug: 245258763
Test: manual test
atest -c WifiHotspotSpeedSettingsTest
atest -c WifiHotspotSpeedViewModelTest \
         WifiHotspotRepositoryTest

Change-Id: I358d4ff8d62df72fd5080e55f40d588c238d01fb
2023-03-23 10:53:43 +08:00
Bill Yi
b11c37e6f6 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8d632ac17ae813042eeaa5b8a80270127c40b295
2023-03-22 12:28:35 -07:00
Bill Yi
4bf6f099aa Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I72cf106bca67ce25cc517ac76700e5262e8764dd
2023-03-22 12:25:27 -07:00
Jason Hsu
f6d4ab89ef Merge "Correct the char limit for strings" into udc-dev am: 72237b55f8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/22200384

Change-Id: I60b087e91930bcabaa3a8c07d0bd5ca1f77e67e9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-22 18:03:43 +00:00
Jason Hsu
72237b55f8 Merge "Correct the char limit for strings" into udc-dev 2023-03-22 17:32:55 +00:00
jasonwshsu
e621a54f0a Correct the char limit for strings
* string: bluetooth_system_sounds_title is too long to fit in one line.
  Should allow more char limit to two lines.

Bug: 270086620
Test: flash rom and check UI
Change-Id: I8b0c8ca37fc3b7447da3dba3bca66673b4d05f7a
2023-03-23 01:25:19 +08:00
tom hsu
99037a8bf8 Imporve UI of system langauge list
Bug: b/274721595
Test: Manual test
Change-Id: I951de80de4ac40df48829d3f23c0f1c8d98e0137
2023-03-23 00:34:49 +08:00
Bill Yi
92036d6746 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I794823282def77b9650cd340a87826abe8ad55e0
2023-03-22 08:47:51 -07:00
Bill Yi
ce38438c35 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id19a8c0405a768f79e6c68612d29d17c65e94422
2023-03-22 08:39:49 -07:00