Commit Graph

89166 Commits

Author SHA1 Message Date
Zoey Chen
45f29f91e2 Merge "[Settings] Fix test failure of WFC group" into sc-dev am: 38b22563f8 am: ee2b43c9f1 am: 69db832d4e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14912500

Change-Id: I26c24912b0800cd4705574a802ef582ba0c3ac0d
2021-06-09 12:33:04 +00:00
YUKAI HUNG
168d1b79c7 Merge "Resolve locale not update issues in the chart view" into sc-dev am: 4248531508 am: 6312c7a213 am: b4e68c4f2f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14912493

Change-Id: I68338059bd8a0b21578998070d550312dd611cf1
2021-06-09 12:32:53 +00:00
Zoey Chen
765af03e34 Merge "[Settings] Fix test failure of WFC group" into sc-dev am: 38b22563f8 am: 5047a5d041
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14912500

Change-Id: Id165c693a27b946e521d52813ddb06b8a634bfb6
2021-06-09 12:13:03 +00:00
YUKAI HUNG
551786c58f Merge "Resolve locale not update issues in the chart view" into sc-dev am: 4248531508 am: bf203b18e5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14912493

Change-Id: I9c0e257bac048c8b5bbec5640d2e58f4dfb3f9f1
2021-06-09 12:12:49 +00:00
Zoey Chen
69db832d4e Merge "[Settings] Fix test failure of WFC group" into sc-dev am: 38b22563f8 am: ee2b43c9f1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14912500

Change-Id: Ifa3dfce891d11fbdadad4e5947209a71f3f4a87e
2021-06-09 12:12:03 +00:00
YUKAI HUNG
b4e68c4f2f Merge "Resolve locale not update issues in the chart view" into sc-dev am: 4248531508 am: 6312c7a213
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14912493

Change-Id: If15f6d39ee4c4466a7bc84c66d99052728746d51
2021-06-09 12:11:57 +00:00
Zoey Chen
8ca5e6a336 Merge "[Settings] Fix test failure of WFC group" into sc-dev am: 38b22563f8 am: 3cf088904c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14912500

Change-Id: I9534a266ccfa4f6101314316dc71eb61d7ab3e26
2021-06-09 12:11:36 +00:00
YUKAI HUNG
1699b39562 Merge "Resolve locale not update issues in the chart view" into sc-dev am: 4248531508 am: 3cc2a79f44
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14912493

Change-Id: I069690c8c4ec0cf09a79184d843c935b1337b4b6
2021-06-09 12:11:26 +00:00
Zoey Chen
ee2b43c9f1 Merge "[Settings] Fix test failure of WFC group" into sc-dev am: 38b22563f8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14912500

Change-Id: I1e71f378cdfb59767153a9363076780c367e7ebb
2021-06-09 11:58:18 +00:00
YUKAI HUNG
6312c7a213 Merge "Resolve locale not update issues in the chart view" into sc-dev am: 4248531508
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14912493

Change-Id: Icf066ed7b1eb33625e2b8fb16565df29b3f07089
2021-06-09 11:58:11 +00:00
Zoey Chen
3cf088904c Merge "[Settings] Fix test failure of WFC group" into sc-dev am: 38b22563f8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14912500

Change-Id: Ie0acd760d863ded36f4b8eb5a82c2ff272d25f0d
2021-06-09 11:56:53 +00:00
YUKAI HUNG
3cc2a79f44 Merge "Resolve locale not update issues in the chart view" into sc-dev am: 4248531508
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14912493

Change-Id: I9cecc83ff79efafb4f3a2e22fe1fb0c0b59f0975
2021-06-09 11:56:45 +00:00
Zoey Chen
5047a5d041 Merge "[Settings] Fix test failure of WFC group" into sc-dev am: 38b22563f8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14912500

Change-Id: I7f407bf133d33034cf936319e989043c9086490a
2021-06-09 11:56:43 +00:00
YUKAI HUNG
bf203b18e5 Merge "Resolve locale not update issues in the chart view" into sc-dev am: 4248531508
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14912493

