Commit Graph

83788 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
Zoey Chen
ff0c06f20a [Settings] Fix test failure of WFC group
Bug: 190569916
Test: atest NetworkProviderWifiCallingGroupTest
Change-Id: Ie520f3709eb0751150fdbda1f14e878ba21e22c4
2021-06-09 09:07:50 +00:00
ykhung
2a75186e4b Resolve locale not update issues in the chart view
- read locale from configuration rather than Locale.getDefault
- refine 12-24 format to align the current status bar short style
- resolve locale change not update chart percentage label
- extend timestamp label in the chart graph from 4 to 5 labels

Bug: 190150515
Bug: 190422902
Bug: 190226837
Test: make SettingsRoboTests
Change-Id: I5347964900123a6d112dbc37c2af87eb7d73f1d2
2021-06-09 16:11:15 +08:00
Alex Johnston
848a388a71 RequestManageCredentials Material Next Spec
* Update buttons to have rounded corners
  and more padding
* Update text colour of buttons
* Update floating action button background
  and text colour

Manual Testing via TestDPC
* Light mode https://screenshot.googleplex.com/8MxZZjftRFMXJhM
* Dark mode https://screenshot.googleplex.com/3vgWrEJnCbzUdhh
* Floating action button https://screenshot.googleplex.com/5H4nfTWz7sNJJmT
* Landscape

Bug: 189193577
Test: Manual testing
       RequestManageCredentialsTest
Change-Id: Iba8b4b6af655abfdab6216e6042ee222c3f745dd
2021-06-09 08:09:54 +00:00
Weng Su
8af8dfd83a [Provider Model] Update the no internet unavailable icon
- Show the no internet unavailable icon when Airplane mode is turned on

Bug: 189205157
Test: manual test
Change-Id: I0f630708fa60fe85177b23a833d40321fcfbffda
2021-06-09 16:07:11 +08:00
Alex Johnston
4ef1438512 RequestManageCredentials landscape mode
* Split screen into two halves, where the left
  side includes the title and the right side
  includes the recycler view, floating action
  button and action buttons.
* https://screenshot.googleplex.com/6Co6kn2DyXZRGNZ
* https://screenshot.googleplex.com/6uwHAGuRHjNcStN

Bug: 189193577
Test: manual testing via TestDPC
      RequestManageCredentialsTest
Change-Id: I9c82a7471c885658aacb40b22166ec801e2833ca
2021-06-09 09:06:49 +01:00
tom hsu
4f3ac2fcbd [Settings] Resolves unsynced infomation between status bar and settings
When activity go to background, the UI message shall be saved, and When
 activity is back to foreground, the UI shows previous state first.
 The situation make unsynced info between status bar and settings's
 page.

Bug: 187091965
Test: Maunal Test
Test: atest passed
Change-Id: I7db2876e91c00126ebfa9dfa5b87d04c1f717e72
2021-06-09 15:19:48 +08:00
Stanley Wang
7a31e187b1 Merge "Fix the problem of the TalkBack function can not be turned on." into sc-dev am: bbab97c955 am: d7875ab8a8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14891917

Change-Id: Ic85199d7631a2339ce6716505ff903719e2ccd2c
2021-06-09 07:13:00 +00:00
Stanley Wang
ae5e3df6aa Merge "Fix the problem of the TalkBack function can not be turned on." into sc-dev am: bbab97c955 am: b48dccad23
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14891917

Change-Id: Ieb324e91218a9acad24c67881f11076ddeb9349f
2021-06-09 07:12:11 +00:00
Stanley Wang
b48dccad23 Merge "Fix the problem of the TalkBack function can not be turned on." into sc-dev am: bbab97c955
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14891917

Change-Id: I3e5cb512904ae1b9a223a099cd1687cd86fa4b21
2021-06-09 06:53:06 +00:00
Stanley Wang
d7875ab8a8 Merge "Fix the problem of the TalkBack function can not be turned on." into sc-dev am: bbab97c955
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14891917

