Commit Graph

23450 Commits

Author SHA1 Message Date
Zoey Chen
c968a80ff6 Merge "[ProviderModel] Use category to separate physical SIM and e-SIM" into sc-dev 2021-06-01 02:16:08 +00:00
Bill Yi
9566689e45 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I781d054bd16827689f348586de92df1ce981c9c3
2021-05-31 10:03:49 -07:00
Zoey Chen
71fada3af8 [ProviderModel] Use category to separate physical SIM and e-SIM
Mock from UX: https://screenshot.googleplex.com/4kscwJvoQE7vwF3.png

Implementation UI: https://screenshot.googleplex.com/AEeVzLi364KiPGa.png

Bug: 187071119
Test: atest NetworkProviderSimListControllerTest
Test: atest NetworkProviderSimsCategoryControllerTest
Test: atest NetworkProviderDownloadedSimListControllerTest
Test: atest NetworkProviderDownloadedSimsCategoryControllerTest

Change-Id: Ia84bebe6ea431cdbae19f3e4b840f7cd56dc2d6f
2021-05-31 23:59:37 +08:00
Tsung-Mao Fang
6b8a5d1eb3 Fix GAR color constrast issue on dialog
Based on the UX definition, assign correct error color
for dialog

Test: A11y scanner tool confirms again and no color constrast issue.
Fix: 187396623
Change-Id: I338570b38c6fc5fa32ea1becd069084bf2d631a6
2021-05-31 20:00:20 +08:00
TreeHugger Robot
958e587314 Merge "Fix GAR color constrast issue on dialog" into sc-dev 2021-05-31 11:47:14 +00:00
TreeHugger Robot
2447296899 Merge "Adjust layout of Prevent Ringing" into sc-dev 2021-05-31 11:40:45 +00:00
TreeHugger Robot
12a285af4e Merge "Tweak Memory use layout in Developer options" into sc-dev 2021-05-31 11:40:35 +00:00
Edgar Wang
b1a1bb8c88 Adjust layout of Prevent Ringing
- Move MainSwitchPreference under Illustraction

Fixes: 189183308
Test: visual
Change-Id: Idf10a6269da6c75d5d90b2894c42727b81d12119
2021-05-31 18:01:19 +08:00
Galia Peycheva
13caa482bb Merge "Repurpose the blurs dev option for window blurs" into sc-dev 2021-05-31 08:49:28 +00:00
Menghan Li
e7ce38b60c Merge "Update accessibility settings layout" into sc-dev 2021-05-31 08:10:30 +00:00
Edgar Wang
332110464b Tweak Memory use layout in Developer options
- Adjust Memory summary padding start
- Remove icons in developer options Settings

Bug: 189279355
Bug: 186609539

Test: visual verify
Change-Id: I0618e5f35a1748f8ccf7852f6516fb3267fcc582
2021-05-31 15:17:05 +08:00
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
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
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
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
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
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
Bill Yi
f8a2c62f84 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2948411834089541f69de7ce2d4f1efa9a06c9b6
2021-05-26 23:19:33 +00:00
Curtis Belmonte
adf0cabe0a Fix crash due to traffic light face Lottie animation
Load the animation asset only if enabled in the resource config, to
avoid crashing on unsupported device configurations.

Test: Manual

Fixes: 189290180
Change-Id: Iae46c735277777705c1d6f4595b557e4b0b1aef7
2021-05-26 16:11:56 -07:00