Commit Graph

61343 Commits

Author SHA1 Message Date
TreeHugger Robot
9f4acebb5f Merge "The text on toast should be changed when remains 1 time for SIM lock input" into rvc-dev am: 9a84a2d544 am: 6882062638
Change-Id: If7383eeace3677f175e86939ea080db0c8da273c
2020-04-07 11:47:25 +00:00
TreeHugger Robot
6882062638 Merge "The text on toast should be changed when remains 1 time for SIM lock input" into rvc-dev am: 9a84a2d544
Change-Id: I275316f28e7cd9027a5e121b76f6af52283c8ad9
2020-04-07 11:39:41 +00:00
Bonian Chen
1df6c9cdd4 [Settings] Code refactor
Remove unused import

Bug: 10956255
Test: build pass
Change-Id: I256870483d85bf7000556357071834cad24884d1
2020-04-07 19:29:49 +08:00
TreeHugger Robot
9a84a2d544 Merge "The text on toast should be changed when remains 1 time for SIM lock input" into rvc-dev 2020-04-07 11:23:32 +00:00
TreeHugger Robot
f33b730c53 Merge "Add keywords for system naviagtion setting" into rvc-dev am: e55fe59844 am: a08e2e4976 am: 8c698be978
Change-Id: Id55fbfb85c65e8069b3c37d7f55204ea98f62732
2020-04-07 11:04:17 +00:00
TreeHugger Robot
8c698be978 Merge "Add keywords for system naviagtion setting" into rvc-dev am: e55fe59844 am: a08e2e4976
Change-Id: I4b12c37a4e438edae5a3b954cc7e51c73f65a9cc
2020-04-07 10:51:41 +00:00
TreeHugger Robot
a08e2e4976 Merge "Add keywords for system naviagtion setting" into rvc-dev am: e55fe59844
Change-Id: Ic357e80726731fad84ee277dfcc33afd8e8373a7
2020-04-07 10:37:43 +00:00
TreeHugger Robot
e55fe59844 Merge "Add keywords for system naviagtion setting" into rvc-dev 2020-04-07 10:22:07 +00:00
Tsung-Mao Fang
9c69ded434 The text on toast should be changed when remains 1 time for SIM lock input
This cl was cherry-picked from aosp/585306

The behavior of getQuantityString() is different according to language, it gets
both "other" and "one" string if English is system language. But it always gets
"other" string if non-English, then the "other" string of wrong_pin_code is
shown even if remains 1 time of SIM lock input.

In order to change the string in any language, we add new string for
remains 1 time.

Test: Rebuild rom
Fix: 71783850
Change-Id: If4b53bbbc6b51582bc0837abf4497d9a75ebbaad
2020-04-07 16:54:06 +08:00
Jason Chiu
b12e3b96c9 Support click metrics logs in several pages
- Assign metrics category to perferences at an earlier stage in
  DashboardFragment for better usability.

Bug: 137559984
Test: robotest
Change-Id: Icd4185efa0e655be20c4b673a1380fa42140923f
2020-04-07 16:44:53 +08:00
Tsung-Mao Fang
73c2a8b76f Add keywords for system naviagtion setting
Fix: 152979084
Test: Open setting search, see system navigation when I typed "swipe"
Change-Id: I2937276f9eb7e9534aa61e2c4b256ce218b99140
2020-04-07 16:39:29 +08:00
Tim Peng
6fb4059944 Transferring to a cast device should not close the output switcher
-Close panel only when on pause and stop
-Transfer device would set the play state to "STATE_NONE"
-Add test case

Bug: 152632226
Test: make -j42 RunSettingsRoboTests
Change-Id: Ibf6ce1454b1d5bf3facc07abec15b8735029f2cf
2020-04-07 08:02:30 +00:00
Arc Wang
78b1fc5efa Merge "[Wi-Fi] Index Wi-Fi preferences." into rvc-dev am: c707a93d00 am: c5c5d38005 am: b3cda50ae8
Change-Id: Ia9590a7e6067052406b17d186086e80dcd37c0dd
2020-04-07 07:58:16 +00:00
Tim Peng
2f87c336da Settings crashed by a null worker
-Add worker checker
-Add test case