Change-Id: I7ada919a6e9d6eeea477858e1d71a4323ede1966
2021-06-09 11:56:29 +00:00
Tsung-Mao Fang
27927f3cb7 Apply android accent color
We should add android accent color to get the correct color.

Test: Icons show up in screen lock page. And see correct color in SUW
flow.
Fix: 190582618

Change-Id: I0d1062288228772fa2ea45103512c8e46793ae9d
2021-06-09 19:51:15 +08:00
Zoey Chen
38b22563f8 Merge "[Settings] Fix test failure of WFC group" into sc-dev 2021-06-09 11:43:47 +00:00
YUKAI HUNG
4248531508 Merge "Resolve locale not update issues in the chart view" into sc-dev 2021-06-09 11:43:41 +00:00
PETER LIANG
8461f806ee Merge changes I99fb2ed2,Iba18bfab into sc-dev am: d2c4944cbb am: f2982d3868 am: 0568f78316
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14823310

Change-Id: If09eea313b1daade0b2a9061ce308b658e6d5006
2021-06-09 11:42:59 +00:00
PETER LIANG
9aa207a0d8 Merge changes I99fb2ed2,Iba18bfab into sc-dev am: d2c4944cbb am: 575ae9574e am: fbd46dc79e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14823310

Change-Id: I8de2a485c8f8472b444f8e3a9aeb3dc1479d1a44
2021-06-09 11:42:48 +00:00
PETER LIANG
0568f78316 Merge changes I99fb2ed2,Iba18bfab into sc-dev am: d2c4944cbb am: f2982d3868
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14823310

Change-Id: I1d7ca4611a622b0b13340b801afc135f1f45427a
2021-06-09 11:22:16 +00:00
PETER LIANG
fbd46dc79e Merge changes I99fb2ed2,Iba18bfab into sc-dev am: d2c4944cbb am: 575ae9574e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14823310

Change-Id: I8c6188251b88a4b42dbd2658a4736b9463fc4377
2021-06-09 11:16:17 +00:00
PETER LIANG
352d6c35ed Merge changes I99fb2ed2,Iba18bfab into sc-dev am: d2c4944cbb am: 150dd5fa0a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14823310

Change-Id: I92b751501a6c00a046c0d87a5ed1e41eefbf606c
2021-06-09 11:14:49 +00:00
Weng Su
7e6d8dd0ff Merge "[Provider Model] Fix the panel non responsive issue" into sc-dev am: 635e57bd4e am: 73a6b9f657 am: 508851aecf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14891919

Change-Id: I4d09a061d6fc6e8c7633fd81c3aacbb741100636
2021-06-09 11:09:25 +00:00
Weng Su
6e4ffc83fb Merge "[Provider Model] Fix the panel non responsive issue" into sc-dev am: 635e57bd4e am: bd31f36a2e am: 2f3c9a00ff
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14891919

Change-Id: Idf5ae174dfbefe78ede33632c20f1c3f7d25dc44
2021-06-09 11:08:48 +00:00
PETER LIANG
f2982d3868 Merge changes I99fb2ed2,Iba18bfab into sc-dev am: d2c4944cbb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14823310

Change-Id: I2ffa32fa36681ded8ad2694b39b9cb315ffd56b6
2021-06-09 11:02:48 +00:00
PETER LIANG
575ae9574e Merge changes I99fb2ed2,Iba18bfab into sc-dev am: d2c4944cbb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14823310

Change-Id: I76e0436b02f078a750562f434bb28e3f81644644
2021-06-09 11:01:22 +00:00
PETER LIANG
150dd5fa0a Merge changes I99fb2ed2,Iba18bfab into sc-dev am: d2c4944cbb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14823310

