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
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
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
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
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
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
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
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
Yanting Yang
426e2cb3e3
Merge "Update homepage summary of Accessibility" into sc-dev
2021-06-09 05:44:49 +00:00
Menghan Li
c4609d14f4
Merge "Add AccessibilityShortcutPreferenceFragment to share non-accesibility tools to add shortcut" into sc-dev
2021-06-09 05:42:08 +00:00
Menghan Li
0a9d2385f0
Merge "Move DialogEumn into AccessibilityDialogUtils" into sc-dev
2021-06-09 05:41:00 +00:00
Tsung-Mao Fang
0a8ab3a543
Merge "Remove the large space when searching region list" into sc-dev
2021-06-09 05:34:23 +00:00
Joshua Mccloskey
e80c5cddd2
BiometricEnrollIntroduction button update
...
No longer show the "No thanks" button until the user has
scrolled to the bottom of the introduction text.
This applies for both face and fingerprint enroll introduction screens.
Fixes: 189268868
Test: Manual
Change-Id: I0ccf6ae1d329df06f769f05288706ef22183bc21
2021-06-08 22:25:16 -07:00
Edgar Wang
a0a7ff6d76
Moving progressBarHorizontalStyle to SettingsLib
...
Bug: 190467533
Test: rebuild & manual
Change-Id: I5f7f493b7c100c06ff5328706906bf33bae34e56
2021-06-09 04:23:13 +00:00
Yanting Yang
b458c1d4ab
Update homepage summary of Accessibility
...
Fixes: 190015037
Test: robotests & visual
Change-Id: Iab001452ae240aee3d3d1ebe9d58c96bda66a50d
2021-06-09 12:04:31 +08:00
Edgar Wang
ceff426418
Merge "Move Power menu from Gesture to System Settings" into sc-dev am: b62dedf9c8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14880631
Change-Id: I98704f6b1c936bbff4b21b53e080bb79e8fcfb42
2021-06-09 04:03:07 +00:00
TreeHugger Robot
38965b8a66
Merge "Fix AppBatteryPreferenceControllerTest test fail" into sc-dev am: 75d3635712
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14860446
Change-Id: Ia719b13569cc498ffdbf9472c1adc27a9c47a998
2021-06-09 04:02:52 +00:00
Edgar Wang
b62dedf9c8
Merge "Move Power menu from Gesture to System Settings" into sc-dev
2021-06-09 03:42:44 +00:00
TreeHugger Robot
75d3635712
Merge "Fix AppBatteryPreferenceControllerTest test fail" into sc-dev
2021-06-09 03:30:10 +00:00
Chen Xu
4198a5f6e1
Merge "UK emergency alert app rename" into rvc-qpr-dev am: 3bdcdae23f
am: 35e1f0d189
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14645166
Change-Id: Iff7a47659fb1c667193d286109e1c01a575e025f
2021-06-08 20:23:44 +00:00
Chen Xu
35e1f0d189
Merge "UK emergency alert app rename" into rvc-qpr-dev am: 3bdcdae23f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14645166
Change-Id: Ia624be832a8e3f2764db2f8f5529b64a91e5b2a2
2021-06-08 20:06:21 +00:00
Chen Xu
3bdcdae23f
Merge "UK emergency alert app rename" into rvc-qpr-dev
2021-06-08 19:50:39 +00:00
Curtis Belmonte
0f1d52acb9
Merge "Fix color and asset name for large face enroll icon" into sc-dev am: 99faae35fc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14887393
Change-Id: Ibae403e665aabe9093ec2ad8fc8665828c310cf4
2021-06-08 19:36:53 +00:00
Curtis Belmonte
99faae35fc
Merge "Fix color and asset name for large face enroll icon" into sc-dev
2021-06-08 19:36:05 +00:00
Matt Casey
9f962fea7b
Merge "Update system settings to honor device defaults for assistant invocation" into sc-dev am: fc10ab9c98
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14843840
Change-Id: I7d4e1e0e613c4e5cd449f1401332a3803a27b760
2021-06-08 19:35:44 +00:00
Matt Casey
fc10ab9c98
Merge "Update system settings to honor device defaults for assistant invocation" into sc-dev
2021-06-08 19:02:06 +00:00
Chen Xu
3b8c6118c1
UK emergency alert app rename
...
Bug: 179052608
Test: Build
Change-Id: Ic9d4e1138113e3c90abb27ba0a72d2ed07528c1e
(cherry picked from commit f7e3d57023
)
Merged-in: Ic9d4e1138113e3c90abb27ba0a72d2ed07528c1e
2021-06-08 18:09:46 +00:00
Edgar Wang
ad973331ea
Move Power menu from Gesture to System Settings
...
- Add icon for Power menu
- Remove from Gesture Settings
- Add to System Settings
Bug: 168176408
Test: manual
Change-Id: Ie7d5530d7e4e32a6db5ce43717131018944bbe28
2021-06-08 17:22:43 +00:00
Weng Su
8c29ff0a27
[Provider Model] Fix the panel non responsive issue
...
Bug: 187340277
Test: manual test
atest -c ProviderModelSliceTest
Change-Id: Ie27a5049b2cab05b7c7936395d0db85c3c594d96
2021-06-09 00:35:53 +08:00
menghanli
e771cbb1aa
Add AccessibilityShortcutPreferenceFragment to share non-accesibility tools to add shortcut
...
Bug: 190022774
Test: make RunSettingsRoboTests -j52 ROBOTEST_FILTER=AccessibilityShortcutPreferenceFragmentTest
Change-Id: I1cae8fbed059ba7c309126e2dff46adfb48cffd8
2021-06-08 22:58:05 +08:00
YUKAI HUNG
6c971a8a99
Merge "Remove BatteryTipPolicyTest first to avoid blocking presubmit" into sc-dev am: f7b90c3a7f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14880237
Change-Id: I13b27a08eaf329121524220071d2cec3e5be8684
2021-06-08 13:53:10 +00:00
YUKAI HUNG
f7b90c3a7f
Merge "Remove BatteryTipPolicyTest first to avoid blocking presubmit" into sc-dev
2021-06-08 13:42:04 +00:00
Stanley Wang
fab609f892
Fix the problem of the TalkBack function can not be turned on.
...
- Check the states of the switch and the accessibility service.
If the states are different, update the state of accessibility
service.
Fix: 190309601
Test: robotest and test the TalkBack manually.
Change-Id: Id8c28223b1958087e7cdc481348487376afa2203
2021-06-08 20:34:55 +08:00
Tsung-Mao Fang
11c4b2c51e
Remove the large space when searching region list
...
Collapse the tool bar when we're doing search for
a better user experience.
And we don't allow user can expand the tool bar at this moment
since it will see a large space at this moment.
Fix: 181741353
Test: Open the page and don't see a huge space now.
Change-Id: Iec5ebe9b22a2aad15dc8cf90113a64c358ee447e
2021-06-08 11:44:38 +00:00