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
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
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
f7f9f6e8f4
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: I6cbe3ccc97cc976530c2e1fca78a8bb03460ab3a
2021-06-09 05:49:29 +00:00
Menghan Li
57f5ad34be
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: I11ae915fa9c4a7a9f0446522df4abf9d2d2cdfdf
2021-06-09 05:49:25 +00:00
Menghan Li
f9934b37d3
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: I33c8ef3b4ae7bbd5027416376a27d192a38faaf2
2021-06-09 05:49:21 +00:00
Tsung-Mao Fang
5371a47dcc
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: I5167ded98e1546b5cbbb5ce609dd8c7adc62b393
2021-06-09 05:49:16 +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
Edgar Wang
da4651e7c3
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: Icb5e999702daf38255788df00635f40b0df7c6f7
2021-06-09 04:09:04 +00:00
TreeHugger Robot
18fb8ec7aa
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: I7819e71116a096ffe0be80b5b274538ecf371a08
2021-06-09 04:08:24 +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
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
73f147787e
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: If87642a05644da97cfee0b6cf4df0805e9c3638c
2021-06-08 20:22:14 +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
873b52cb69
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: I58463c76cbf2b8f764bc5891524001c76c47cfb9
2021-06-08 19:42:13 +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
eaaff9bf24
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: I5f0b97408748f38827486bc169b4bf134d00aa1e
2021-06-08 19:33:30 +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
85d03642f9
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: I8b2cf8978fd2abcc0ddf298ec4eee91ccb485ece
2021-06-08 13:51:38 +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
ykhung
ae1797ec46
Remove BatteryTipPolicyTest first to avoid blocking presubmit
...
Bug: 190150515
Test: make SettingsGoogleRoboTests
Change-Id: If97e0853d7904919f54f4c4b970380f6fb40efc6
2021-06-08 19:04:55 +08:00
Yi-Ling Chuang
4d7da4a425
Remove FLAG_ACTIVITY_NEW_TASk when there is transition
...
Making activities launch in a separate task breaks the page transition.
Reviewed the history of the addition of these flags, they seem stale and
are no longer needed, so remove these when the transition is applied.
Bug: 189412031
Test: Tap on any badged entry and see it being launched in the same
task.
Change-Id: I60b2ec0b2772cd3bdc8c4ebbc83cedd2a603492a
2021-06-08 18:55:49 +08:00
Giuliano Procida
d26cb5c9a9
Merge "Revert "Apply SettingsLib SeekBarPreference to Settings"" into sc-dev am: ef0e09f7a3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14880698
Change-Id: I10a2dae0b29c97daaf39699d859b7a7e3d899ec6
2021-06-08 10:02:46 +00:00
Giuliano Procida
ef0e09f7a3
Merge "Revert "Apply SettingsLib SeekBarPreference to Settings"" into sc-dev
2021-06-08 09:55:58 +00:00
Edgar Wang
cdff5c6ceb
Revert "Apply SettingsLib SeekBarPreference to Settings"
...
Revert submission 13422386-seekbar-sc-dev
Reason for revert: build broken in SettingsGoogle
Reverted Changes:
I0c2d0d5fb:Apply SettingsLib SeekBarPreference to SettingsGoo...
I1844bb3b0:Apply SettingsLib SeekBarPreference to a11y vibrat...
Ia3e4adec8:Apply SettingsLib SeekBarPreference to a11y vibrat...
Iadee57e9d:Apply SettingsLib SeekBarPreference to a11y vibrat...
I219878716:Apply SettingsLib SeekBarPreference to Settings
I959f5672c:Create SettingsLibSeekBarPreference
I92545a69c:Apply SettingsLib SeekBarPreference to a11y vibrat...
Change-Id: Ie6c3b0dc072e044796abdb33fca305f9f9d47c4d
Bug: 176818438
2021-06-08 09:47:51 +00:00
Zoey Chen
c5d3d68289
Merge "[Provider Model] Should not show WiFi call if all sims do not support it." into sc-dev am: bef9945917
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14860439
Change-Id: I3a0271153666fc7bbc9b936115e27ef6bf9f04af
2021-06-08 09:17:04 +00:00
Zoey Chen
bef9945917
Merge "[Provider Model] Should not show WiFi call if all sims do not support it." into sc-dev
2021-06-08 09:03:42 +00:00
Tsung-Mao Fang
d0f6bef80b
Merge "Apply accent color for password icon" into sc-dev am: d7a35d95c6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14880639
Change-Id: I50e0466c0bf927f33a75794ccf0e393027f6b880
2021-06-08 08:34:05 +00:00
Tsung-Mao Fang
d7a35d95c6
Merge "Apply accent color for password icon" into sc-dev
2021-06-08 08:21:04 +00:00
Edgar Wang
5863ab2406
Merge "Apply SettingsLib SeekBarPreference to Settings" into sc-dev am: 4aad4a88a7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13422705
Change-Id: Ibbf4aa55e8dd72ff2c60e2889197ed5af4589fe1
2021-06-08 07:38:40 +00:00