Commit Graph

61430 Commits

Author SHA1 Message Date
Peter_Liang
72aa60ae95 Tutorial improvement for Accessibility shortcut (2/n).
Update UI widgets to meet the new design.

Bug: 148989018
Test: manual test
Change-Id: Ife42995af193db6746135d29f6fa1ad452d265a6
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
Bonian Chen
048d9fe19e [Settings] Code Refactor
Code refactor to provide the capability of method override

Bug: 141833767
Test: manual
Change-Id: I79647a7ff79f1f722bcfdf8190590df61bb3510a
2020-04-23 04:11:55 +00: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
menghanli
8a27603600 Fix formats and internationalization of the string "0.6 seconds" in sk language
Root cause: The OTHER quantity does not require special treatment of the given quantity
Next: Using few quantity for the language requires special treatment of "small" numbers (as with  numbers ending 2, 3, or 4)

Bug: 154085511
Test: Change language to Slovensko to check the UI
Change-Id: I9143d9504cf8f9c5ccf17160e0dc0943fa10d31d
2020-04-23 11:30:17 +08: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
Bonian Chen
761a13700f [Settings] Code refactor for data usage
Code refactor

Bug: 151751844
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=DataUsageSummaryPreferenceControllerTest
Change-Id: I22b323bae0b18cca26c62d047fdb504c012518b5
2020-04-23 11:01:34 +08: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
Julia Reynolds
2980f78e36 Add conversation onboarding
Test: atest
Fixes: 150791002
Change-Id: I51c27300acb8e18b28b5b5e5bf0d2623c65af909
2020-04-22 16:51:34 -04: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
TreeHugger Robot
510612c048 Merge "Fix the accessibility toggle layout for RTL" into rvc-dev am: 8947a49bcf
Change-Id: Ib8496f746de1e3372971669bd8acae872300df03
2020-04-22 19:23:38 +00:00
Xiangyu/Malcolm Chen
3f900d8a7c Merge "Fix Robo test failure in NrDisabledInDsdsFooterPreferenceControllerTest." into rvc-dev 2020-04-22 19:15:40 +00:00
TreeHugger Robot
8947a49bcf Merge "Fix the accessibility toggle layout for RTL" into rvc-dev 2020-04-22 19:09:12 +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
Bonian Chen
80658af14e Merge "[Settings] Mobile data usage code refactor" into rvc-dev am: 673251973b
Change-Id: If9e385602bfabd19b39f337d3e0f13b5f48e914e
2020-04-22 14:38:45 +00:00
Bonian Chen
673251973b Merge "[Settings] Mobile data usage code refactor" into rvc-dev 2020-04-22 14:27:31 +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
PETER LIANG
eaa7d1cc7a Merge "Uniform the settings enum proto for accessibility tutorial." into rvc-dev am: a83a8e29c3
Change-Id: Id69769e1524609ef78f885fd120dd1b166ecdd70
2020-04-22 12:02:28 +00:00
PETER LIANG
a83a8e29c3 Merge "Uniform the settings enum proto for accessibility tutorial." into rvc-dev 2020-04-22 11:42:27 +00:00
Bonian Chen
44ed75bf6b Merge "[Settings] Adopt TelephonyBasePreferenceController to data usage" into rvc-dev am: a4efeb7a0a
Change-Id: Ic0d2ec2bde87fdcd11c68d47a4a85da7bd880441
2020-04-22 10:25:50 +00:00
Bonian Chen
0fef82fbd1 [Settings] Mobile data usage code refactor
Code refactor

Bug: 151751844
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=DataUsagePreferenceControllerTest
Change-Id: Ie1870523ce83e6a1fc56fe9bc4c61708e0e745c4
2020-04-22 18:22:35 +08:00
Bonian Chen
a4efeb7a0a Merge "[Settings] Adopt TelephonyBasePreferenceController to data usage" into rvc-dev 2020-04-22 10:12:24 +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
Bonian Chen
354ab264eb Merge "[Settings] Mobile data usage code refactor" into rvc-dev am: 7db5840dfe
Change-Id: I98be2b05bbdcea2dccabc3b5bdf42e0e2e601adf
2020-04-22 07:46:01 +00:00
TreeHugger Robot
46ff5abc5b Merge "Incorrect checkbox icon in dynamic group panel" into rvc-dev am: 766e060c75
Change-Id: I0989c5e7ac206ffe1e339801c4885b2523a2dd36
2020-04-22 07:45:54 +00:00
Bonian Chen
d436727a3e Merge "[Settings] To avoid from crash when callback" into rvc-dev am: af05f6303d
Change-Id: Ica383ae78a7b4b921bcbf2b303f68b65d94da61b
2020-04-22 07:45:47 +00:00
Bonian Chen
7db5840dfe Merge "[Settings] Mobile data usage code refactor" into rvc-dev 2020-04-22 07:17:22 +00:00
TreeHugger Robot
766e060c75 Merge "Incorrect checkbox icon in dynamic group panel" into rvc-dev 2020-04-22 07:16:42 +00:00
Bonian Chen
af05f6303d Merge "[Settings] To avoid from crash when callback" into rvc-dev 2020-04-22 07:00:12 +00:00
Jason Chiu
499364c9fd Merge "Fix the incorrect title of Panel" into rvc-dev am: 1f91111c3a
Change-Id: Ife2fade68a4cc565111adb773986c45707840a6e
2020-04-22 06:47:16 +00:00
Jason Chiu
1f91111c3a Merge "Fix the incorrect title of Panel" into rvc-dev 2020-04-22 06:30:12 +00:00
Jason Chiu
4bbc85eb54 Fix the incorrect title of Panel
Since panel activity is singleInstance, a newer panel will reuse the
same fragment as the previous panel when they are displayed one after
another.

Panel fragment has two kinds of exclusive header layout which shouldn't
be showed at the same time, so we have to reset their visible states
when creating panel content.

Fixes: 154668079
Test: robotest
Change-Id: I701a7cde4b43322fbc63ae1cb74c41dd23b37c0c
2020-04-22 06:29:57 +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
Tim Peng
55ce33fbe7 Incorrect checkbox icon in dynamic group panel
-Mutate icon to prevent modifying the original resource

Bug: 154673054
Test: build pass
Change-Id: I0e1a6506cb951f80f316649d27c7728132c05be6
2020-04-22 13:50:46 +08: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
Bonian Chen
6ea4727eb4 [Settings] Mobile data usage code refactor
Code refactor

Bug: 151751844
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=DataUsagePreferenceControllerTest
Change-Id: If85207ebe2edb8c547bb6dac0c55bbd146b62361
2020-04-22 13:13:33 +08: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
Menghan Li
506aeff94c Merge "Fix Auto click (dwell timing) does not speech out meaningful delay time in enlarge or scroll by volume key" into rvc-dev am: 9a527eb8ef
Change-Id: Ib993f048d2112bf274e9b67180f712e7925ce2da
2020-04-22 04:40:59 +00:00
Bonian Chen
1a8d501d7d [Settings] Adopt TelephonyBasePreferenceController to data usage
Adopt TelephonyBasePreferenceController in order to better support DSDS.

Bug: 151751844
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=DataUsageSummaryPreferenceControllerTest
Change-Id: I502b93f01b289b72989ad3167131cc0c598b1583
2020-04-22 12:38:11 +08:00
Bonian Chen
8f26e88bd9 Merge "[Settings] Fix DataUsageSummaryPreferenceControllerTest" into rvc-dev 2020-04-22 04:27:43 +00:00