Commit Graph

11385 Commits

Author SHA1 Message Date
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
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
7585e6ac1f Merge "[Settings] Move some work into background thread" into rvc-dev 2020-04-23 08:22:32 +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
TreeHugger Robot
5820bd22f5 Merge "Failed ROBO tests" into rvc-dev am: b211395b3f
Change-Id: I6571543d4c72a0f9037346b3f96826e9a2ee375c
2020-04-23 06:07:36 +00:00
TreeHugger Robot
b211395b3f Merge "Failed ROBO tests" into rvc-dev 2020-04-23 06:03:35 +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
Bonian Chen
3248d004d3 [Settings] Move some work into background thread
1. Move some work into backgroud thread when query data usage status.
2. Fix test case

Bug: 141833767
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=DataUsagePreferenceControllerTest
Change-Id: Ic1496323cd2bbaf794881394565d8d9bb0a89111
2020-04-23 12:55:53 +08:00
Peter_Liang
8cbb44d6f6 Tutorial improvement for Accessibility shortcut (3/n).
Add test cases for tutorial pages.

Bug: 148989018
Bug: 134640159
Test: manual test & run RoboTests
Change-Id: I9bb29f6e61e331c3f9a2408a1eebc3d5e9e16000
2020-04-23 12:18:26 +08:00
Peter_Liang
cfe3e454ac Tutorial improvement for Accessibility shortcut (1/n).
Because can't save the value into setting keys for the service before version R, and in order to let tutorial dialog can get the consistent value, using alternative that each fragment with shortcut to must implement the new abstract method.

Bug: 148989018
Test: manual test
Change-Id: Iba2a7daa70eb00f0bba37317c9355531fbb77628
2020-04-23 12:18:23 +08:00
Sunny Shao
3f95fbb2d7 Ignore the failed test cases in the DataUsagePreferenceControllerTest am: 9a8f64e661
Change-Id: I414ace9e342eee39e6299ddf8fa3f12c52f03663
2020-04-23 04:01:17 +00:00
Jay Aliomer
b4ee096a54 Failed ROBO tests
Modified and removed test to fix errors
a test was removed because it depends on static code

Test: robo tests
Fixes: 154566007
Fixes: 154566012
Change-Id: I66e03469ba2a14f2eb82842a92f64f26eaf21b65
2020-04-22 23:08:06 -04:00
Sunny Shao
9a8f64e661 Ignore the failed test cases in the DataUsagePreferenceControllerTest
Bug: 154769953
Test: make RunSettingsRoboTests
Change-Id: Id7f3603efb74edee521986ee4428297db6ec5e37
2020-04-23 09:13:48 +08:00
TreeHugger Robot
7fb2fa1624 Merge "Revert "Ignore a lot of failed test cases on Settings"" into rvc-dev am: 3c4b5d2a2e
Change-Id: Ied831b425697949ea01f33add1ce233ac6d9f224
2020-04-22 20:54:45 +00:00
TreeHugger Robot
3c4b5d2a2e Merge "Revert "Ignore a lot of failed test cases on Settings"" into rvc-dev 2020-04-22 20:22:56 +00:00
Xiangyu/Malcolm Chen
250aca2b74 Merge "Fix Robo test failure in NrDisabledInDsdsFooterPreferenceControllerTest." into rvc-dev am: 3f900d8a7c
Change-Id: Ie88c17f986e44edaac06e959572962d4a413512d
2020-04-22 19:23:49 +00:00
Xiangyu/Malcolm Chen
3f900d8a7c Merge "Fix Robo test failure in NrDisabledInDsdsFooterPreferenceControllerTest." into rvc-dev 2020-04-22 19:15:40 +00:00
Jeff Sharkey
1a703c4846 Revert "Ignore a lot of failed test cases on Settings"
This reverts commit d9d08ebd4f.

