Jason Chiu
cfa83a94b4
Merge "Add metrics log for special cases" into rvc-dev am: 60071b9287 am: f067ac4f50 am: 68335164e1 am: 0f428f485c
...
Change-Id: I38394d224bc063b411b596decf9923f0189bc224
2020-05-14 08:41:34 +00:00
Jason Chiu
60071b9287
Merge "Add metrics log for special cases" into rvc-dev
2020-05-14 07:12:47 +00:00
Automerger Merge Worker
9c5d1c195d
Merge "Merge "When only one device is selected in dynamic group, the device should be disabled" into rvc-dev am: 8d2c8f1f33 am: 6ca2cc572e" into rvc-d1-dev-plus-aosp am: a4dd00a45e am: 6c51001c11
...
Change-Id: I1ad5b35496defc482d2ae1f98b75adbc40fc1a2a
2020-05-14 02:09:44 +00:00
tim peng
8d2c8f1f33
Merge "When only one device is selected in dynamic group, the device should be disabled" into rvc-dev
2020-05-14 01:35:44 +00:00
TreeHugger Robot
7e1f1a77f8
Merge "Update icon tint color when the user toggles Dark theme" into rvc-dev am: 8224a5ad3d am: 442e6007e3 am: f6829b35e1 am: f5b796df8b
...
Change-Id: Icee34bac83584b8a484523669a09e61aae355afb
2020-05-13 10:43:14 +00:00
TreeHugger Robot
8224a5ad3d
Merge "Update icon tint color when the user toggles Dark theme" into rvc-dev
2020-05-13 09:37:37 +00:00
Jason Chang
78b9b95deb
Merge "Enable(visible) or Disabled(invisible) all one-handed settings preference by System Property flag configuration."
2020-05-13 08:01:13 +00:00
TreeHugger Robot
1a3059c01a
Merge "[Wi-Fi] Quit worker thread of WifiPickerTracker" into rvc-dev am: 02b7b16c93 am: 9fc28c5a7f am: 6cb294d26d am: d739d688b0
...
Change-Id: Iaee7c93686077fc0236a8c43bc34ef5f16638324
2020-05-13 05:29:33 +00:00
TreeHugger Robot
02b7b16c93
Merge "[Wi-Fi] Quit worker thread of WifiPickerTracker" into rvc-dev
2020-05-13 04:18:18 +00:00
TreeHugger Robot
a2b7973714
Merge "Revert "Create QS media player setting"" into rvc-dev am: cd3cde6169 am: 8f50f01f8b am: 811d4df610 am: eddfbfbf79
...
Change-Id: I40cbed0a3e2816c8c89b51a901a39c749a043ba0
2020-05-13 03:22:09 +00:00
Betty Chang
0c821c7be2
Merge "Add setPackage for PendingIntent in SliceHelper" into rvc-dev
2020-05-13 02:53:40 +00:00
Arc Wang
a52782bc06
[Wi-Fi] Quit worker thread of WifiPickerTracker
...
Should quit worker thread when a fragment is about to
be destroyed.
Bug: 152454787
Test: make RunSettingsRoboTests ROBOTEST_FILTER=AddAppNetworksFragmentTest
Change-Id: I809511b7f7c092cf9787e8f6bb7c7513c27c98c8
2020-05-13 10:34:51 +08:00
TreeHugger Robot
cd3cde6169
Merge "Revert "Create QS media player setting"" into rvc-dev
2020-05-13 02:20:05 +00:00
Lucas Dupin
d207f1baee
Revert "Create QS media player setting"
...
This reverts commit 665c36eae2 .
Reason for revert: New media experience landed
Fixes: 156369996
Change-Id: Icb997a3508cec1e15f523b8ca5b923deacee66b4
2020-05-12 16:51:06 +00:00
Jason Chang
f62888975e
Enable(visible) or Disabled(invisible) all one-handed settings
...
preference by System Property flag configuration.
To check System Property flag "support_one_handed_mode" configuration
then enable(visible) or disable(invisible) all one-handed settings
preference.
Bug: 154290458
Test: manual
Test: RunSettingsRoboTests
Change-Id: Ib6ed12dd65e66747e53b6333574ba0ad5be3c6e0
2020-05-13 00:38:26 +08:00
TreeHugger Robot
1431a53b1d
Merge "Fix broken test cases" into rvc-dev am: defd64c797 am: a895da9249 am: 5cd6167eef am: 4941e55d3c
...
Change-Id: Id15e83d82bceca55936d57a644d36cc2c9a0dc47
2020-05-12 13:31:01 +00:00
Jason Chiu
bee14256df
Add metrics log for special cases
...
Support Wifi toggle, Smart storage toggle, Manage storage, Face unlock,
Pixel Imprint
Bug: 137559984
Test: robotest
Change-Id: I3e2e666a8bee1e54d6bd13349b5bedb48fbc42df
2020-05-12 18:06:22 +08:00
changbetty
0383d76a5e
Add setPackage for PendingIntent in SliceHelper
...
Bug: 151645867
Bug: 151646375
Test: make RunSettingsRoboTests ROBOTEST_FILTER=WifiCallingSliceHelperTest
make RunSettingsRoboTests ROBOTEST_FILTER=Enhanced4gLteSliceHelperTest
Change-Id: I33c1333f9b5472cdb962b272f6be52a2d2959376
Merged-In: I33c1333f9b5472cdb962b272f6be52a2d2959376
2020-05-12 17:56:48 +08:00
Tsung-Mao Fang
d6c88649f6
Fix broken test cases
...
Test: Run robo test
Fix: 127602715
Change-Id: Idec3351b76801de98fac502ea59b2396a60df937
2020-05-12 16:57:05 +08:00
Betty Chang
4f8129034f
Merge "Add setPackage for PendingIntent in SliceHelper"
2020-05-12 04:13:15 +00:00
Jason Chiu
8ac1e4d49d
Update icon tint color when the user toggles Dark theme
...
- Reload theme in slice provider when Dark theme mode changes for slices
- Reload theme in onCreate of Panel activity for its non-slice header
- Remove applyTheme from individual slices
Test: robotest
Fixes: 153700819
Change-Id: I40a7d2817c4b9100d7b2f2962a69c8a9ce6f7906
2020-05-12 10:58:54 +08:00
Tim Peng
550fd3ef9a
When only one device is selected in dynamic group, the device should be disabled
...
-Check if device id is in selected group rather than comparing client package name
-Add test cases
Bug: 154916764
Test: make -j50 RunSettingsRoboTests
Change-Id: I7364a9e3d807bbfc6b26b8212ab2da67ea329582
2020-05-12 01:44:56 +00:00
tim peng
8f144eb29c
Merge "Update "Play media to" in Sound Settings" into rvc-dev am: 72948ab538 am: c56346d085 am: 8978d69743 am: 8dd871f833
...
Change-Id: Ia7ac4d24b38b4f27735014f995b855e75e57420d
2020-05-11 03:41:15 +00:00
tim peng
72948ab538
Merge "Update "Play media to" in Sound Settings" into rvc-dev
2020-05-11 02:45:27 +00:00
TreeHugger Robot
19fb87e6ae
Merge "Add low battery level for case" into rvc-dev am: 83cc03d0b1 am: 7e8ed56263 am: 5f39bb5f37 am: fff57f4206
...
Change-Id: I040080c31a9f2b96128eaa8152e9ccc3981f66be
2020-05-08 09:56:20 +00:00
changbetty
e231e87e80
Add setPackage for PendingIntent in SliceHelper
...
Bug: 151645867
Bug: 151646375
Test: make RunSettingsRoboTests ROBOTEST_FILTER=WifiCallingSliceHelperTest
make RunSettingsRoboTests ROBOTEST_FILTER=Enhanced4gLteSliceHelperTest
Change-Id: I33c1333f9b5472cdb962b272f6be52a2d2959376
2020-05-08 17:28:45 +08:00
TreeHugger Robot
83cc03d0b1
Merge "Add low battery level for case" into rvc-dev
2020-05-08 08:39:39 +00:00
hughchen
6060bc66e5
Add low battery level for case
...
- Add low battery level for case, because case and headset have
different low battery level.
- Update test case
Bug: 154569936
Test: make -j42 RunSettingsRoboTests
Change-Id: Icf045b62992dde8d789e66343764849e43df1933
2020-05-08 15:15:15 +08:00
Tim Peng
f392eae213
Update "Play media to" in Sound Settings
...
-Change string to "Play <APP Label> on"
-Hide it when there is no local playback
-Disable search index
-Add test cases
Bug: 155720628
Test: make -j50 RunSettingsRoboTests
Change-Id: Id104d5b49c069a761e4cf82385bf1225d494c95e
2020-05-08 12:15:11 +08:00
TreeHugger Robot
77573ddec7
Merge "Improve multi user settings screen" into rvc-dev am: e26de87100 am: 7b58b02285 am: 6e771fdf55 am: 539843c31a
...
Change-Id: I72dc5f0d5d0764903de89bbff745b5466090db78
2020-05-08 03:45:47 +00:00
Arc Wang
ecf20ef23f
Merge "[Wi-Fi] Apply WifiTrackerLib objects in wifi/dpp/WifiNetworkListFragment"
2020-05-08 01:02:44 +00:00
Andras Kloczl
4d7d4effa5
Improve multi user settings screen
...
- Added switch and user delete functionality to details screen.
- Added robo tests.
Screenshots: http://shortn/_S6fbIMhAYO
Bug: 142798722
Test: Run robo tests with this command:
make -j64 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.users.*SettingsTest"
Change-Id: Ied67290e8fed87feb0a60a3f2c40eb91cc57988e
2020-05-07 22:01:33 +01:00
Fabian Kozynski
1cefc2e23b
Merge "Fix default for CONTROLS_ENABLED" into rvc-dev am: 64097cbb11 am: 0533f91da7 am: 0f6205e51c am: 8d36410fa5
...
Change-Id: I52e968e2d8f3bfa63a2b1cef0ca6c38058199de8
2020-05-07 14:38:59 +00:00
Arc Wang
e46081819d
[Wi-Fi] Apply WifiTrackerLib objects in wifi/dpp/WifiNetworkListFragment
...
Bug: 152571756
Bug: 145100890
Test: make RunSettingsRoboTests ROBOTEST_FILTER=WifiNetworkListFragmentTest
Change-Id: I2136b452da4a3008f493c46c8ed14b311cfc9fdd
2020-05-07 22:36:41 +08:00
Fabian Kozynski
64097cbb11
Merge "Fix default for CONTROLS_ENABLED" into rvc-dev
2020-05-07 13:24:04 +00:00
Edgar Wang
214ecd8bd0
Merge "Revert "Improve multi user settings screen"" into rvc-dev am: e13919cf4b am: bbf642d994 am: b846480e48 am: 043510b53f
...
Change-Id: Ic4fa3990c3de69652d989af8769b32b407577c78
2020-05-07 10:27:03 +00:00
Edgar Wang
e13919cf4b
Merge "Revert "Improve multi user settings screen"" into rvc-dev
2020-05-07 09:28:23 +00:00
Edgar Wang
fff8c56de2
Revert "Improve multi user settings screen"
...
This reverts commit d19dc306dd .
Reason for revert: this CL made Settings the test cases called shadowUserManager.hasUserRestriction()
https://sponge.corp.google.com/target?show=FAILED&sortBy=STATUS&id=07150153-ccb7-4215-a9f8-eed31e44c66f&target=RunSettingsRoboTests1-test-output
Bug: 142798722
Change-Id: I3937a07ee35a472cadd6db8cd0177e08e63516a4
2020-05-07 09:24:47 +00:00
Yanting Yang
b9835b33cd
Merge "Hide the app details preference for mainline module apps" into rvc-dev am: cf33b4bc5e am: 2b19585228 am: 1b31829303 am: f37203cd17
...
Change-Id: Id2ce67830253759790269b87a804157c0f2873dc
2020-05-07 09:06:21 +00:00
Bonian Chen
5d856c1cfd
Merge "[Settings] Update EID in background" into rvc-dev am: cae9a9c2fb am: 156ea15bb2 am: a3409e66df am: 1e79e1d398
...
Change-Id: I2dde3ff7933a9aa466598e58d9ef2d628cefc250
2020-05-07 09:03:09 +00:00
Kevin Maurin
633986bade
Merge "Display "Android Auto" in Connected Devices summary text." into rvc-dev am: 56cefaf3d6 am: 637a3ba98f am: b890ed1585 am: 2702c9854c
...
Change-Id: I8df5851f3d845c16207dc7dccdbac8e2a59b54bc
2020-05-07 08:44:51 +00:00
TreeHugger Robot
d3db94ab0e
Merge "[Wi-Fi] Enhance Wifi Settings unit test cases." into rvc-dev am: a76a871653 am: ee755aa059 am: e2db16a44d am: e3ac2ebb4c
...
Change-Id: Id3cdd5772a23470f506a790f1e2cc264f4ee7f1d
2020-05-07 08:44:32 +00:00
Yanting Yang
cf33b4bc5e
Merge "Hide the app details preference for mainline module apps" into rvc-dev
2020-05-07 08:41:39 +00:00
Bonian Chen
cae9a9c2fb
Merge "[Settings] Update EID in background" into rvc-dev
2020-05-07 08:20:58 +00:00
Kevin Maurin
56cefaf3d6
Merge "Display "Android Auto" in Connected Devices summary text." into rvc-dev
2020-05-07 07:20:57 +00:00
TreeHugger Robot
a76a871653
Merge "[Wi-Fi] Enhance Wifi Settings unit test cases." into rvc-dev
2020-05-07 07:11:32 +00:00
Bonian Chen
d1c8d2a771
[Settings] Update EID in background
...
Access EID in background thread to avoid blocking UI.
Bug: 153407357
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=SimStatusDialogControllerTest
Change-Id: Id30851bbd0b0fe080ed703586f9718be8b97abdd
2020-05-07 14:16:59 +08:00
Kevin Maurin
cabe76debc
Display "Android Auto" in Connected Devices summary text.
...
Android Auto will be exposing a Settings tile under Connected Devices -> Connection Preferences.
If the Setting tile is available, then the summary text will reflect that.
Tested with additional unit tests and manually validated the scenarios by
flashing crosshatch-eng and disabling/enabling the relevant features.
Fix: 153896447
Test: Added unit coverage for new scenarios
Test: make RunSettingsRoboTests
Test: manually verified by flashing crosshatch-eng and disabling/enabling relevant components
Change-Id: I5a129c41b98ba435bc159a72c9a7c2dfd646ecd3
2020-05-06 21:42:43 -07:00
govenliu
1e0d40f2bd
[Wi-Fi] Enhance Wifi Settings unit test cases.
...
Add new unit test cases in
1. WifiP2pSettingsTest.java
2. WifiConfigController2Test.java
3. WifiP2PPreferenceControllerTest.java
4. WifiP2pPeerTest.java
the coverage rate of
1. com.android.settings.wifi will raise from 44% to 45%
2. com.android.settings.wifi.P2p will raise from 69% to 85%
Bug: 151696220
Test: make RunSettingsRoboTests ROBOTEST_FILTER=WifiP2pSettingsTest
make RunSettingsRoboTests ROBOTEST_FILTER=WifiConfigController2Test
make RunSettingsRoboTests ROBOTEST_FILTER=WifiP2pPeerTest
make RunSettingsRoboTests ROBOTEST_FILTER=WifiP2PPreferenceControllerTest
Change-Id: I365494e1654376b23b08f18b1a799ffc59323a4c
2020-05-07 12:13:02 +08:00
tim peng
d499737462
Merge "Update "Play media to" to "Play <APP> on"" into rvc-dev am: b8e18b4fb1 am: c5531ce6e8 am: d9370a1e27 am: 143db43ff4
...
Change-Id: I345f7f76088d9667515da8133315d74c6348e25a
2020-05-07 03:27:11 +00:00