Commit Graph

82871 Commits

Author SHA1 Message Date
Yi-Ling Chuang
e7c769fe02 Apply sliding transition to trust agent.
- Also rename the extra of page transition.
- Remove useless code while starting activity from fragment.

Bug: 187542491
Test: robotest and manually went through trust agent flow.
Change-Id: I55419f23db7fa77281039e642bde5558c17dce0f
2021-06-01 16:39:13 +08:00
YUKAI HUNG
3940e5293c Merge "Set default locale in the testing environment to avoid flaky test" into sc-dev 2021-06-01 08:26:24 +00:00
ykhung
7a6bd1e4a4 Set default locale in the testing environment to avoid flaky test
from the error message, looks like some testing environment cannot get the default locale settings to cause it crash. we will et the default locale before testing to avoid such condition.

Bug: 188947451
Test: make SettingsgRoboTests
Change-Id: I6ec9abba41d72c205426df8710eae5b83a841f46
2021-06-01 07:51:15 +00:00
TreeHugger Robot
292149d678 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 4e684f517b -s ours am: 25f79e3004 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14773023

Change-Id: I17d3833df1ceff5b81052160ea9c7b80d24b2320
2021-06-01 06:36:23 +00:00
TreeHugger Robot
25f79e3004 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 4e684f517b -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14773023

Change-Id: I3d00e68607de7e1021ed513ab3010fc3d373b471
2021-06-01 06:17:45 +00:00
TreeHugger Robot
ca556200dd Merge "Fix truncated in USB preference" into sc-dev am: 11fa4d3275
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14733199

Change-Id: I233c7b93226b74843701e00257f78bd506d2af1d
2021-06-01 06:05:56 +00:00
TreeHugger Robot
e0e7d99217 Merge "Fix flickering in USB page" into sc-dev am: f10ecb43d1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14732236

Change-Id: I7d38220054f0caf0ca4d0dc4c78a8d971d37fa44
2021-06-01 06:05:27 +00:00
TreeHugger Robot
2363091424 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 14e4be7e93 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14773025

Change-Id: I1e70e5e1dd1c40bcb5ef8fc0a8c78f2fade876b9
2021-06-01 06:04:50 +00:00
TreeHugger Robot
4e684f517b Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-06-01 05:55:43 +00:00
TreeHugger Robot
11fa4d3275 Merge "Fix truncated in USB preference" into sc-dev 2021-06-01 05:44:48 +00:00
TreeHugger Robot
f10ecb43d1 Merge "Fix flickering in USB page" into sc-dev 2021-06-01 05:44:35 +00:00
TreeHugger Robot
14e4be7e93 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-06-01 05:43:52 +00:00
Kunhung Li
43048f38cc Refine wallpaper search keywords
To be removed: screen, lockscreen, icon shape, font.
To be added: customize, personalize, icon.
To be modified: split "accent color" into two words.

Bug: 187692546
Test: manual
Change-Id: I19d9d29b74948d167e492a174f34213a22abeefd
2021-06-01 05:33:59 +00:00
Edgar Wang
2b45c63759 Remove divider in Storage page am: bc55541ed9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14758070

Change-Id: I8b0c4f85ebd413d2637948b1e081ad9552d200c4
2021-06-01 05:26:17 +00:00
Ryan Lin
8a6272e933 Merge "Fix number localization in the strings.xml" into sc-dev am: 4abbe80385
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14673570

Change-Id: Ie71443e570322eda388a9903d059767c73ad59cb
2021-06-01 03:21:10 +00:00
Edgar Wang
bc55541ed9 Remove divider in Storage page
Fixes: 189389989
Test: manual
Change-Id: I92212620a5dd93b855d6e76d6401d5fd3969e4a6
2021-06-01 03:10:04 +00:00
Ryan Lin
4abbe80385 Merge "Fix number localization in the strings.xml" into sc-dev 2021-06-01 02:59:06 +00:00
TreeHugger Robot
6aa2b3e6bc Merge "Fix GAR color constrast issue on dialog" into sc-dev am: 6ee9ceab77
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14772168

Change-Id: I03f1df052f2cdbe5cb4521d16ded2a883a06bf0c
2021-06-01 02:34:13 +00:00
Zoey Chen
3e550d6aa4 Merge "[ProviderModel] Use category to separate physical SIM and e-SIM" into sc-dev am: c968a80ff6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14732243