Change-Id: I65cb326af147f083320fc09a21f851c9e2d6830f
2021-06-09 11:01:20 +00:00
Weng Su
508851aecf Merge "[Provider Model] Fix the panel non responsive issue" into sc-dev am: 635e57bd4e am: 73a6b9f657
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14891919

Change-Id: I3fe603066e66520fbab5090ecdf72df82999c3ad
2021-06-09 10:49:22 +00:00
Weng Su
2f3c9a00ff Merge "[Provider Model] Fix the panel non responsive issue" into sc-dev am: 635e57bd4e am: bd31f36a2e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14891919

Change-Id: Idd86b7e711c94479fd293c84e1fa296d334f4839
2021-06-09 10:48:54 +00:00
Weng Su
e3d6d635bd Merge "[Provider Model] Fix the panel non responsive issue" into sc-dev am: 635e57bd4e am: c390be0a48
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14891919

Change-Id: I71c205542f369b7870dcfce4c7b6960cdb8d7a13
2021-06-09 10:47:34 +00:00
PETER LIANG
d2c4944cbb Merge changes I99fb2ed2,Iba18bfab into sc-dev
* changes:
  Support the lottie image file for the banner in Accessibility Settings.
  Fixing the animation of drawable couldn't play automatically for the banner.
2021-06-09 10:44:10 +00:00
Weng Su
73a6b9f657 Merge "[Provider Model] Fix the panel non responsive issue" into sc-dev am: 635e57bd4e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14891919

Change-Id: I5f8a0cbc49cf3c5af4ce3bc19185a6b046bf9d5d
2021-06-09 10:27:45 +00:00
Mill Chen
59db5a44ac Merge "Update the theme to fix background color problem" into sc-dev am: 6a1ff49cb7 am: bbb527ac0d am: 10682d4b53
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14878872

Change-Id: I25c932b0ff6402df3cdab89cff6d11cab217e197
2021-06-09 10:27:08 +00:00
Mill Chen
16e0926299 Merge "Update the theme to fix background color problem" into sc-dev am: 6a1ff49cb7 am: 81446170b5 am: dd230a77c9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14878872

Change-Id: I17b9483bc9d849f4d67653f9c663149ad783daea
2021-06-09 10:26:39 +00:00
Weng Su
bd31f36a2e Merge "[Provider Model] Fix the panel non responsive issue" into sc-dev am: 635e57bd4e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14891919

Change-Id: Icd43216660f67f288f8515e5ce29d13294074d9f
2021-06-09 10:26:22 +00:00
Weng Su
c390be0a48 Merge "[Provider Model] Fix the panel non responsive issue" into sc-dev am: 635e57bd4e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14891919

Change-Id: I5677e9080696bcfe3f8c34281681f940ba386fb1
2021-06-09 10:26:10 +00:00
Peter_Liang
3ce3a93e71 Support the lottie image file for the banner in Accessibility Settings.
Action:
Currently, the ImageView component couldn’t handle the lottie image from raw resource folder,  so temporarily using the LottieAnimationView from settingsLib to support lottie image for the banner of Accessibility settings.

Bug: 186065724
Bug: 179451422
Test: atest AnimatedImagePreferenceTest
Change-Id: I99fb2ed26085c73bc262c58001de8dec3078e1d0
2021-06-09 10:11:23 +00:00
Weng Su
635e57bd4e Merge "[Provider Model] Fix the panel non responsive issue" into sc-dev 2021-06-09 10:05:51 +00:00
Mill Chen
10682d4b53 Merge "Update the theme to fix background color problem" into sc-dev am: 6a1ff49cb7 am: bbb527ac0d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14878872

Change-Id: I78968d06eba7538e626ae4ec472141c06d4a9272
2021-06-09 10:05:00 +00:00
Mill Chen
dd230a77c9 Merge "Update the theme to fix background color problem" into sc-dev am: 6a1ff49cb7 am: 81446170b5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14878872

