Commit Graph

31199 Commits

Author SHA1 Message Date
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
4aa834efcd Merge "Look up CBS package name through PackageManager." into rvc-dev am: 3becd37d47
Change-Id: Ib7987a370ba181a36b139fbb66b57a9668dfffe6
2020-04-26 23:52:42 +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
7976cfc02d Merge "[Settings] Fix DataUsageUtilsTest" into rvc-dev am: b9217e8e17
Change-Id: Ifc346d43a3a7209304048da212f35326f543308f
2020-04-25 05:06:36 +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
5bd1d6693f Merge "Add SearchIndexable to Power Menu" into rvc-dev am: 482968c84b
Change-Id: I360e3fc7967c71fd07d3a65f69eb7605fe954b2f
2020-04-24 19:35:40 +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
204c1bc8f5 Merge "[Wi-Fi] Add IMSI privacy protection warning summary" into rvc-dev am: 0a98937baf
Change-Id: I061f46e5d5c3f42d8265ad490858398469f0a6b6
2020-04-24 08:40:02 +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
1bb16670c6 Merge "[Wi-Fi] Add new unit test file WifiP2pSettingsTest.java." into rvc-dev am: a4590dc227
Change-Id: I21cd0fe886eecedd3474f0ff77c76d730a7bd82d
2020-04-24 06:41:16 +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
254de52561 Merge "Update low battery level for advance bluetooth device" into rvc-dev am: 5eeec19464
Change-Id: Iaab07a1e88463a4c1e346aaae2de83cf39383b57
2020-04-24 05:34:57 +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
bb30fbedcd Merge "[Settings] Support the display of data usage when SIM inactive" into rvc-dev am: a26a7afe8e
Change-Id: I3e0635913a13a91737626820bb543d0d0df1f440
2020-04-24 03:28:49 +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
faa9c3b033 Merge "Use new setting key to maintain the list of user assigned shortcut targets." into rvc-dev am: 79d73eaa59
Change-Id: Iaa61f1e8e9c24aae3c5438ae0b86d1d8be745603
2020-04-24 03:10:45 +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
8c87a8c0d6 Merge "[Settings] Fix DataUsageSummaryTest" into rvc-dev am: 4908511b17
Change-Id: I96c1398a6e680884ba52f1e8181d0248359469f1
2020-04-24 01:33:34 +00:00
Bonian Chen
4908511b17 Merge "[Settings] Fix DataUsageSummaryTest" into rvc-dev 2020-04-24 01:18:25 +00:00
TreeHugger Robot
e2d796d75f Merge "Mark work profile apps as such for voice a11y services" into rvc-dev am: 6051fa96ab
Change-Id: I4097179d365a3c1ce00e09502586ef6615cca060
2020-04-23 21:11:46 +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
99b6f13d6b Merge "Add setting toggle for power menu privacy" into rvc-dev am: 7848696ea1
Change-Id: I1aa4b72ecc3c57ce0cc4a36a46c088e531898575
2020-04-23 19:54:39 +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
f6c0274140 Merge "Add conversation onboarding" into rvc-dev am: 5ad98383d5
Change-Id: I220329f27f36d42606f82bf3bb94f44c3ed35b0c
2020-04-23 17:36:51 +00:00
Julia Reynolds
5ad98383d5 Merge "Add conversation onboarding" into rvc-dev 2020-04-23 17:16:58 +00:00
Brad Ebinger
a79f10ad09 Merge "Revise strings as per string UX review" into rvc-dev am: c3d052a48c
Change-Id: I68257982f4d35460d6d071b9b271cf317b2b2f80
2020-04-23 16:56:51 +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
9e155131e7 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: I6a888383300fa9b79e4bf5382996a8cd5552f4a8
2020-04-23 14:09:46 +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
15d20efe43 Merge changes from topic "tutorial_improvement" into rvc-dev am: b6bf10ebbc
Change-Id: I9c6d550f6267d80aa7bd22894b81d4dade1f9189
2020-04-23 12:48:15 +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
ec80b6da3a Merge "[Settings] Fix CellDataPreferenceTest" into rvc-dev am: ef2e319347
Change-Id: Ibc821f8fba3f23ad6326012f4def600a1b81336e
2020-04-23 12:06:26 +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
d68d156a80 Merge "[Settings] Move some work into background thread" into rvc-dev am: 7585e6ac1f
Change-Id: Iecc4b7665ebc977aa0e1fea33ab80fc5b0ba7d7f
2020-04-23 08:34:36 +00:00
Bonian Chen
148972e154 Merge "[Settings] Code refactor for data usage" into rvc-dev am: abdeadf85d
Change-Id: Id0749b00f602a6033aa67c5714fd32c4a3f70858
2020-04-23 08:34:22 +00:00
Bonian Chen
7585e6ac1f Merge "[Settings] Move some work into background thread" into rvc-dev 2020-04-23 08:22:32 +00:00
Bonian Chen
abdeadf85d Merge "[Settings] Code refactor for data usage" into rvc-dev 2020-04-23 08:22:00 +00:00
Arc Wang
c6c4d036da [Wi-Fi] Add IMSI privacy protection warning summary
If a SIM based Wi-Fi network is not provided with IMSI
protection, Wi-Fi detail UI shows the warning summary if
the Wi-Fi network is connected.

Bug: 148283447
Test: make RunSettingsRoboTests ROBOTEST_FILTER=WifiSecondSummaryController2Test
      make RunSettingsRoboTests ROBOTEST_FILTER=LinkifySummaryPreferenceTest

Change-Id: I689a75d2f0a2ae6196b2ed5985b8ff141fbac8b4
2020-04-23 14:50:18 +08:00
Bonian Chen
c2ea9a1fa4 Merge "[Settings] Code Refactor" into rvc-dev am: 921ed942c0
Change-Id: I7722ae2f971b68cca02d6fb0ed6dc64668857a5e
2020-04-23 06:01:53 +00:00
Bonian Chen
921ed942c0 Merge "[Settings] Code Refactor" into rvc-dev 2020-04-23 05:47:10 +00:00
Bonian Chen
a73cb31f63 [Settings] Fix DataUsageSummaryTest
Fix DataUsageSummaryTest

Bug: 154563784
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=DataUsageSummaryTest
Change-Id: I32f8fc00f01a335950e863d5c9801ee9af0a3f5d
2020-04-23 13:43:27 +08:00