Abel Tesfaye
a4f4f50eef
Merge "Add warning message when power save mode is enabled for smart auto rotate settings fragment" into sc-dev am: 43905b3459
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14430041
Change-Id: Id755391ca396bce2da9526bd03e49905b25929be
2021-05-12 21:26:34 +00:00
Abel Tesfaye
43905b3459
Merge "Add warning message when power save mode is enabled for smart auto rotate settings fragment" into sc-dev
2021-05-12 19:27:51 +00:00
YUKAI HUNG
14c574f6c8
Merge "Fix GAR issue for battery chart description and the contrast ratio" into sc-dev am: 0d765c45a4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14514139
Change-Id: I87667fd8350f235f38a10f586b0c87a85d07439a
2021-05-12 16:58:58 +00:00
ykhung
2102059e2d
Fix GAR issue for battery chart description and the contrast ratio
...
Bug: 187813918
Bug: 187811403
Test: make SettingsRoboTests
Change-Id: I4fae623a305fd1ee022336bcae35d9dd9995146d
2021-05-12 15:38:33 +00:00
Wesley Wang
634496dda1
Merge "Update battery charging status string" into sc-dev am: 0f8673407a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14514133
Change-Id: I4d48fdf9f3f71c02209757b497a1be721899bd0d
2021-05-12 15:17:11 +00:00
Wesley Wang
0f8673407a
Merge "Update battery charging status string" into sc-dev
2021-05-12 14:57:30 +00:00
TreeHugger Robot
22652621f9
Merge "Fix NPE on guest user" into sc-dev am: 1f9e88377c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14505816
Change-Id: Ia7dd2ca40b7a3d33e157aad2bdee9ec5fe2ee7a2
2021-05-12 13:55:12 +00:00
TreeHugger Robot
1f9e88377c
Merge "Fix NPE on guest user" into sc-dev
2021-05-12 13:32:08 +00:00
Wesley.CW Wang
2c6fd8fd3b
Update battery charging status string
...
- Present status string only when status anomalous
- Remove app usage pages divider
Bug: 185448191
Bug: 187767337
Bug: 187778673
Test: make SettingsRoboTests
Change-Id: I7829e9deed05fb7d95d483ddb718abfdc53b1aa6
2021-05-12 21:14:23 +08:00
Wesley Wang
3e7ec9bcf0
Merge "Update battery state string" into sc-dev am: e966debfd5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14495886
Change-Id: I24d6a2239c2d2577c0c0bb3286d6c9edd39aaac2
2021-05-12 10:31:56 +00:00
Wesley Wang
e966debfd5
Merge "Update battery state string" into sc-dev
2021-05-12 10:14:58 +00:00
YUKAI HUNG
7a471760ea
Merge "Clear static icon and label cache if ui mode is changed" into sc-dev am: d78cd7272d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14514123
Change-Id: Ifa38475def3d22e67b6982174c67631c217bb927
2021-05-12 09:53:42 +00:00
YUKAI HUNG
d78cd7272d
Merge "Clear static icon and label cache if ui mode is changed" into sc-dev
2021-05-12 09:21:23 +00:00
Menghan Li
f24a6d011e
Merge "Fix style in "Vision Settings" is inconsistent" into sc-dev am: fd05966f4f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14493677
Change-Id: Ided1aa9691700ecadb5451764a117318becbee68
2021-05-12 09:00:39 +00:00
Menghan Li
f844bdd355
Merge "[Material Next] Support "Learn more" for help link" into sc-dev am: 7bdf791e6c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14486196
Change-Id: If63815ee9d0704744a9f553c0738359fa646d209
2021-05-12 09:00:33 +00:00
Menghan Li
fd05966f4f
Merge "Fix style in "Vision Settings" is inconsistent" into sc-dev
2021-05-12 08:49:55 +00:00
Menghan Li
7bdf791e6c
Merge "[Material Next] Support "Learn more" for help link" into sc-dev
2021-05-12 08:44:30 +00:00
TreeHugger Robot
0b43270035
Merge "Implements profile selection tab in Storage Settings" into sc-dev
2021-05-12 07:48:43 +00:00
menghanli
11a0700847
Fix style in "Vision Settings" is inconsistent
...
Root cause: "Accessibility button" page apply BC style but other pages in SUW didn't. It causes page style inconsistency.
Solution: Don't show annotation link to make user open "Accessibility
button" page during SuW.
Bug: 187658718
Test: Manual testing
Change-Id: I6cc3da9a72b68829efd5537ae93fc329ef716fb4
2021-05-12 07:16:05 +00:00
ykhung
5a783d0815
Clear static icon and label cache if ui mode is changed
...
we should clear icon cache if theme is changed between light and dark
theme, otherwise we may show incorrect styled icon for applications
Bug: 185187729
Test: make SettingsRoboTests
Change-Id: Ib06abe5a5345b2ea363a04ecaec886a4765fd8ab
2021-05-12 06:53:56 +00:00
YUKAI HUNG
55f9c92e00
Merge "Should not show internal package entry in the usage list" into sc-dev am: 0d00ace0d2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14511219
Change-Id: I391e5b838a70c431ecf31b51f032d6eb274602a6
2021-05-12 06:31:57 +00:00
menghanli
7979d9337a
[Material Next] Support "Learn more" for help link
...
Allow CaptionManager, Magnification, Color correction, Color inversion,
Time to take action, and Autoclick.
Bug: 187671696
Test: make RunSettingsRoboTests -j52 ROBOTEST_FILTER=AccessibilityFooterPreferenceTest
Change-Id: I9d753243d4f61b6b3d58b50425b7a75a812a481d
2021-05-12 13:53:44 +08:00
ykhung
28605dcf16
Should not show internal package entry in the usage list
...
Bug: 187770266
Test: make SettingsRoboTests
Change-Id: I56897c8f91295ba2139b7fda8c59a863130ecd86
2021-05-12 05:17:22 +00:00
TreeHugger Robot
001368fbbe
Merge "Add tests for guest user events" into sc-dev am: abd44a8a2e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14491474
Change-Id: I6d6adbb8e3c22405b69eebfaf82fb09a91a46ec1
2021-05-12 04:27:23 +00:00
TreeHugger Robot
abd44a8a2e
Merge "Add tests for guest user events" into sc-dev
2021-05-12 03:59:44 +00:00
ykhung
8b8ee73bad
Keep selected time slot and expand state when device is rotate am: 9ef9e1ee0c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14503317
Change-Id: Icfb7502b0e134abbfc30650452ee467be700c9cf
2021-05-12 03:34:00 +00:00
ykhung
9ef9e1ee0c
Keep selected time slot and expand state when device is rotate
...
Bug: 187772493
Test: make SettingsRoboTests
Change-Id: If70abf06825a88f0ad0add37ef8d4f46a0aad1e9
2021-05-12 03:28:59 +00:00
PETER LIANG
0ff0095ea7
Merge "Provide a way to Accessibility button settings via intent." into sc-dev am: f2d70ab320
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14008225
Change-Id: I4cbd283a0c29e2794f9f815f04736f1690e5e618
2021-05-12 03:23:33 +00:00
TreeHugger Robot
0d3bfddd5b
Merge "Implements profile selection tab in Storage Settings"
2021-05-12 03:11:00 +00:00
PETER LIANG
f2d70ab320
Merge "Provide a way to Accessibility button settings via intent." into sc-dev
2021-05-12 02:59:10 +00:00
Julia Reynolds
748b61ce2e
Fix NPE on guest user
...
Test: RoboTests
Fixes: 187548511
Change-Id: I86219bc5e2cf285fcc86f5c8456d7d2afcbe2c0f
2021-05-11 15:08:57 -04:00
Wesley.CW Wang
c0fe8f2246
Update battery state string
...
- Update battery saver state string
- Update app usage active time string
Bug: 187779948
Bug: 187778616
Test: make SettingsRoboTests
Change-Id: Ifc4e5528f0f2d17c0461a83f250fb9c4acba042d
2021-05-11 12:12:30 +00:00
Arc Wang
543068210f
Implements profile selection tab in Storage Settings
...
- StorageDashboardFragment and StorageItemPreferenceController works only
for one profile per instance.
- StorageAsyncLoader loads for all users(profiles) and regards each user independent.
- SecondaryUserController will not load personal profile user in work profile tab.
- Cleanup some unused profile related files.
Bug: 174964885
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
Change-Id: I8361c29bc240c519c7261b19522c41439479c1c2
Merged-In: I8361c29bc240c519c7261b19522c41439479c1c2
2021-05-11 20:00:08 +08:00
Peter Kalauskas
c24234c301
Add tests for guest user events
...
Also, move ACTION_USER_GUEST_EXIT_CONFIRMED so it is only logged after
safety-check
Test: ROBOTEST_FILTER="com.android.settings.users.UserSettingsTest" m RunSettingsRoboTests
Test: ROBOTEST_FILTER="com.android.settings.users.UserDetailsSettingsTest" m RunSettingsRoboTests
Bug: 184200796
Change-Id: Id18aa914bbb262984d7c7cf4b8a4ffdde278fd23
2021-05-10 20:36:48 -07:00
Abel Tesfaye
88a773892b
Add warning message when power save mode is enabled for smart auto rotate settings fragment
...
Test: locally with flame, make RunSettingsRoboTests -j96
ROBOTEST_FILTER=SmartAutoRotateBatterySaverControllerTest,SmartAutoRotateControllerTest
Bug: 186690152
Change-Id: Ibac90a4edd4631e8256da79d0594ac7704b5f8f7
2021-05-10 19:30:04 +00:00
Wesley Wang
cdf99ec2da
Merge "Fix AdvancedPowerUsageDetailTest test error" into sc-dev am: e19d238d18
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14486918
Change-Id: I7567c92a1ecef0e8381ea38805df4e3ca92558ec
2021-05-10 17:17:52 +00:00
Wesley Wang
180e63c0b8
Merge "Update battery usage summary" into sc-dev am: 56488ef84b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14486916
Change-Id: I9fa451611e4abfab6cfcbf25864485b28ca6e7e3
2021-05-10 17:17:07 +00:00
Wesley Wang
e19d238d18
Merge "Fix AdvancedPowerUsageDetailTest test error" into sc-dev
2021-05-10 17:01:28 +00:00
Wesley Wang
56488ef84b
Merge "Update battery usage summary" into sc-dev
2021-05-10 17:00:07 +00:00
TreeHugger Robot
74f49b0ec9
Merge "Fix work profile setting appearing too often" into sc-dev am: 9cb5ab3860
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14470515
Change-Id: I327dc293b5441ff010e931feaacc11125f28f780
2021-05-10 13:43:42 +00:00
TreeHugger Robot
9cb5ab3860
Merge "Fix work profile setting appearing too often" into sc-dev
2021-05-10 13:26:31 +00:00
Wesley.CW Wang
8d5010f6ec
Update battery usage summary
...
- Set up different summary for AOSP
Bug: 185855825
Bug: 187667156
Test: make SettingsRoboTests
Change-Id: I94dccfc325ecfcff8013fe4d3b5b65c427dcae5c
2021-05-10 13:03:12 +00:00
Wesley.CW Wang
25498983b2
Fix AdvancedPowerUsageDetailTest test error
...
Bug: 187693428
Test: make SettingsRoboTests
Change-Id: I3c3976b93a5dfb242af09bcfbf700a1caddd350b
2021-05-10 13:02:18 +00:00
Arc Wang
fa6e82b879
Implements profile selection tab in Storage Settings
...
- StorageDashboardFragment and StorageItemPreferenceController works only
for one profile per instance.
- StorageAsyncLoader loads for all users(profiles) and regards each user independent.
- SecondaryUserController will not load personal profile user in work profile tab.
- Cleanup some unused profile related files.
Bug: 174964885
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
Change-Id: I8361c29bc240c519c7261b19522c41439479c1c2
2021-05-10 15:21:33 +08:00
Weng Su
787edc7fd6
Merge "[Provider Model] Add progress bar to internet panel" into sc-dev am: 72c3debb0b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14442219
Change-Id: If1522799983b816d12f6f8312d4aec158ca7a3fc
2021-05-10 05:42:37 +00:00
Weng Su
72c3debb0b
Merge "[Provider Model] Add progress bar to internet panel" into sc-dev
2021-05-10 05:28:15 +00:00
Weng Su
c407a2d9f8
[Provider Model] Add progress bar to internet panel
...
- Show progress bar when Wi-Fi scanning
- Show "Searching for networks..." sub-title when Wi-Fi scanning
- Remove "Wi-Fi" from searching networks string
Bug: 178774497
Test: manual test
atest -c InternetConnectivityPanelTest
make RunSettingsRoboTests ROBOTEST_FILTER=PanelFragmentTest
Change-Id: Ic05b939bef3b106845fe90db41eb09f0e15756f4
2021-05-10 05:27:59 +00:00
ykhung
4828bf4e48
Build a bridge to control whether the graph is clickable or not am: d8d5335096
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14456008
Change-Id: I1292bfc3688035c1a7f582049fe285beccad3c97
2021-05-09 05:11:25 +00:00
ykhung
d8d5335096
Build a bridge to control whether the graph is clickable or not
...
Create a bridge to read phenotype flag from GoogleSettings to control
whether each time slot in the graph is clickable or not.
Bug: 185308803
Test: make SettingsRoboTests
Change-Id: If8b58dcaa50ad5fb6b447ca5b7146639ee31a9df
2021-05-09 04:46:41 +00:00
ykhung
ea562f84b6
Fix UI flashes issue when entering to the app in the cold start am: 5b27fd923a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14456007
Change-Id: Id4d9678378f1d1aae64ea8ca9e64ab3458b2b680
2021-05-09 04:27:18 +00:00