Commit Graph

23431 Commits

Author SHA1 Message Date
Stanley Wang
9b6ead8de7 SettingsMainSwitchPreference should display the restricted icon
if it is restricted.

- Use the RestrictedPreferenceHelper to check the restricted state.

Fix: 179245126
Test: rebotest and see the UI
Change-Id: I3c0e3bd0f3596d6fa548b6f8f10e4d12e7e50c9a
2021-05-31 14:49:48 +08:00
menghanli
2d9f270107 Update accessibility settings layout
Accessibility settings category restructure
1: Rename Screen readers into sScreen reader (only Talkback in this
category)

Bug: 174829936
Test: manual test
Change-Id: I70eca98428e9ad810803a8776c37fed34c5ade3a
2021-05-31 06:29:04 +00:00
ryanlwlin
6843d14397 Fix number localization in the strings.xml
The numbers in the strings.xml should honor user settings.
To fix it we use messageformat to fill the
numbers.

Bug: 187526475
Test: manually test
Change-Id: I3e7ad96d4b889dbbfebb7110ca7ee2a738b88fd8
2021-05-31 14:25:09 +08:00
Wesley Wang
fc1763d93d Merge "Add description to battery settings footer link (2/3)" into sc-dev am: bb2f72b672
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14733190

Change-Id: I05a55a9f8a278645fc85b24321c20cb240c282dd
2021-05-31 05:43:21 +00:00
Wesley Wang
bb2f72b672 Merge "Add description to battery settings footer link (2/3)" into sc-dev 2021-05-31 05:42:37 +00:00
Bill Yi
0c73c0714d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia3a24ea6d443d92eb5da5fcc050ce3d7ac6cbe16
2021-05-31 04:03:03 +00:00
Bill Yi
39b57ddbbd Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8e2b849238606332cab7d4168f157994b3d913f9
2021-05-31 03:58:48 +00:00
Bill Yi
f86b5a5360 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ibc82d8b02c404d3f36e19f6291dd013245641f45
2021-05-31 03:55:25 +00:00
TreeHugger Robot
db3247df98 Merge "Relayout Reset Wifi page" into sc-dev am: 677e59cbef
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14758083

Change-Id: Ic07d4bf0cf7e6da8403328613ae47f3473875ff6
2021-05-31 03:36:52 +00:00
TreeHugger Robot
aacbcd7a75 Merge "Update Volume title font size" into sc-dev am: 47684fcca3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14758072

Change-Id: Id66e11dc50a8d47a9b0bed14c4f8af3d688b1977
2021-05-31 03:36:42 +00:00
TreeHugger Robot
677e59cbef Merge "Relayout Reset Wifi page" into sc-dev 2021-05-31 03:28:10 +00:00
TreeHugger Robot
47684fcca3 Merge "Update Volume title font size" into sc-dev 2021-05-31 03:25:08 +00:00
Yanting Yang
b7ee76bfa2 Merge "Remove silky flag from System for official release" into sc-dev am: afcb0497a8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14733193

Change-Id: I85e677af569247524f9f6541416b055a6d3df2f5
2021-05-31 03:22:32 +00:00
YUKAI HUNG
2161ea4560 Merge "Resolve localization issue and refine UI for chart view" into sc-dev am: 72f0500211
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14758073

Change-Id: I9ea4953e160769a3540c3b52a3f504dea2a9a43d
2021-05-31 03:22:25 +00:00
TreeHugger Robot
4b75592b15 Merge "Adjust layout of Display Settings" into sc-dev am: 42af840f68
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14758071

Change-Id: Ia787695844d4e1eca7cfb0c5ad2d743952a22063
2021-05-31 03:21:58 +00:00
Yanting Yang
afcb0497a8 Merge "Remove silky flag from System for official release" into sc-dev 2021-05-31 03:01:10 +00:00
YUKAI HUNG
72f0500211 Merge "Resolve localization issue and refine UI for chart view" into sc-dev 2021-05-31 03:00:58 +00:00
TreeHugger Robot
42af840f68 Merge "Adjust layout of Display Settings" into sc-dev 2021-05-31 03:00:19 +00:00
ykhung
0caec37161 Resolve localization issue and refine UI for chart view
Bug: 189293866
Bug: 189407613
Bug: 189413817
Test: make SettingsgRoboTests
Change-Id: If38d133d88bb940c248ef1887548112ff576e0c4
2021-05-28 22:07:01 +08:00
Edgar Wang
88600e7916 Relayout Reset Wifi page
- Update textAppearance
- Adjust padding
- Update Button style

