YUKAI HUNG
8b655d8b5c
Merge "Add usage percentage and battery level into app relative metric" into sc-dev am: 572ab5b321
am: b40290c78a
am: d9f3bb9dbf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14660514
Change-Id: I92f35037472dfcc399a06c149d7c27f76cd2ab19
2021-05-20 14:52:47 +00:00
YUKAI HUNG
572ab5b321
Merge "Add usage percentage and battery level into app relative metric" into sc-dev
2021-05-20 13:58:01 +00:00
ykhung
646c1a2e5a
Add usage percentage and battery level into app relative metric
...
Reference the table from PM requested:
https://docs.google.com/spreadsheets/d/1TC_6MLVMvOS0p1ic0wPfQ-19AOuY8Kc8FUJdqaQSM4I/edit?ts=6098b296#gid=0
Bug: 188505537
Test: make SettingsRoboTests
Change-Id: Ia31ada9438f120fe6f29b59b67dc4de6636c11e1
2021-05-20 20:03:22 +08:00
Jason Chiu
0ffeae075a
Merge "Skip indexing dynamic and injected raw data when page search is disabled" into sc-dev am: be9f37cfad
am: f67554f114
am: c02ee31619
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14542663
Change-Id: I64e7f06eb9dffc5201c5f57c9e8c4bbb1b5980b6
2021-05-20 07:00:15 +00:00
Jason Chiu
be9f37cfad
Merge "Skip indexing dynamic and injected raw data when page search is disabled" into sc-dev
2021-05-20 06:40:03 +00:00
Jason Chiu
1ee1911104
Skip indexing dynamic and injected raw data when page search is disabled
...
Test: robotest
Fixes: 188059978
Change-Id: I99c86ee12c7696123df26c47cfed8c3ddfbdf353
2021-05-20 06:34:08 +00:00
TreeHugger Robot
9c5c63caf0
Merge "(2/n) Stop user from enabling OHM setting if user is using 3-button mode" into sc-dev am: 2cc1c91601
am: 7f7cf45879
am: 4052fcc8bf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14235150
Change-Id: I3485c6995336a54c1e33ab7ff7e4f7c162b3bf08
2021-05-20 05:12:03 +00:00
TreeHugger Robot
2cc1c91601
Merge "(2/n) Stop user from enabling OHM setting if user is using 3-button mode" into sc-dev
2021-05-20 03:54:57 +00:00
Antoan Angelov
d9365b8d65
Merge "Update ActionDisabledByAdminDialogHelper" into sc-dev am: eb45fd3f2a
am: 8019ba0d5b
am: 3bd2b1cae2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14441130
Change-Id: I13048f5d63c1f58a66605aae4f1ef1a53f94ae0e
2021-05-20 02:04:33 +00:00
Yi Jiang
4b16756bd9
Merge "Fixes ScreenTimeoutSettingsTest" into sc-dev am: 07532443ca
am: f1a04d7284
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14629551
Change-Id: I047e3a3fdeafe11e2efb5ca38526067065403f1e
2021-05-20 01:55:53 +00:00
Peiyong Lin
7d73c61a16
Merge "Add Game settings support." into sc-dev am: d32d11248e
am: 4e4a7f0dbd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14553339
Change-Id: I9eb8f13aaf68f586ac1068af26459e9db08f1a65
2021-05-20 01:55:47 +00:00
TreeHugger Robot
91960f18ff
Merge "Controls/Pay - Use new privacy setting" into sc-dev am: 4335268c81
am: ba061c91ef
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14551073
Change-Id: I0120102362ad110f7895f665f2ada9b6d03742e8
2021-05-20 01:55:06 +00:00
YUKAI HUNG
bcadb99952
Merge "Align system time 12-24 hour format in the time slot information" into sc-dev am: 80f2f43d59
am: bf06c3c5f0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14609994
Change-Id: I2db00287ba2d4799ac6d20786f0cf90588fa282d
2021-05-20 01:54:55 +00:00
ykhung
f22ae10b9b
Add metric for battery defender am: 6590b368f2
am: 7acf3fc852
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14554360
Change-Id: I7271cb28f899eaa816d1243795dde3e8d91766b5
2021-05-20 01:51:00 +00:00
Menghan Li
7bc8f4101c
Merge "Fix flake issue on SettingsRoboTests" into sc-dev am: cadd868911
am: 47dc191940
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14609993
Change-Id: Ic79a2434024351288534e0faa2c2dcffaae525d1
2021-05-20 01:50:54 +00:00
TreeHugger Robot
06e5421dbe
Merge "Fix search highlight issues" into sc-dev am: 03099c04bd
am: 66675b3e50
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14519527
Change-Id: I30cd01bcd5bfde167a7a495b89e8293db642cd0a
2021-05-20 01:50:48 +00:00
Evan Severson
a988c56a25
Merge "Update the settings privacy page to the latest mocks" into sc-dev am: 39e7cb2721
am: 1f2542e62c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14215739
Change-Id: I2b55b8e2be72c50fb51c9f97fb6cab0c3e7c0584
2021-05-20 01:50:42 +00:00
YUKAI HUNG
4ee71b0d29
Merge "Fix legacy failed unit test for BatteryInfoLoader" into sc-dev am: 10559fb9de
am: c0ab21eaa3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14554353
Change-Id: I411b4a3f82ba8e0db4df8380a7de74a588af1294
2021-05-20 01:50:28 +00:00
Arc Wang
0052f7f46a
Rename audios to audio am: 6062b6491d
am: 9c191a1018
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14518465
Change-Id: I274afecba4917ab6cc52274943f7132b7fa44e5c
2021-05-20 01:50:08 +00:00
Arc Wang
f11ab2eed1
Storage Settings shift profile selection tab position am: c0b5ba5225
am: 44bc515588
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14441414
Change-Id: I757e81ee5eff34596b850fe8d2d6a73168d823db
2021-05-20 01:50:03 +00:00
Wesley.CW Wang
fb6500410f
Update style name
...
Bug: 187923403
Test: make SettingsRoboTests
Change-Id: I01455cef919cb8692df9d275c8dff0c68d75861f
(cherry picked from commit 2b6a081a0b
)
2021-05-19 17:43:34 -07:00
Jason Chang
ecb58cbbc5
(2/n) Stop user from enabling OHM setting if user is using 3-button
...
mode
Return One-Handed mode getAvailabilityStatus to UNSUPPORTED_ON_DEVICE
when SystemNavigationMode is 3-button.
Bug: 184903678
Test: manual
Test: manual verified on Settings > System > Gesture page
Test: make RunSettingsRoboTests ROBOTEST_FILTER=
"com.android.settings.gestures
.OneHandedEnablePreferenceControllerTest"
Test: make RunSettingsRoboTests ROBOTEST_FILTER=
"com.android.settings.gestures
.SwipeBottomToNotificationPreferenceControllerTest"
Change-Id: I454dabb5cc267d544732fa5079f3146154d0568c
2021-05-20 00:25:26 +08:00
Antoan Angelov
eb45fd3f2a
Merge "Update ActionDisabledByAdminDialogHelper" into sc-dev
2021-05-19 13:50:06 +00:00
Yi Jiang
07532443ca
Merge "Fixes ScreenTimeoutSettingsTest" into sc-dev
2021-05-19 06:10:03 +00:00
Peiyong Lin
d32d11248e
Merge "Add Game settings support." into sc-dev
2021-05-19 05:42:14 +00:00
TreeHugger Robot
4335268c81
Merge "Controls/Pay - Use new privacy setting" into sc-dev
2021-05-18 23:55:18 +00:00
Yi Jiang
816b1f6edc
Fixes ScreenTimeoutSettingsTest
...
The recently added Battery Saver Preference need to be initialized in
order to avoid NPE in testing.
Bug: 188499083
Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.display
Change-Id: Ib6553bcf9ed86eb46c2e0950064e34439664a1ee
2021-05-18 15:54:21 -07:00
Peiyong Lin
83a71ca8fd
Add Game settings support.
...
Add Game settings page under Apps so that users can access game related
features and toggle settings.
Bug: b/185822999
Test: make ROBOTEST_FILTER=GameSettingsPreferenceControllerTest RunSettingsRoboTests
Change-Id: I923ba70536b7f68b5330a508b8dabf27e33f4c55
2021-05-18 17:24:51 +00:00
arangelov
d79ab00524
Update ActionDisabledByAdminDialogHelper
...
- For managed devices, "Learn more" takes the user to a support
page
- Put back the "If you have questions, contact your IT admin"
dialog content text
- Update header to 'Blocked by your IT admin' for managed devices
Fixes: 184107103
Test: manual
Test: atest ActionDisabledByAdminDialogHelperTest
Test: atest ActionDisabledLearnMoreButtonLauncherImplTest
Change-Id: Ie5b8a21b9ba295435d5709f9b0374035141d319a
2021-05-18 15:40:46 +01:00
ykhung
1ea5208fa8
Align system time 12-24 hour format in the time slot information
...
align the time format configuration in the Settings -> System ->
Date/Time to show 12- or 24- hour format in the usage time slot
screenshot: https://screenshot.googleplex.com/3w2SFvBLpC5oHBs
screenshot: https://screenshot.googleplex.com/86uCq6R4PKEg9RD
screenshot: https://screenshot.googleplex.com/3easrEFMQdZEjGP
screenshot: https://screenshot.googleplex.com/7dPWVJNTbSShFPa
Bug: 187783891
Test: make SettingsRoboTests
Change-Id: I9af0a69bd7c67562526bd5ee74a657635068ef44
2021-05-18 13:46:43 +00:00
Matt Pietal
edd1918866
Controls/Pay - Use new privacy setting
...
Refer to the now centralized Secure setting, instead of local strings
Bug: 188175341
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.display
Change-Id: I5fff84347c369ae94d6c8359cc49dcbcf9b6ee72
2021-05-18 07:55:21 -04:00
TreeHugger Robot
db6c7211e4
Merge "Update style name" into sc-dev
2021-05-18 11:28:56 +00:00
ykhung
6590b368f2
Add metric for battery defender
...
Bug: 188384887
Test: make SettingsRoboTests
Change-Id: Ida96deb6efe94a98cf6837b9f82758467a4d1300
2021-05-18 05:19:45 +00:00
Menghan Li
cadd868911
Merge "Fix flake issue on SettingsRoboTests" into sc-dev
2021-05-18 04:36:32 +00:00
TreeHugger Robot
03099c04bd
Merge "Fix search highlight issues" into sc-dev
2021-05-18 03:24:17 +00:00
menghanli
4a12cd51a6
Fix flake issue on SettingsRoboTests
...
Root cause: SpannableStringBuilder cannot handle the preference title is
empty caes.
Solution: Assign default value in test case setup.
Bug: 188448957
Test: make RunSettingsRoboTests -j52 ROBOTEST_FILTER=AccessibilityButtonFooterPreferenceControllerTest
Test: make RunSettingsRoboTests -j52 ROBOTEST_FILTER=AccessibilityControlTimeoutFooterPreferenceControllerTest
Test: make RunSettingsRoboTests -j52 ROBOTEST_FILTER=CaptionFooterPreferenceControllerTest
Test: make RunSettingsRoboTests -j52 ROBOTEST_FILTER=ToggleAutoclickFooterPreferenceControllerTest
Change-Id: Ia95a6ecba824d81e0ccf649975517231ecf475b3
2021-05-18 10:44:04 +08:00
Evan Severson
39e7cb2721
Merge "Update the settings privacy page to the latest mocks" into sc-dev
2021-05-18 00:23:22 +00:00
Evan Severson
175ca1c4b0
Update the settings privacy page to the latest mocks
...
Add the mic and camera toggles to the page. Also create an helper class
to keep binder calls to the system_server at a minimum.
Test: make RunSettingsRoboTests
Test: atest SettingsUnitTests
Test: Manual
Bug: 183985427
Change-Id: Iff6ee1c9a2c30095307f636decbcfcf298ed31b0
2021-05-17 22:49:28 +00:00
YUKAI HUNG
10559fb9de
Merge "Fix legacy failed unit test for BatteryInfoLoader" into sc-dev
2021-05-17 13:19:50 +00:00
Tsung-Mao Fang
582f4a961e
Fix search highlight issues
...
This cl fixes two kinds of issues.
1) Highlight two different preferences while clicking a search result.
2) Preference only is highlighted one time.
For the first problem, we don't allow to reuse view holder in the
highlight scenario, and then allow it later.
The root cause of second problem is scrolling to target preference
needs x milliseconds. Thus, we should wait a few milliseconds, and
then start to highlight preference.
Test: Test some search results, and see the correct behavior
Fix: 186060148
Fix: 186010165
Fix: 187886982
Change-Id: I7df3e34efe39ee386fe9ce91d7d6c52cf390e2e7
2021-05-17 19:42:41 +08:00
ykhung
f49eaf54e6
Fix legacy failed unit test for BatteryInfoLoader
...
fix the legacy failed test since the scale is different, setting the
testing value in ms scale (getBatteryTimeRemainingMs()), but getting
the data in us scale (info.remainingTimeUs)
Bug: 188244142
Test: make SettingsRoboTests
Change-Id: Ib389976985eb3741cc96e0ee4a3a000c7f690b37
2021-05-17 06:19:09 +00:00
Arc Wang
6062b6491d
Rename audios to audio
...
Bug: 186635176
Test: build pass
Change-Id: I0d909f639fe36edf2e5088c7ec219cceee4e963a
2021-05-17 14:11:17 +08:00
Arc Wang
c0b5ba5225
Storage Settings shift profile selection tab position
...
In this change, Storage Settings main UI is composed by 3 fragments.
StorageDashboardFragment only shows when there is only personal profile for
current user.
ProfileSelectStorageFragment (controls preferences above profile tab) and
StorageDashboardNoHeaderFragment (controls preferences below profile tab)
only show when current user has installed work profile.
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: I50dea2fbcae39a1488e648f3ca615f54840e19d5
2021-05-17 14:07:24 +08:00
Wesley.CW Wang
2b6a081a0b
Update style name
...
Bug: 187923403
Test: make SettingsRoboTests
Change-Id: I01455cef919cb8692df9d275c8dff0c68d75861f
2021-05-17 14:02:05 +08:00
Yanting Yang
802af0f016
Merge "Remove silky flag from homepage for official release" into sc-dev am: 89cd044bd7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14502202
Change-Id: Ic18f30f5f10d2e75d3f9aab119666ecc82091383
2021-05-14 18:34:37 +00:00
Yanting Yang
89cd044bd7
Merge "Remove silky flag from homepage for official release" into sc-dev
2021-05-14 18:13:29 +00:00
YUKAI HUNG
65b5d9706e
Merge "Add battery usage metric" into sc-dev am: d2d7d89de6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14547065
Change-Id: I4a45edac90e4291bf32656f0944b5fa6a63fb3fd
2021-05-14 17:47:09 +00:00
ykhung
1ec8f04feb
Add battery usage metric
...
Bug: 188046672
Test: make SettingsRoboTests
Change-Id: I1716913eee7c93cafd622052dcbca940c9726a17
2021-05-14 14:18:55 +00:00
YUKAI HUNG
0af80557f5
Merge "Export a method for app info page to get last 24 battery history data" into sc-dev am: abd364e1f3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14542666
Change-Id: I796b670e161b2aecadf7fd9467ca31658226a1c1
2021-05-14 10:15:38 +00:00
YUKAI HUNG
abd364e1f3
Merge "Export a method for app info page to get last 24 battery history data" into sc-dev
2021-05-14 10:11:28 +00:00