Bug: 153356562
Test: make -j42 RunSettingsRoboTests
Change-Id: I129ff63a48b3785aacc846fe1dd67a926a8e5e1f
2020-04-07 07:48:38 +00:00
Arc Wang
b3cda50ae8 Merge "[Wi-Fi] Index Wi-Fi preferences." into rvc-dev am: c707a93d00 am: c5c5d38005
Change-Id: If3e0fe6de11a6e072518b69d442802bcc4e51ce9
2020-04-07 07:45:31 +00:00
Arc Wang
c5c5d38005 Merge "[Wi-Fi] Index Wi-Fi preferences." into rvc-dev am: c707a93d00
Change-Id: If1dc968d1fd0ebca7fbe4dc45c7ab47c3a2f6215
2020-04-07 07:26:45 +00:00
Arc Wang
c707a93d00 Merge "[Wi-Fi] Index Wi-Fi preferences." into rvc-dev 2020-04-07 07:16:26 +00:00
Jason Chiu
0758d7e00c Merge "Refine metrics log in infrastructure" into rvc-dev am: 4edb83b260 am: 664adc4691 am: 79303fd5cd
Change-Id: I8cdfd5aad540c77b228166aa4188e777ba617049
2020-04-07 07:14:13 +00:00
Jason Hsu
3ee44a4d74 Merge "Add accessibility color inversion help resources to link to existing help page." into rvc-dev am: dfa6cf0d05 am: 5aa7cde292 am: cda683567e
Change-Id: I118e93908a4f48cc0d77024799896f28617030e1
2020-04-07 07:14:02 +00:00
Jason Chiu
79303fd5cd Merge "Refine metrics log in infrastructure" into rvc-dev am: 4edb83b260 am: 664adc4691
Change-Id: Ieadbbbadb687da3b997ffb02e25c5574206c6e9d
2020-04-07 06:59:17 +00:00
Jason Hsu
cda683567e Merge "Add accessibility color inversion help resources to link to existing help page." into rvc-dev am: dfa6cf0d05 am: 5aa7cde292
Change-Id: If5470aacf1c968c99797000f18e97a0f6ec93359
2020-04-07 06:59:09 +00:00
Jason Chiu
664adc4691 Merge "Refine metrics log in infrastructure" into rvc-dev am: 4edb83b260
Change-Id: I70315838180df4c1af666d5ec0d1825dfa71ecd3
2020-04-07 06:46:40 +00:00
Jason Hsu
5aa7cde292 Merge "Add accessibility color inversion help resources to link to existing help page." into rvc-dev am: dfa6cf0d05
Change-Id: Ib64457cdeac0205a0551ca5834db15a083830f8d
2020-04-07 06:46:28 +00:00
Jason Chiu
4edb83b260 Merge "Refine metrics log in infrastructure" into rvc-dev 2020-04-07 06:33:30 +00:00
Bonian Chen
629be6a8a8 Merge "[Settings] Core refactor" into rvc-dev am: 1e5cf6525a am: 14e8c6dba1 am: 5092e504fa
Change-Id: I0a86c0520f40cbb455fec84473b3a443673a24d5
2020-04-07 06:30:48 +00:00
Menghan Li
3ec17d0cbb Merge "Revise Q behavior migration of accessibility edit dialog" into rvc-dev am: 6c59995503 am: 54609663de am: 3595472e73
Change-Id: I6d53e98dcf8a7cc09fec9d5fac76809f0e26c522
2020-04-07 06:30:37 +00:00
Jason Hsu
dfa6cf0d05 Merge "Add accessibility color inversion help resources to link to existing help page." into rvc-dev 2020-04-07 06:28:10 +00:00
Bonian Chen
5092e504fa Merge "[Settings] Core refactor" into rvc-dev am: 1e5cf6525a am: 14e8c6dba1
Change-Id: Iebaad0f00caa90909479310d4895078bfae74dbe
2020-04-07 06:18:55 +00:00
Menghan Li
3595472e73 Merge "Revise Q behavior migration of accessibility edit dialog" into rvc-dev am: 6c59995503 am: 54609663de
Change-Id: I56ff2b4f803379346543d0ae61047ff22e310cfe
2020-04-07 06:18:48 +00:00
Jason Chiu
819abf7f87 Refine metrics log in infrastructure
- Add interfaces to set/get metrics category in BasePreferenceController
  for descendants having a chance to get it.
- Set metrics category in DashboardFragment
- Automatically log metrics in onPreferenceChange of
  TogglePreferenceController
- Add support for TwoStateButtonPreference in TogglePreferenceController
  to make the preference generic

