Commit Graph

31639 Commits

Author SHA1 Message Date
TreeHugger Robot
2e16d78872 Merge "Dynamic grouping failed the first time" into rvc-dev 2020-04-27 08:35:48 +00:00
Bonian Chen
1b5f347893 Merge "[Settings] Support re-init DataUsageSummaryPreferenceController" into rvc-dev 2020-04-27 08:26:46 +00:00
PETER LIANG
8cb13577f0 Merge "Add the enabled status into the condition for the service which is VolumeShortcutToggle type." into rvc-dev am: c0fc0e4542
Change-Id: I9b825f6f223a4885a69df9ed6be375452e9432bb
2020-04-27 07:33:10 +00:00
PETER LIANG
c0fc0e4542 Merge "Add the enabled status into the condition for the service which is VolumeShortcutToggle type." into rvc-dev 2020-04-27 07:20:16 +00:00
Arc Wang
b33a59b860 [Wi-Fi] Add object comments for WifiTrackerLib migration
Migrating from Wi-Fi SettingsLib to to WifiTrackerLib, there are
both some Settings files of both version. Developers should
develop on new version files.

Bug: 152571756
Test: compile
Change-Id: I4446e2e333663bf69daa1ceff102775889021851
2020-04-27 14:28:13 +08:00
hughchen
d02c31e693 Hide the "play media to" option
This CL will hide the "play media to" option is there are no active
media session and media state is not playing.

Bug: 154457882
Test: manually test
Change-Id: If272a336f06b51e7a2e1605c8dc092b2ca134c25
2020-04-27 11:42:06 +08:00
Peter_Liang
9e50eb1598 Add the enabled status into the condition for the service which is VolumeShortcutToggle type.
Root cause: Shouldn't show the tutorial related to accessibility button when the service which has the accessibility button flag and is VolumeShortcutToggle type is not turned on.

Next: Add the status of the corresponding service.

Bug: 148989018
Test: manual test
Change-Id: Icc1dc071387e34401ecf67ed9fbc7bd4f9f9d612
2020-04-27 02:42:19 +00:00
Amit Mahajan
a48e85d028 Merge "Look up CBS package name through PackageManager." into rvc-dev am: 3becd37d47
Change-Id: I5cb2e64401aa132470b0b771fad4bc50848a809c
2020-04-26 23:52:53 +00:00
Amit Mahajan
3becd37d47 Merge "Look up CBS package name through PackageManager." into rvc-dev 2020-04-26 23:41:30 +00:00
Bonian Chen
a261865632 Merge "[Settings] Fix DataUsageUtilsTest" into rvc-dev am: b9217e8e17
Change-Id: If8d10cc456874cb1772ce51aacf624b1467f47f2
2020-04-25 05:06:50 +00:00
Bonian Chen
b9217e8e17 Merge "[Settings] Fix DataUsageUtilsTest" into rvc-dev 2020-04-25 04:54:04 +00:00
Amit Mahajan
b6139c0caf Look up CBS package name through PackageManager.
Instead of hardcoding it.

Test: manual
Bug: 154436403
Change-Id: I0feb356e6cd4868f71198bdee49a7658b4b98b5d
2020-04-24 13:46:11 -07:00
TreeHugger Robot
d506c17694 Merge "Add SearchIndexable to Power Menu" into rvc-dev am: 482968c84b
Change-Id: I8d745265c999e52987827a7a5e3ba2c409ecf481
2020-04-24 19:35:46 +00:00
Fabian Kozynski
11c5f9427c Add SearchIndexable to Power Menu
Test: build
Fixes: 154854301
Change-Id: Ibf35ca678b01bc0f1face8f7375defa18593e5a6
2020-04-24 13:51:34 -04:00
TreeHugger Robot
beacdf9774 Merge "[Wi-Fi] Add IMSI privacy protection warning summary" into rvc-dev am: 0a98937baf
Change-Id: Idb79edf5ef01ab33bcbd6625279f2eb21cd44c68
2020-04-24 08:40:06 +00:00
TreeHugger Robot
0a98937baf Merge "[Wi-Fi] Add IMSI privacy protection warning summary" into rvc-dev 2020-04-24 08:32:55 +00:00
Tim Peng
c433a867b3 Dynamic grouping failed the first time
-Check if Worker is null
-Add test case