Change-Id: I3804164b0b78e26baecca0ae62294f77b109c636
2021-06-09 06:49:39 +00:00
Stanley Wang
bbab97c955 Merge "Fix the problem of the TalkBack function can not be turned on." into sc-dev 2021-06-09 06:37:29 +00:00
Yanting Yang
86307bf86a Merge "Update homepage summary of Accessibility" into sc-dev am: 426e2cb3e3 am: 4b5b46d5fb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14912494

Change-Id: If9d42a9f93a9046a23b495b4e4752186742416ae
2021-06-09 06:05:43 +00:00
Menghan Li
71f5cf2d06 Merge "Add AccessibilityShortcutPreferenceFragment to share non-accesibility tools to add shortcut" into sc-dev am: c4609d14f4 am: 830a8c2aa1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14860442

Change-Id: I9dfccbedd4823e9affc82cf93e9743ec9bd85afc
2021-06-09 06:05:39 +00:00
Menghan Li
d90666f8df Merge "Move DialogEumn into AccessibilityDialogUtils" into sc-dev am: 0a9d2385f0 am: 154699afe1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14860441

Change-Id: I576dcdac16cde922ef554420a36409435855dc2b
2021-06-09 06:05:31 +00:00
Tsung-Mao Fang
0faa98f914 Merge "Remove the large space when searching region list" into sc-dev am: 0a8ab3a543 am: fd9cca8aed
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14880232

Change-Id: I70933408fde7eccb0d9a230a4165f5975a2eb965
2021-06-09 06:05:22 +00:00
Yanting Yang
44cbf0e8cd Merge "Update homepage summary of Accessibility" into sc-dev am: 426e2cb3e3 am: e4000f3dce
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14912494

Change-Id: Id1b7e39069143ed439853e72d61238aa341afdb4
2021-06-09 06:04:49 +00:00
Menghan Li
a3767556a6 Merge "Add AccessibilityShortcutPreferenceFragment to share non-accesibility tools to add shortcut" into sc-dev am: c4609d14f4 am: e1102cce62
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14860442

Change-Id: Ie894ec8b484ddbbe900ac1cf026adca835e959ef
2021-06-09 06:04:45 +00:00
Menghan Li
585720f5f2 Merge "Move DialogEumn into AccessibilityDialogUtils" into sc-dev am: 0a9d2385f0 am: 0ad9f3957e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14860441

Change-Id: I2bdf074a815c9f3c931469c7523e9de8ffc7e644
2021-06-09 06:04:36 +00:00
Tsung-Mao Fang
9a0d7975d6 Merge "Remove the large space when searching region list" into sc-dev am: 0a8ab3a543 am: cb834a8351
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14880232

Change-Id: Iea504d76f525b3e8285e14bf8cf7641b2a41acdb
2021-06-09 06:04:26 +00:00
Yanting Yang
e4000f3dce Merge "Update homepage summary of Accessibility" into sc-dev am: 426e2cb3e3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14912494

Change-Id: I8e13aca1b50470dedbc586e7b73c182ac0ba5e47
2021-06-09 05:51:08 +00:00
Menghan Li
e1102cce62 Merge "Add AccessibilityShortcutPreferenceFragment to share non-accesibility tools to add shortcut" into sc-dev am: c4609d14f4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14860442

Change-Id: I3322f2432976978c3b88983145f78d3251a695c4
2021-06-09 05:51:04 +00:00
Menghan Li
0ad9f3957e Merge "Move DialogEumn into AccessibilityDialogUtils" into sc-dev am: 0a9d2385f0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14860441

Change-Id: Ie7ed233427dfdb4ef9bcf0b41e6062a514a5350c
2021-06-09 05:50:59 +00:00
Tsung-Mao Fang
cb834a8351 Merge "Remove the large space when searching region list" into sc-dev am: 0a8ab3a543
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14880232

Change-Id: I3770863b0a3a35945cab84dfe5bc5ce165d8e1da
2021-06-09 05:50:52 +00:00