Bug: 137559984
Test: robotest
Change-Id: Ia7e0d24a3db1991b18e0286d9894570fa71247a3
2020-04-07 14:08:39 +08:00
Bonian Chen
14e8c6dba1 Merge "[Settings] Core refactor" into rvc-dev am: 1e5cf6525a
Change-Id: I81b538c5829d1c05e8ef54343d70fb8e17cbcc01
2020-04-07 06:02:23 +00:00
Menghan Li
54609663de Merge "Revise Q behavior migration of accessibility edit dialog" into rvc-dev am: 6c59995503
Change-Id: Ieb416e79e10a9f5a885c061f46f9b2c55f2a1356
2020-04-07 06:02:15 +00:00
Bonian Chen
1e5cf6525a Merge "[Settings] Core refactor" into rvc-dev 2020-04-07 05:57:28 +00:00
Menghan Li
6c59995503 Merge "Revise Q behavior migration of accessibility edit dialog" into rvc-dev 2020-04-07 05:54:56 +00:00
Menghan Li
783598ce7c Merge "Support caption second UI structure (5/n)" into rvc-dev am: c0c522d999 am: 57f7168c9e am: ca01f2bd30
Change-Id: I158fbec994f58d35db5d699a1345e2e64ad37302
2020-04-07 05:06:35 +00:00
Menghan Li
10b70fb05e Merge "Support autoclick secondary action (8/n)" into rvc-dev am: 47b01403ee am: 0f576c7727 am: fb9ce11def
Change-Id: I2487b4e6059560f2c527746cc10b65effee1dfea
2020-04-07 05:06:27 +00:00
Menghan Li
ca01f2bd30 Merge "Support caption second UI structure (5/n)" into rvc-dev am: c0c522d999 am: 57f7168c9e
Change-Id: I3ef4eba6b0de48bf1e04aeb9c72373aac23c46b5
2020-04-07 04:49:17 +00:00
Menghan Li
fb9ce11def Merge "Support autoclick secondary action (8/n)" into rvc-dev am: 47b01403ee am: 0f576c7727
Change-Id: I242dabf3e655021278a076ce20d56ea9ebc9a8f8
2020-04-07 04:49:10 +00:00
Menghan Li
57f7168c9e Merge "Support caption second UI structure (5/n)" into rvc-dev am: c0c522d999
Change-Id: Ic76b90acb28cf63bcee7ac953a8f14a5f346c20d
2020-04-07 04:39:10 +00:00
Menghan Li
0f576c7727 Merge "Support autoclick secondary action (8/n)" into rvc-dev am: 47b01403ee
Change-Id: If142e6cf0b0e979a8cca590523071217cffe4532
2020-04-07 04:38:54 +00:00
TreeHugger Robot
d9beeb5b63 Merge "Add a developer setting for conversation enforcement" into rvc-dev am: 76b55e0b0a am: 7008d7a192 am: cf6c1c9cbb
Change-Id: I50767c48d386f1c07767be038fafacbdad34494a
2020-04-07 04:28:24 +00:00
Zhen Zhang
69d49427c9 Fix advanced preferences behavior in AllInOneTetherSettings am: b1d19a8b35 am: 0ea7803c18 am: 79ce7a0854
Change-Id: I65580dd2e5d4665df0adf63fb1747261e001ffe2
2020-04-07 04:28:06 +00:00
Menghan Li
c0c522d999 Merge "Support caption second UI structure (5/n)" into rvc-dev 2020-04-07 04:24:20 +00:00
Menghan Li
47b01403ee Merge "Support autoclick secondary action (8/n)" into rvc-dev 2020-04-07 04:23:56 +00:00
Bonian Chen
b1c7e21066 [Settings] Core refactor
Remove empty lines, and maintain the comments.

Bug: 150352656
Test: build pass
Change-Id: If0552d7ce20de5941667aa64e682202aaf32c597
2020-04-07 12:09:51 +08:00
TreeHugger Robot
cf6c1c9cbb Merge "Add a developer setting for conversation enforcement" into rvc-dev am: 76b55e0b0a am: 7008d7a192
Change-Id: I1525a5c686433840a247fde1f7f7e5023716ee4f
2020-04-07 04:08:54 +00:00
Zhen Zhang
79ce7a0854 Fix advanced preferences behavior in AllInOneTetherSettings am: b1d19a8b35 am: 0ea7803c18
Change-Id: I2da96861d89773c4a0f4ae0cdac6ddb7d13da855
2020-04-07 04:08:47 +00:00
jasonwshsu
7c073c4c40 Add accessibility color inversion help resources to link to existing help page.
Bug: 151604096
Bug: 150873532
Test: manual test
Change-Id: Ie042d822de3ff5017548b8d92c74b208ee1f3a02
2020-04-07 12:06:03 +08:00
Varun Shah
2aeedcde21 Update display logic for no shared data.
When there is no shared data, instead of showing an empty list view,
the developer option's summary is updated.

Additionally, for the two shared data screens, added the back button to
the action bar so that it matches the other screens in the Settings app.

Also, implemented PreferenceControllerMixin for the
SharedDataPreferenceController so that the dev option shows up in
settings search.

Bug: 153079829
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SharedDataPreferenceControllerTest
Test: manual (visual)
Change-Id: I6ec5c35fc262dc27a383af8e2593be5b349ee85f
2020-04-06 20:58:11 -07:00
TreeHugger Robot
7008d7a192 Merge "Add a developer setting for conversation enforcement" into rvc-dev am: 76b55e0b0a
Change-Id: I09354573eae552a56444be82e49b4037765e50e7
2020-04-07 03:57:57 +00:00