Bug: 154875482
Test: make -j50 RunSettingsRoboTests
Change-Id: I84572ef77cc9a48c3133d96fd2255754bc1cf67c
2020-04-24 07:45:24 +00:00
TreeHugger Robot
ab43d59d5d Merge "[Wi-Fi] Add new unit test file WifiP2pSettingsTest.java." into rvc-dev am: a4590dc227
Change-Id: I959183b22cb6b33a8f2ae9f28d2c6130c47447df
2020-04-24 06:41:28 +00:00
TreeHugger Robot
a4590dc227 Merge "[Wi-Fi] Add new unit test file WifiP2pSettingsTest.java." into rvc-dev 2020-04-24 06:23:06 +00:00
TreeHugger Robot
f315f49a91 Merge "Update low battery level for advance bluetooth device" into rvc-dev am: 5eeec19464
Change-Id: I986571d0650157becbf1efd11a9891eb5478e4bf
2020-04-24 05:35:09 +00:00
TreeHugger Robot
5eeec19464 Merge "Update low battery level for advance bluetooth device" into rvc-dev 2020-04-24 05:25:59 +00:00
govenliu
d59d32e106 [Wi-Fi] Add new unit test file WifiP2pSettingsTest.java.
Add new unit test file WifiP2pSettingsTest.java.

Bug: 151696220
Test: make RunSettingsRoboTests ROBOTEST_FILTER=WifiP2pSettingsTest
Change-Id: I686658969a801e385a102022c6854d8bb8972d3c
2020-04-24 13:03:09 +08:00
hughchen
828ccaf399 Update low battery level for advance bluetooth device
Bug: 154569936
Test: build pass
Change-Id: I52bb8eea4f69ae55a6902e3afb862aa8c7319785
2020-04-24 11:41:59 +08:00
Bonian Chen
87a4577472 [Settings] Support re-init DataUsageSummaryPreferenceController
Support re-init DataUsageSummaryPreferenceController without
re-constructing it.

Bug: 151751844
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=DataUsageSummaryPreferenceControllerTest
Change-Id: If72a521c5fbaec8b8902fb80b13d9d0f07c716af
2020-04-24 11:35:44 +08:00
Bonian Chen
9a283d43c5 Merge "[Settings] Support the display of data usage when SIM inactive" into rvc-dev am: a26a7afe8e
Change-Id: Ia456660917ae589ec162804d8e582ae2ce5100b5
2020-04-24 03:28:47 +00:00
Bonian Chen
a26a7afe8e Merge "[Settings] Support the display of data usage when SIM inactive" into rvc-dev 2020-04-24 03:16:14 +00:00
Jason Hsu
2dc9e9ad76 Merge "Use new setting key to maintain the list of user assigned shortcut targets." into rvc-dev am: 79d73eaa59
Change-Id: I519d11ebd2ae4e7a29b62c7b93338f50ee28a9b0
2020-04-24 03:10:06 +00:00
Jason Hsu
79d73eaa59 Merge "Use new setting key to maintain the list of user assigned shortcut targets." into rvc-dev 2020-04-24 03:07:39 +00:00
Bonian Chen
76627e415d [Settings] Fix DataUsageUtilsTest
Fix DataUsageUtilsTest