Fixes: 189389538
Test: visual verify
Change-Id: I03fe9368c0f3140990f96b6418034e14cb7ce813
2021-05-28 18:27:37 +08:00
Wesley.CW Wang
256636055b Add description to battery settings footer link (2/3)
- Update battery saver footer learn more link description
 - Update app usage footer learn more link description

Bug: 187812487
Bug: 187135286
Test: make RunSettingsRoboTests
Change-Id: Iee496cf615f2f9e0e61be69d6b3a1d6c1c859013
2021-05-28 17:40:04 +08:00
Edgar Wang
a2311b668a Update Volume title font size
Fixes: 189390164
Test: visual verify
Change-Id: Icd794ca519cc9ed17065bd65e378dafb74c847ac
2021-05-28 14:24:33 +08:00
Edgar Wang
71ca31cbac Adjust layout of Display Settings
- Move TopIntroPreference up in Dark theme settings
- Move TopIntroPreference up in Night Light settings
- Move MainSwitchPreference under Illustaction in Adaptive brightness

Bug: 189390264
Bug: 189389913
Bug: 189384967

Test: visual verify
Change-Id: I32ba5bf94dfca705739994dc27d97f0d9caaad50
2021-05-28 14:03:10 +08:00
TreeHugger Robot
28544e66b2 Merge "Shows trash category in Storage Settings" into sc-dev am: 90c29cf014
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14702754

Change-Id: Ie0629acef005da53d4a76b128bf58378989bb070
2021-05-28 03:05:45 +00:00
TreeHugger Robot
0e03fd2480 Merge "Fix [AR] - Icons are slightly overlapping adjacent text in the Allow Accessibility demo" into sc-dev am: f2d23213b3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14733200

Change-Id: Ie5cfe912a202f4c557d12d2343d0fd7dec0e9fef
2021-05-28 03:05:40 +00:00
menghanli
9fadbe0324 Fix Magnification shortcut option content overlap with top and bottom dialog container am: ccc8a93c6c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14702393

Change-Id: If9d5b907d4192a74ac9263c6f4511d6e7349d34a
2021-05-28 03:05:35 +00:00
Beth Thibodeau
b7749fd405 Merge "Add recommendation setting and remove app settings" into sc-dev am: 8e67634830
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14720441

Change-Id: I93ad28321bdc880f9fda6c6299cb1b5b60d81cfa
2021-05-28 02:29:54 +00:00
Kevin Chyn
e6eb1020f8 Merge "Use lottie animation for fingerprint edu" into sc-dev am: dc00faece6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14721437

Change-Id: I76b7fff784faa5945717c1ec3d016f7ab57d5ece
2021-05-28 02:29:24 +00:00
TreeHugger Robot
509a09653b Merge "Update battery defender tip string" into sc-dev am: 029edb7c48
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14730710

Change-Id: Id714cf519433966edd608cb9f62b9d12b7e5d384
2021-05-28 02:24:48 +00:00
TreeHugger Robot
90c29cf014 Merge "Shows trash category in Storage Settings" into sc-dev 2021-05-27 23:33:57 +00:00
TreeHugger Robot
f2d23213b3 Merge "Fix [AR] - Icons are slightly overlapping adjacent text in the Allow Accessibility demo" into sc-dev 2021-05-27 22:20:45 +00:00
Abel Tesfaye
2906b4b675 Update smart auto rotate string
Bug: 187254875

Test: none
Change-Id: I17de912713767af8391163e6053515bce10fa79a
2021-05-27 22:10:48 +00:00
menghanli
02200d29af Fix [AR] - Icons are slightly overlapping adjacent text in the Allow Accessibility demo
Root cause: Use marginRight between icon and text, but it does not work for RTL launguage.
Solution: Use margineEnd instead.

