Commit Graph

60310 Commits

Author SHA1 Message Date
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
menghanli
2869235a86 Refines accessibility button in shortcut summary strings
Root cause: we plan to only capitalize the first letter only, it would cause
this sentence has new capitalized issue.

Next: Refines the sentence.

Bug: 148837311
Test: Manual test
Change-Id: I0f6d3d1a3713701b4e2cd09eb49706bbe4604ce9
2020-04-24 01:41:49 +00:00
Bonian Chen
4908511b17 Merge "[Settings] Fix DataUsageSummaryTest" into rvc-dev 2020-04-24 01:18:25 +00:00
TreeHugger Robot
58d4aab3c2 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-04-23 23:30:08 +00:00
TreeHugger Robot
eba37898c8 Merge "String update for notifications" into rvc-dev 2020-04-23 21:43:29 +00:00
Julia Reynolds
4704d6394a Fix some heights
Test: view with big text, low density
Fixes: 152937308
Change-Id: I2d34b63cf147daf1952804d606061c02b57e2165
2020-04-23 16:59:58 -04: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
Julia Reynolds
cee485b88b String update for notifications
Test: manual
Fixes: 154541748
Change-Id: I007875e19410a7b2a51ca73a9329e0c4cea76c5d
2020-04-23 20:29:35 +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
5ad98383d5 Merge "Add conversation onboarding" into rvc-dev 2020-04-23 17:16:58 +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
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
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
ef2e319347 Merge "[Settings] Fix CellDataPreferenceTest" into rvc-dev 2020-04-23 11:54:44 +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
TreeHugger Robot
cb0a251c38 Merge "Change color for homepage background" into rvc-dev 2020-04-23 10:59:06 +00: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
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
Bill Yi
ae01b5db8e Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I43670d7bee20a186644b636ad118e207bf6e3ccb
2020-04-23 01:18:01 -07: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
Tsung-Mao Fang
1c376a3a10 Change color for homepage background
Test: Rebuilt rom and see the home page icon
Bug: 148306887
Change-Id: Ieb9c5a1b7f629a0dc0ccf5dc54342cffd2e4dff1
2020-04-23 14:26:49 +08:00
TreeHugger Robot
b211395b3f Merge "Failed ROBO tests" into rvc-dev 2020-04-23 06:03:35 +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
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
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
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
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
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
d579af4d22 Merge "[Wi-Fi] Fix a fail WifiEnhancedMacRandomizationPreferenceControllerTest" into rvc-dev 2020-04-22 15:11:10 +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
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
a83a8e29c3 Merge "Uniform the settings enum proto for accessibility tutorial." into rvc-dev 2020-04-22 11:42:27 +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
f90d2b2bca Merge "Ignore a lot of failed test cases on Settings" into rvc-dev 2020-04-22 07:50:35 +00:00