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
Menghan Li
313ce94b88
Merge "Add AccessibilityShortcutPreferenceFragment to share non-accesibility tools to add shortcut" into sc-dev am: c4609d14f4
am: 57f5ad34be
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14860442
Change-Id: I2c3c1ce430174be7261f1b121d63589f5f1b5e87
2021-06-09 06:04:14 +00:00
Menghan Li
87fd9a6816
Merge "Move DialogEumn into AccessibilityDialogUtils" into sc-dev am: 0a9d2385f0
am: f9934b37d3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14860441
Change-Id: I66b8de764f6b69a40264a122100e81c8adc169d9
2021-06-09 06:04:09 +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
TreeHugger Robot
c6050c893e
Merge "Fix AppBatteryPreferenceControllerTest test fail" into sc-dev am: 75d3635712
am: 18fb8ec7aa
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14860446
Change-Id: I2dade4d55a82a92df15e726af992bb5931f94e84
2021-06-09 04:28:21 +00:00
TreeHugger Robot
75d3635712
Merge "Fix AppBatteryPreferenceControllerTest test fail" into sc-dev
2021-06-09 03:30:10 +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
b7f3344b58
Merge "Remove BatteryTipPolicyTest first to avoid blocking presubmit" into sc-dev am: f7b90c3a7f
am: 85d03642f9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14880237
Change-Id: I6029a1829a27d1da0f43c2eb3af74802ae385c6c
2021-06-08 14:10:41 +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
Giuliano Procida
7362a2b843
Merge "Revert "Apply SettingsLib SeekBarPreference to Settings"" into sc-dev am: ef0e09f7a3
am: d26cb5c9a9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14880698
Change-Id: Id629bec6759ee8611f842d7ee7c840fe077a298e
2021-06-08 10:04:28 +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
Edgar Wang
79f237ef42
Merge "Apply SettingsLib SeekBarPreference to Settings" into sc-dev am: 4aad4a88a7
am: 5863ab2406
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13422705
Change-Id: I1326a91377255abf12cc4a40e2268c8609ca7c90
2021-06-08 08:22:13 +00:00
Edgar Wang
4aad4a88a7
Merge "Apply SettingsLib SeekBarPreference to Settings" into sc-dev
2021-06-08 07:23:54 +00:00
tom hsu
f7811dfd09
[Settings] Disable gear button if user is not admin.
...
- Mobile settings include many settings which second user shall not
modify, so make gear button disabled to avoid second user want to try.
Bug: 184303943
Test: Maunal test passeded
Test: atest passed.
Change-Id: Ic04fa71772df4ac424965ad2ca95733b1e15d6a7
2021-06-08 15:03:00 +08:00
Edgar Wang
d6b5bbb5cb
Apply SettingsLib SeekBarPreference to Settings
...
Bug: 176818438
Test: robotest
Change-Id: I219878716457ce4bb7cad251bccf5d50d93030a5
2021-06-07 18:09:19 +00:00
Peter_Liang
b1bcedc055
Fixing the animation of drawable couldn't play automatically for the banner.
...
Root cause:
Only supported AnimatedImageDrawable before.
Solution:
Support all classes which implement Animatable
Bug: 190032215
Test: atest AnimatedImagePreferenceTest
Change-Id: Iba18bfab9a46fd02f642d66a3bb9b9ce513c4456
2021-06-07 22:46:53 +08:00
TreeHugger Robot
4d45474cc9
Merge "Revert DND toggle back to a button" into sc-dev am: 5484fd3060
am: 326d9d2129
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14801370
Change-Id: Idc82b6b47ee782dd5462198edc3a04861f0fa9a0
2021-06-07 14:16:34 +00:00
TreeHugger Robot
5484fd3060
Merge "Revert DND toggle back to a button" into sc-dev
2021-06-07 13:40:54 +00:00
Yanting Yang
154e9a0b31
Merge "Update homepage summaries" into sc-dev am: 8b3f0e8d52
am: 8cb77c6609
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14847059
Change-Id: I513c48904601cb376de0ee50277a21a0c452821b
2021-06-07 11:21:28 +00:00
Yanting Yang
8b3f0e8d52
Merge "Update homepage summaries" into sc-dev
2021-06-07 10:55:08 +00:00
Wesley.CW Wang
cb40bd2947
Fix AppBatteryPreferenceControllerTest test fail
...
Bug: 190187197
Bug: 190239610
Test: make RunSettingsRoboTests
Change-Id: I113eb738003531c67acd72aa8f597e9c34ca2cc9
2021-06-07 14:59:13 +08:00
menghanli
78c093b0b3
Move DialogEumn into AccessibilityDialogUtils
...
Bug: 190022774
Test: Manual testing
Change-Id: I391089b675b415c26bbacd028caf1d1ab617e707
2021-06-07 13:38:50 +08:00
Yanting Yang
3e2313e958
Update homepage summaries
...
- Network & internet
- Connected devices
- Display
- Wallpaper & style
- Accessibility
- Tips & support
- Also clear the redundant codes and tests.
Fixes: 183642373
Fixes: 189981034
Fixes: 190011428
Fixes: 190015037
Test: robotests & visual
Change-Id: Ide19fa5aff67e093d86b259c5e7a307b9ad37550
2021-06-06 12:28:03 +08:00
Kevin Han
8fc4e9d496
Merge "Move unused apps count calculation to bg thread" into sc-dev am: 603cd6c44c
am: 71c447494a
am: 8e813a0fbc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14795269
Change-Id: I42dedf8798bc6af57347c0d5f6ec672622a0ac80
2021-06-05 00:13:10 +00:00
Kevin Han
603cd6c44c
Merge "Move unused apps count calculation to bg thread" into sc-dev
2021-06-04 23:35:55 +00:00
Chloris Kuo
80d21be186
Merge "Fix NotificationAssistantPreferenceController constructor" into sc-dev am: f9bde76ab9
am: 7327a3426d
am: e83a9465b2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14829751
Change-Id: Id7a47696bcdd5a3389e407833c9dda6189fb821f
2021-06-04 21:10:58 +00:00
Chloris Kuo
f9bde76ab9
Merge "Fix NotificationAssistantPreferenceController constructor" into sc-dev
2021-06-04 20:27:46 +00:00
Chloris Kuo
5028e6e6a6
Fix NotificationAssistantPreferenceController constructor
...
Fix flaky test due to the constructor must either only take Context, or
(Context, String).
Bug: 187998873
Test: CodeInspectionTest, NotificationAssistantPreferenceControllerTest
Change-Id: Ie383ea6773afda05adfb7aa9d7de9e27676f6b29
2021-06-04 11:39:36 -07:00
TreeHugger Robot
549dac0dc3
Merge "Storage Settings hides categories when loading" into sc-dev am: 03d4644673
am: 1a181a3239
am: e6c6db1f61
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14772155
Change-Id: I321a39dc2d76d16a8f4551f7e5157a0d1a1fc7b3
2021-06-04 12:04:29 +00:00
TreeHugger Robot
03d4644673
Merge "Storage Settings hides categories when loading" into sc-dev
2021-06-04 11:09:01 +00:00
Arc Wang
e9c5a06eff
Set storage volume spinner invsible when only 1 volume am: 1beae1bf91
am: 10e549ac37
am: e6f4c37dca
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14831304
Change-Id: Iff52b0bf9c89821b190bed8f01f7281bd34ab947
2021-06-04 09:49:16 +00:00
Arc Wang
1beae1bf91
Set storage volume spinner invsible when only 1 volume
...
Bug: 189390166
Test: atest StorageSelectionPreferenceControllerTest
Change-Id: I93e5fbf50153580ec60c146959d21e61f556c18c
2021-06-04 07:25:30 +00:00
Arc Wang
51b3e7a093
Storage Settings hides categories when loading
...
To hide sorting animation.
- Storage Settings always loads cache and updates UI, then
loads storage size and updates UI.
Remove the chche design because storage category preferences
will hide during loading, it no meaning to load from cache
and update UI.
- Hides loading circle before storage category preferences
become visible, it prevents flickers.
- Remove Calculating... summary of StorageItemPreference.
- Private storage category preferences and secondary user
preference become visible at
StorageItemPreferenceController#onLoadFinished.
Bug: 188731179
Bug: 185547228
Bug: 188615591
Test: atest com.android.settings.deviceinfo
atest com.android.settings.deviceinfo.storage
make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.deviceinfo
make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.deviceinfo.storage
manual visual
Change-Id: I3ebef5829ef4f806add07f58fa02520804768be5
2021-06-04 11:50:12 +08:00
Kevin Han
8df22e7cd9
Move unused apps count calculation to bg thread
...
Move the somewhat expensive calculation of the "Unused apps" count to
the background thread
Initially, the "Unused apps" preference is unavailable. When the bg work
finishes and we see we have a non-zero number of unused apps, we display
the preference and update the summary text.
Bug: 187996287
Test: atest HibernatedAppsPreferenceControllerTest
Test: measure latency of displaying preferences w/ custom trace points
Change-Id: Idb0d836fd8f4bcdd2605a7d59703a7ed53bcd6d4
2021-06-03 19:14:25 -07:00
Chloris Kuo
14c48731e6
Merge "Fix flaky NotificationAssistantPreferenceControllerTest" into sc-dev am: 8f5ccfaef0
am: 511a2ceffa
am: 1bb421e6e2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14810398
Change-Id: I251ce347058eac0d829c09b5c959530f6df33156
2021-06-03 17:59:09 +00:00
Abel Tesfaye
f3cb092d6d
Merge "Use list+ toggle on devices without face detection" into sc-dev am: 040e5ef894
am: 09ed6e8e29
am: a44ce91272
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14040065
Change-Id: Ifde0dcd5fa3cebe535d2f305c077642b265d51f2
2021-06-03 17:33:59 +00:00
Chloris Kuo
8f5ccfaef0
Merge "Fix flaky NotificationAssistantPreferenceControllerTest" into sc-dev
2021-06-03 17:29:59 +00:00
Abel Tesfaye
040e5ef894
Merge "Use list+ toggle on devices without face detection" into sc-dev
2021-06-03 16:40:58 +00:00
Les Lee
e57dc6946c
Merge "wifi direct: Close the channel after leaving the Setting page" into sc-dev am: c48cf5ee37
am: 0c4c0e5e33
am: 54ef94eded
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14786728
Change-Id: Ifaabf8fe1cefdc7a617a4590fd2aa8f8c3bf969a
2021-06-03 15:08:06 +00:00
Les Lee
c48cf5ee37
Merge "wifi direct: Close the channel after leaving the Setting page" into sc-dev
2021-06-03 14:08:51 +00:00
TreeHugger Robot
80086988aa
Merge "Fix broken test" into sc-dev am: f8641a4d86
am: 6ee940be8a
am: 7076e28e95
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14809883
Change-Id: Ifee98512336878eb1f315db0d7615ade7c6c4b4b
2021-06-03 11:00:19 +00:00
Syaoran Kuo
3c845b402a
Merge "Adjuest battery saver component test for new logic" into sc-dev am: e4be9a7b62
am: 0278cde7ed
am: de68d97f8f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14292665
Change-Id: Ic1757ac4beeac0226058ff0ffe85bd5200cc8c51
2021-06-03 11:00:01 +00:00
TreeHugger Robot
f8641a4d86
Merge "Fix broken test" into sc-dev
2021-06-03 09:55:08 +00:00
Syaoran Kuo
e4be9a7b62
Merge "Adjuest battery saver component test for new logic" into sc-dev
2021-06-03 09:42:43 +00:00
YUKAI HUNG
c736e56822
Merge "Remove missed added testing locale to cause flaky" into sc-dev am: fa476aef12
am: f1864c0efb
am: e4144d397e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14809876
Change-Id: I11ba01c1dc7456c2eb568f95ba29d7611e2bf6da
2021-06-03 09:04:20 +00:00
Tsung-Mao Fang
0b9ce16c13
Fix broken test
...
Fix: 190017630
Test: robo test
Change-Id: I46978a3f3d3d564cd9fcabad47edf6907d4e4966
2021-06-03 16:10:36 +08:00
Betty Chang
d15a754fe1
Merge "Remove Connect to public network for Network Rating Provider" into sc-dev am: f4fafb97ff
am: d18caf8fa8
am: d1ce9256dc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14809873
Change-Id: Ib59dc98922e083ecd37a8417bcce43b14408ac3b
2021-06-03 07:51:56 +00:00