Bug: 154727109
Test: make RunSettingsRoboTests
Exempt-From-Owner-Approval: re-enabling tests
Change-Id: I4ed490f0199683ee84d687be17f7e90091deb7f1
2020-04-22 18:08:41 +00:00
TreeHugger Robot
067c21c565 Merge "[Wi-Fi] Fix a fail WifiEnhancedMacRandomizationPreferenceControllerTest" into rvc-dev am: d579af4d22
Change-Id: I36f8aee1c44336109535c539223a04d8a61715fd
2020-04-22 15:24:05 +00:00
TreeHugger Robot
d579af4d22 Merge "[Wi-Fi] Fix a fail WifiEnhancedMacRandomizationPreferenceControllerTest" into rvc-dev 2020-04-22 15:11:10 +00:00
Tom Hsu
2e78494e9d Merge "Make ApnEditor can show the customized default value on UI." into rvc-dev am: 49b82f8532
Change-Id: I701e453ab84ad8b9184fc82427c44f69b339a75c
2020-04-22 12:23:32 +00:00
Tom Hsu
49b82f8532 Merge "Make ApnEditor can show the customized default value on UI." into rvc-dev 2020-04-22 12:16:09 +00:00
tom hsu
fa3c931ab6 Make ApnEditor can show the customized default value on UI.
- Edittext on edittextpreference
 - Summary on edittextpreference

Bug: 142440775
Test: make RunSettingsRoboTests ROBOTEST_FILTER=ApnEditorTest -j
Test: Sanity test pass with customized carrier data
   - data in summary and text of edittext preference correctly correctly
   display on.
Change-Id: I3162de19659df79c5873c730d7d32e4ed998bcbe
2020-04-22 12:15:50 +00:00
TreeHugger Robot
93d784e3b1 Merge "Ignore a lot of failed test cases on Settings" into rvc-dev am: f90d2b2bca
Change-Id: I1326067a7b23730743fe2f46aaca40f11770903d
2020-04-22 08:03:35 +00:00
TreeHugger Robot
f90d2b2bca Merge "Ignore a lot of failed test cases on Settings" into rvc-dev 2020-04-22 07:50:35 +00:00
Stanley Wang
2ad6793eec Merge "Remove search result regression test from Settings." into rvc-dev am: a5f3282ff7
Change-Id: Id6659e53a82598f9d2ff4355b517dde490cd3c94
2020-04-22 06:04:48 +00:00
Stanley Wang
a5f3282ff7 Merge "Remove search result regression test from Settings." into rvc-dev 2020-04-22 05:54:15 +00:00
TreeHugger Robot
607549b764 Merge "Fix breadcrumb of search results provided by Settings" into rvc-dev am: d2291d447e
Change-Id: I83bbce8da2482ca8f3eac6dc83644fc5b5056c2d
2020-04-22 05:31:53 +00:00
TreeHugger Robot
d2291d447e Merge "Fix breadcrumb of search results provided by Settings" into rvc-dev 2020-04-22 05:18:34 +00:00
Sunny Shao
d9d08ebd4f Ignore a lot of failed test cases on Settings
Bug: 154667181
Bug: 154667917
Bug: 154667745
Bug: 154668517
Bug: 154667730
Bug: 154668805
Bug: 154669079
Bug: 154668589
Bug: 154670012
Bug: 154669528
Bug: 154668369
Bug: 154670613
Bug: 154669869

Test: make RunSettingsRoboTests
Change-Id: I37bf61fcd965b821e0198c695720ff826c8417b9
2020-04-22 12:51:30 +08:00
Bonian Chen
290c27c79e Merge "[Settings] Fix DataUsageSummaryPreferenceControllerTest" into rvc-dev am: 8f26e88bd9
Change-Id: I3ace138206b89eb73e3ac638ae9b01fa6aec2848
2020-04-22 04:41:13 +00:00
Bonian Chen
8f26e88bd9 Merge "[Settings] Fix DataUsageSummaryPreferenceControllerTest" into rvc-dev 2020-04-22 04:27:43 +00:00
Zhen Zhang
904a61ddfd Merge "Add ethernet tether option into AllInOneTetherSettings" into rvc-dev am: 92340eb89e
Change-Id: I76743b3f353bf8c01f3f62966ecdde7ccd549509
2020-04-22 03:06:18 +00:00
Zhen Zhang
92340eb89e Merge "Add ethernet tether option into AllInOneTetherSettings" into rvc-dev 2020-04-22 02:52:58 +00:00
Bonian Chen
61b9714a34 [Settings] Fix DataUsageSummaryPreferenceControllerTest
Fix test case of DataUsageSummaryPreferenceControllerTest

