Commit Graph

88842 Commits

Author SHA1 Message Date
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
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
Bonian Chen
6546d68217 [Settings] Change API for backup calling supporting status
Change API for detecting backup calling supporting status.

Bug: 182326102
Test: local
Change-Id: I4bda5f518e042ba23f48cddd3b4c8baebc5e2330
2021-06-09 07:35:41 +00:00
Stanley Wang
d47940341b Merge "Fix the problem of the TalkBack function can not be turned on." into sc-dev am: bbab97c955 am: d7875ab8a8 am: 7a31e187b1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14891917

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

Change-Id: I3c868229e4a09eff9ebb8da48155b8a30aa6d59f
2021-06-09 07:26:58 +00:00
Bonian Chen
137e7610b8 [Settings] Change API for backup calling supporting status
Change API for detecting backup calling supporting status.

Bug: 182326102
Test: local
Change-Id: I4bda5f518e042ba23f48cddd3b4c8baebc5e2330
2021-06-09 15:25:03 +08: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
3df28f0aad Merge "Fix the problem of the TalkBack function can not be turned on." into sc-dev am: bbab97c955 am: 5a257c43a0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14891917

Change-Id: I3ed5c930ab1fb717fb7aca1ad38f11dab38dbdbb
2021-06-09 07:04:40 +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
5a257c43a0 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: I169aae67d7c8c47bf4ccd4aa3c22e58ee9acbb99
2021-06-09 06:51:33 +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
abffe50a55 Merge "Update homepage summary of Accessibility" into sc-dev am: 426e2cb3e3 am: 4b5b46d5fb am: 86307bf86a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14912494

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

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

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

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

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

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

Change-Id: I3fd1245a48980aaeeef44b25f050fde32a411feb
2021-06-09 06:18:01 +00:00