Bug: 189221008
Test: Manual testing
Change-Id: I02d30228c80c95aeb3b875364f2d2cbf76f3664b
2021-05-27 20:31:58 +00:00
menghanli
ccc8a93c6c Fix Magnification shortcut option content overlap with top and bottom dialog container
Problem: After SuW theme applied, the scrollview viewport seems can draw outside of bounds.
Solution: Define whether a child is limited to draw inside of its bounds or not.

Test: Run initBCTestEnv_S.sh and apply different color
Bug: 187007290
Change-Id: Ie3a27616d7f30804c30e5101d2488216df516578
2021-05-27 20:31:26 +00:00
TreeHugger Robot
07b7a97ce8 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-27 19:04:20 +00:00
TreeHugger Robot
4b9bf7e90c Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-27 18:44:37 +00:00
TreeHugger Robot
660d37d895 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-05-27 18:21:27 +00:00
Beth Thibodeau
8e67634830 Merge "Add recommendation setting and remove app settings" into sc-dev 2021-05-27 16:19:17 +00:00
Tsung-Mao Fang
732ff78505 Fix GAR color constrast issue on dialog
Based on the UX definition, we use color surface
for the background color of dialog.

Test: A11y scanner tool confirms again and no color constrast issue.
Fix: 187396623
Change-Id: I2f89193f7c584e8fc468aa035ce329c22e2ad7f1
2021-05-27 23:00:14 +08:00
Mill Chen
2377927d51 Remove the face unlock category
Fix: 189232241
Test: visual verified
Change-Id: Ic100a46eefd7d768b5e73f18d8e4e94823b8a52e
2021-05-27 20:21:41 +08:00
Arc Wang
8fde6ca821 Shows trash category in Storage Settings
If there is APP which supports VIEW_TRASH intent,
use it to show trash files. Otherwise popup a dialog
to guide users to empty trash files.

Bug: 189109564
Test: manual visual
      Observe size information are the same as files in Files APP.
      Observe if empty trash button empty trash files.
      Observe if Trash category update summary and order after emptying
      trash files.
Change-Id: Ia3c46dcb1b4fadcdfb865f7dd315c27f8f98cb2c
2021-05-27 17:50:11 +08:00
Kevin Chyn
dc00faece6 Merge "Use lottie animation for fingerprint edu" into sc-dev 2021-05-27 08:31:55 +00:00
Galia Peycheva
4b4a8c3a51 Repurpose the blurs dev option for window blurs
Bug: 185580298
Test: make RunSettingsRoboTests ROBOTEST_FILTER=EnabledBlursPreferenceControllerTest
Change-Id: I12e356c4a2997bf67580652e7d3fff9bb89483ac
2021-05-27 09:42:33 +02:00
Yanting Yang
5035ef9f94 Remove silky flag from System for official release
Remove the silky condition and clean up redundant files.

Bug: 183670633
Test: robotests & visual
Change-Id: I2743a65869c4fe2ea684e259373ddc309dea59c3
2021-05-27 13:53:18 +08:00
TreeHugger Robot
029edb7c48 Merge "Update battery defender tip string" into sc-dev 2021-05-27 05:52:19 +00:00
Curtis Belmonte
25b4e38015 Merge "Fix crash due to traffic light face Lottie animation" into sc-dev am: 2c8745b58d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14738696

Change-Id: Ia9bec4a1e4d0fe47aa4232bb87c360f67f8ad560
2021-05-27 02:15:03 +00:00
Curtis Belmonte
2c8745b58d Merge "Fix crash due to traffic light face Lottie animation" into sc-dev 2021-05-27 01:55:58 +00:00
Bill Yi
2f6b96bbf0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7fe061ce464e7a09e10a5d928393be725bd8f0e3
2021-05-26 23:36:20 +00:00
Bill Yi
99d517d63b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6a43449b3ea6ef62782029b1fbd86062a708c1e6
2021-05-26 23:27:23 +00:00
Bill Yi
186570767c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia41b67be42cb2f033d3860f3c3192506bcca4e83
2021-05-26 23:22:59 +00:00