Change-Id: I03eb3dd6d88918de9c05985d0e3532b61229a87e
2021-06-09 10:04:01 +00:00
Mill Chen
3ceef75f46 Merge "Update the theme to fix background color problem" into sc-dev am: 6a1ff49cb7 am: b190fd9825
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14878872

Change-Id: Id66a4bd56c4889171b9345eff84dd0a3320334ca
2021-06-09 10:03:35 +00:00
Mill Chen
81446170b5 Merge "Update the theme to fix background color problem" into sc-dev am: 6a1ff49cb7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14878872

Change-Id: I8acbbbd7188ffb186733c72e64a8d6a0219368ed
2021-06-09 09:49:56 +00:00
Mill Chen
b190fd9825 Merge "Update the theme to fix background color problem" into sc-dev am: 6a1ff49cb7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14878872

Change-Id: Ia53917f4d749ce6bda9be95c3a9f954b97f561c7
2021-06-09 09:48:22 +00:00
Mill Chen
bbb527ac0d Merge "Update the theme to fix background color problem" into sc-dev am: 6a1ff49cb7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14878872

Change-Id: Ie6ffda2ab0d98acea7e4431b41b15052cc008090
2021-06-09 09:48:16 +00:00
Arc Wang
bdb70b1078 Tweak UI of CardPreference and ContextualCard
- CardPreference uses settingslib_preference
  layout to fix title/summary alignment issue.

- Remove stroke for CardPreference and ContextualCard.

- Set colorSurface as default card background color.

Bug: 188599776
Test: manual visual
Change-Id: Id0ee40be60de1f7605849490ee43eae4b9420abb
2021-06-09 17:43:43 +08:00
Mill Chen
6a1ff49cb7 Merge "Update the theme to fix background color problem" into sc-dev 2021-06-09 09:36:04 +00:00
Arc Wang
7b85f2af24 'Free up space' uses CardPreference
For material next style.

Bug: 188599776
Test: make RunSettingsRoboTests ROBOTEST_FILTER=CardPreferenceTest
Change-Id: Ibaf4d11ab44017453498676db00cff1e49c83b9d
2021-06-09 17:35:33 +08:00
Yanting Yang
1e2f161950 Correct the app bar color theme of Digital Assistant app
Fixes: 190450049
Test: visual
Change-Id: Ib3ff19bd8a00060400960fd92060ac7b136fd3d5
2021-06-09 17:20:14 +08:00
Alex Johnston
7db8142435 Credential management app UI tweaks
Credential management app Settings screen
* Add uninstall certificates button
* Reformat summary
* Remove dividing lines
Request manage credentials screen
* Make requesting app name bold

Manual testing
* Install TestDPC and select 'Request to
  manage credentials'
* Verify app name is bold and select allow
* Install a certificate as the cred mng app
  via TestDPC
* Go to Setting > Security > Encryption
  & Credentials > Credential Management App
* Verify screen looks like mocks
* Select 'Remove certificates' and
  verify all certificates installed by the
  cred mng app are removed
Settings screen: https://screenshot.googleplex.com/C6n9bnwkw843jgf
Request screen: https://screenshot.googleplex.com/5qH44NXKKGRsdHs

Bug: 189416800
Test: manual testing
      CredentialManagementAppControllerTest
      CredentialManagementAppFragmentTest
      CredentialManagementAppButtonsControllerTest
      CredentialManagementAppHeaderControllerTest
      RequestManageCredentialsTest
Change-Id: I71334b231ae7cefbc055e2575eda5418da2548b4
2021-06-09 10:13:53 +01:00
Tsung-Mao Fang
0ae249e8c7 Fix broken tests for main clear pages
After ag/14438399, a lot of related tests failed.
Create two overlay layout files in robolectric and add original theme
style back.

It's not perfect, but it didn't affect the behavior of tests,
Tests still can build the views and do the original tests.

Test: Run robo test
Fix: 187819138
Change-Id: I7af0e9e6c61fc204efeea03ec3ca8437aeb2d256
2021-06-09 17:08:07 +08:00