Bug: 154562264
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=DataUsageSummaryPreferenceControllerTest
Change-Id: I0b3366c86b0a621b9dda88bbcde6e118d37995b7
2020-04-22 10:39:42 +08:00
tim peng
0e750e6e75 Merge "Fix Robotest failed" into rvc-dev am: 143668668b
Change-Id: If97c416b4ecbcfa9791ea11e3bc802b122498cc6
2020-04-22 01:18:27 +00:00
tim peng
143668668b Merge "Fix Robotest failed" into rvc-dev 2020-04-22 00:59:38 +00:00
Arc Wang
ea3bfabee6 [Wi-Fi] Fix a fail WifiEnhancedMacRandomizationPreferenceControllerTest
Mock objects do not know the relation between setChecked
and isChecked. Should not call mock objects's setter and
assume the getter will return the corresponding value.

Bug: 154564960
Test: make RunSettingsRoboTests ROBOTEST_FILTER=WifiEnhancedMacRandomizationPreferenceControllerTest
Change-Id: Ib2e06f0fe60f7d6f90f76bd179a7aadccfcff4c4
2020-04-22 08:25:45 +08:00
Fabian Kozynski
518023ca0e Add setting toggle for power menu privacy
Adds a toggle for Secure.POWER_MENU_LOCKED_SHOW_CONTENT.

The toggle is disabled if cards & passes and controls are off or if the
user does not have a secure lock screen.

Test: manual
Test: PowerMenuPrivacyPreferenceControllerTest
Bug: 152212779
Change-Id: I45134cb9522a81b8e1b520938001488da7f40906
2020-04-21 20:29:31 +00:00
Malcolm Chen
08cc6396b2 Fix Robo test failure in NrDisabledInDsdsFooterPreferenceControllerTest.
Bug: 154566065
Test: robotest
Change-Id: I77dfa6eb61ee7b2cf2eb4fd8d8a392a43f7035b3
2020-04-21 18:41:52 +00:00
TreeHugger Robot
2a5213f207 Merge "Update ZenModeSettingsTest" into rvc-dev am: 0ff0929e0f
Change-Id: I6cd9a171153e7cef2473a134fa4f922c1a7ebefd
2020-04-21 14:31:09 +00:00
TreeHugger Robot
0ff0929e0f Merge "Update ZenModeSettingsTest" into rvc-dev 2020-04-21 14:12:15 +00:00
Beverly
d796da16f0 Update ZenModeSettingsTest
String was updated

Test: make ROBOTEST_FILTER=ZenModeSettingsTest RunSettingsRoboTests
Fixes: 154568594
Change-Id: Ia67f7ff2e3692cc4f40b87e94e3d3952002a9e87
2020-04-21 09:31:16 -04:00
Stanley Wang
153c5d514e Remove search result regression test from Settings.
- Move the test to internal app.

Bug: 116673764
Test: atest SettingsSearchResultRegressionTest
Change-Id: I1d50b896c0f6d7de871f409249b55bc7bfa88f4a
2020-04-21 19:39:00 +08:00
Yanting Yang
bfe16291a3 Fix breadcrumb of search results provided by Settings
Settings Search need Settings to provide custom site map pairs to
build up full breadcrumb for the search results from Gesture Settings
page.

Bug: 147851992
Bug: 151206664
Test: visual and robotests
Change-Id: I4a61e6da48755184954c2c90834578030ffc2e10
2020-04-21 19:11:45 +08:00
Jason Hsu
d31f5d58d8 Merge "Show default description only if description and html description are empty" into rvc-dev am: 0055a74794
Change-Id: I4a4fa05ec2f2a1a6aa615030a446d46ef9065caf
2020-04-21 09:44:20 +00:00
Jason Hsu
0055a74794 Merge "Show default description only if description and html description are empty" into rvc-dev 2020-04-21 09:41:15 +00:00