Change-Id: I2f58093c3eed72c5a7505b21107649e071b22e24
2021-06-01 02:34:02 +00:00
TreeHugger Robot
6ee9ceab77 Merge "Fix GAR color constrast issue on dialog" into sc-dev 2021-06-01 02:26:56 +00:00
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
7355f04815 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 9566689e45 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14776217

Change-Id: I17e57b3c21d8a91e2d1adf4fb672c0c08c274f15
2021-05-31 18:32:49 +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
TreeHugger Robot
c73a8cff20 Merge "Reduce flickers when launching Storage Settings" into sc-dev am: 0462ffaffc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14716098

Change-Id: Ica0382ee70461df52b380225ef1cae67a5b09684
2021-05-31 14:32:16 +00:00
TreeHugger Robot
0462ffaffc Merge "Reduce flickers when launching Storage Settings" into sc-dev 2021-05-31 14:16:05 +00:00
Arc Wang
96b6106f2f Reduce flickers when launching Storage Settings
This change remove unnecessary UI dpdate of
StorageItemPreferenceController.

- For StorageItemPreferenceController:
  Remove UI update at #displayPreference since onLoadFinished will update.
  Don't update order at #setVolume since onLoadFinished will update.

- StorageDashboardFragment & StorageCategoryFragment update
  StorageItemPreferenceController only when both StorageInfo
  and StorageResult are loaded.

Bug: 185547228
Test: atest com.android.settings.deviceinfo
      atest com.android.settings.deviceinfo.storage
      make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.deviceinfo
      make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.deviceinfo.storage
      manual visual
      Click each file category to count files size is the same as
      displayed in Storage Settings.
      manual visual
Change-Id: Id449003827a3e340e7a90f706152100b5568f834
2021-05-31 12:48:02 +00: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
38b44d2acc Merge "Fix GAR color constrast issue on dialog" into sc-dev am: 958e587314
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14732242

Change-Id: I634524870b0ffda96bf2b87aef5bee361dd6fded
2021-05-31 11:58:26 +00:00
TreeHugger Robot
1662ab812a Merge "Adjust layout of Prevent Ringing" into sc-dev am: 2447296899
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14772166

Change-Id: Ie7bea108e289b2a58fa786d625ebab93a010c529
2021-05-31 11:58:21 +00:00
TreeHugger Robot
7a099156f8 Merge "Tweak Memory use layout in Developer options" into sc-dev am: 12a285af4e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14772161

Change-Id: I0d413e8e40848719e319ce8b738974331bc9b6e7
2021-05-31 11:58:12 +00: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
TreeHugger Robot
22ccfbf871 Merge "Disable preference list animation for Internet Settings" into sc-dev am: 3117d90824
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14772150

Change-Id: I66c7d479141ec27fd0a5a146453b579f7c998a70
2021-05-31 09:08:19 +00:00
Galia Peycheva
891105fecd Merge "Repurpose the blurs dev option for window blurs" into sc-dev am: 13caa482bb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14734469

Change-Id: I5280c940caf92d42c79da49b930ad2a45a503113
2021-05-31 09:08:13 +00:00
TreeHugger Robot
b41d62aa68 Merge "[Provider model] Update the Wi-Fi icons in the Settings" into sc-dev am: 567e29adf0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14733191

Change-Id: I9f558139273cec1919b58f69fc841b50644d25ee
2021-05-31 09:07:43 +00:00
TreeHugger Robot
3117d90824 Merge "Disable preference list animation for Internet Settings" into sc-dev 2021-05-31 08:59:06 +00:00
Galia Peycheva
13caa482bb Merge "Repurpose the blurs dev option for window blurs" into sc-dev 2021-05-31 08:49:28 +00:00
TreeHugger Robot
567e29adf0 Merge "[Provider model] Update the Wi-Fi icons in the Settings" into sc-dev 2021-05-31 08:45:46 +00:00
Menghan Li
359d5cbfbc Merge "Update accessibility settings layout" into sc-dev am: e7ce38b60c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14772158

Change-Id: I0d91740d9355aca49aa357ff8973a5ce36ad6fc9
2021-05-31 08:36:29 +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
TreeHugger Robot
a716076ca3 Merge "Fix test case fail in ConnectedDeviceDashboardFragmentTest" into sc-dev am: be5621e6e8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14772151

Change-Id: I8d4a62651df51f07f67c40e76ae16a5365e00a17
2021-05-31 06:18:06 +00:00
TreeHugger Robot
be5621e6e8 Merge "Fix test case fail in ConnectedDeviceDashboardFragmentTest" into sc-dev 2021-05-31 06:01:28 +00: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