Bug: 154564365
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=DataUsageUtilsTest
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=DataUsageSummaryTest
Change-Id: Iff614135dfb0015deb5220fbf7f9338322def507
2020-04-24 10:46:30 +08:00
Bonian Chen
da77a404c0 Merge "[Settings] Fix DataUsageSummaryTest" into rvc-dev am: 4908511b17
Change-Id: I888b0bd6b7f8280816046d31549d132091e6fa4e
2020-04-24 01:34:06 +00:00
Bonian Chen
4908511b17 Merge "[Settings] Fix DataUsageSummaryTest" into rvc-dev 2020-04-24 01:18:25 +00:00
TreeHugger Robot
4ca65ea652 Merge "Mark work profile apps as such for voice a11y services" into rvc-dev am: 6051fa96ab
Change-Id: I0786a1c7403962b9def348e2a5b4961d05427f3f
2020-04-23 21:13:05 +00:00
TreeHugger Robot
6051fa96ab Merge "Mark work profile apps as such for voice a11y services" into rvc-dev 2020-04-23 20:59:41 +00:00
Fabian Kozynski
d1da33e594 Merge "Add setting toggle for power menu privacy" into rvc-dev am: 7848696ea1
Change-Id: Ib35e6a047c147e2e6c743de3543423d92920f6c3
2020-04-23 19:54:20 +00:00
Fabian Kozynski
7848696ea1 Merge "Add setting toggle for power menu privacy" into rvc-dev 2020-04-23 19:38:05 +00:00
Julia Reynolds
03acb7a609 Mark work profile apps as such for voice a11y services
Test: manual with a11y service
Fixes: 152728558
Change-Id: I1b8a3efd2d34b3dda2229b8bae49f48d4d31f4d2
2020-04-23 14:59:41 -04:00
Julia Reynolds
ea2712b032 Merge "Add conversation onboarding" into rvc-dev am: 5ad98383d5
Change-Id: Ide39e818bd9188f76e6b57a17bb89ac9b07e14dc
2020-04-23 17:37:41 +00:00
Julia Reynolds
5ad98383d5 Merge "Add conversation onboarding" into rvc-dev 2020-04-23 17:16:58 +00:00
Brad Ebinger
d73fd30545 Merge "Revise strings as per string UX review" into rvc-dev am: c3d052a48c
Change-Id: I26b56d053b1504a9061c765fe7504603f8394fe1
2020-04-23 15:57:03 +00:00
Brad Ebinger
c3d052a48c Merge "Revise strings as per string UX review" into rvc-dev 2020-04-23 15:38:39 +00:00
Menghan Li
a719a22e55 Merge "Fix Auto click (dwell timing) the checked option isn't the same as the option before upgrading the OS" into rvc-dev am: 6f9f91b67b
Change-Id: I502f9a76d177f5314eb986bb33efb6beccfcd809
2020-04-23 14:09:55 +00:00
Menghan Li
6f9f91b67b Merge "Fix Auto click (dwell timing) the checked option isn't the same as the option before upgrading the OS" into rvc-dev 2020-04-23 13:57:45 +00:00
PETER LIANG
99d4e3210d Merge changes from topic "tutorial_improvement" into rvc-dev am: b6bf10ebbc
Change-Id: Ie89050239048e7e6bc83a258b0e90547d87a7fb7
2020-04-23 12:48:25 +00:00
PETER LIANG
b6bf10ebbc Merge changes from topic "tutorial_improvement" into rvc-dev
* changes:
  Tutorial improvement for Accessibility shortcut (3/n).
  Tutorial improvement for Accessibility shortcut (2/n).
  Tutorial improvement for Accessibility shortcut (1/n).
2020-04-23 12:37:15 +00:00
Bonian Chen
e02ffc7b7d Merge "[Settings] Fix CellDataPreferenceTest" into rvc-dev am: ef2e319347
Change-Id: Iae36b68fa837883091f293d6f72577d02f6cc5ea
2020-04-23 12:06:37 +00:00
Bonian Chen
bc10c00149 [Settings] Support the display of data usage when SIM inactive
SIM can be inactive but remain existed within slot.
Therefore, change the design here.

Bug: 143996139
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=DataUsageSummaryPreferenceControllerTest
Change-Id: I24ec529b120b2801f7b9089b07d32bdd1038883f
2020-04-23 19:53:46 +08:00
Bonian Chen
29e37ceaa1 [Settings] Fix CellDataPreferenceTest
Fix CellDataPreferenceTest

Bug: 154562715
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=CellDataPreferenceTest
Change-Id: Ia0ee0f5cd802ca9b6827bddcaf189c619d268074
2020-04-23 17:51:14 +08:00
menghanli
771163f0d3 Fix Auto click (dwell timing) the checked option isn't the same as the option before upgrading the OS
Root cause:
After OS upgrade to R, the original logic only check SP key but does not consider the setting enabled key to cause it cannot not show correctly.

Next:
1) accessibility_autoclick_enabled=1 but does not have SP key, customize layout is checked and show the right value
2) accessibility_autoclick_enabled=1 and have SP key, show according items is checked
3) accessibility_autoclick_enabled=0, off button is checked

Bug: 151123423
Test: local test
Change-Id: I9ebcbb35ee0071dbf8c969d0a70ea6293f4c6edb
2020-04-23 09:22:01 +00:00
Bonian Chen
fc8b5badb7 Merge "[Settings] Move some work into background thread" into rvc-dev am: 7585e6ac1f
Change-Id: I55c7ab8682b82b5e93e6a77796c420070cc5f7e3
2020-04-23 08:34:42 +00:00
Bonian Chen
4738a05f1f Merge "[Settings] Code refactor for data usage" into rvc-dev am: abdeadf85d
Change-Id: I5b86c28d5ca4ad2f6d24c18752809cef699d6674
2020-04-23 08:34:34 +00:00