Commit Graph

60182 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
Zhen Zhang
0ea7803c18 Fix advanced preferences behavior in AllInOneTetherSettings am: b1d19a8b35
Change-Id: Ic3d6cc903c5b616af73888b5552794f45fbfab00
2020-04-07 03:56:53 +00:00
TreeHugger Robot
76b55e0b0a Merge "Add a developer setting for conversation enforcement" into rvc-dev 2020-04-07 03:47:02 +00:00
Zhen Zhang
b1d19a8b35 Fix advanced preferences behavior in AllInOneTetherSettings
In AllInOneTetherSettings, advanced preferences should not be hidden
again after user have expanded them.

Bug: 151954343
Test: CodeInspectionTest; AllInOneTetherSettingsTest; manually test oberved advanced preferences won't be hidden.
Change-Id: If2c7d99b7dcac4149f065eca73022a582924c90b
2020-04-06 19:14:41 +00:00
TreeHugger Robot
9eb9a9bb7c [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: df338dd652 -s ours
am skip reason: subject contains skip directive

Change-Id: I8d8146268f020bc46c7f78976dd14b2d1e08d5cd
2020-04-06 16:57:29 +00:00
TreeHugger Robot
5eb855a7f6 [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 293f7ce88c -s ours
am skip reason: subject contains skip directive

Change-Id: I6ace54b06bc3b9c47546e97d61b289bc3e833def
2020-04-06 16:52:44 +00:00
TreeHugger Robot
df338dd652 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-04-06 16:38:44 +00:00
TreeHugger Robot
293f7ce88c Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-04-06 16:33:27 +00:00
Julia Reynolds
dffd1ba351 Merge "Update history flow" into rvc-dev am: cb7fbe0faa
Change-Id: I19e879f61ff9259a0a4d021d35d9c96648bc8705
2020-04-06 13:55:17 +00:00
Julia Reynolds
ae9060246b Add a developer setting for conversation enforcement
Test: Robo tests
Fixes: 152907434
Change-Id: I4e16faf817349993a98955601829d1ad22fa3921
2020-04-06 09:53:31 -04:00
Julia Reynolds
cb7fbe0faa Merge "Update history flow" into rvc-dev 2020-04-06 13:37:33 +00:00
Bill Yi
a03995505f Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I0ee248806b1d77ca266c5ee47cc1420adfa465e6
2020-04-06 05:48:37 -07:00
Bill Yi
3aacc4e59a Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: If158e0aa6e1832b4d72901bb3fead8e1db4272c4
2020-04-06 05:16:34 -07:00
TreeHugger Robot
1bff922997 Merge "[Wi-Fi] Fix EntityHeader signal strength icon invisible problem" into rvc-dev am: 8efea18ca2
Change-Id: If3729a013ffcead7ab339cce0a99edb30b6177d4
2020-04-06 11:41:07 +00:00
TreeHugger Robot
8efea18ca2 Merge "[Wi-Fi] Fix EntityHeader signal strength icon invisible problem" into rvc-dev 2020-04-06 11:29:05 +00:00
Arc Wang
62e3a8276e [Wi-Fi] Fix EntityHeader signal strength icon invisible problem
WifiDetailPreferenceController2#onUpdated() triggers each controller
to displayPreference(PreferenceScreen screen) for visibility
updating. However, WifiDetailPreferenceController2 is a much
complex controller which should controll it's components visibility
by itself.

Bug: 152886237
Test: manual visual
      Observe EntityHeader signal strength icon UI display.
Change-Id: I80a8341ae051f21410070a81e01716eb49d2c8da
2020-04-06 17:24:01 +08:00
Toby Chuang
88fd6fb1ae Merge "[NFC] Add a picture under NFC settings to show NFC detection point." into rvc-dev am: 36b00c5e4f
Change-Id: I61911efcb9041c9ced1659e593a35d1bd98edd0f
2020-04-06 07:42:53 +00:00
Toby Chuang
36b00c5e4f Merge "[NFC] Add a picture under NFC settings to show NFC detection point." into rvc-dev 2020-04-06 07:28:00 +00:00
tim peng
030845ee3a Merge "No feedback when attempting to transfer to an unpowered BT device" into rvc-dev am: 75c84f8e64
Change-Id: I19cafa9e4f74298f647af7045d6254bad43b9c02
2020-04-06 07:14:09 +00:00
tim peng
75c84f8e64 Merge "No feedback when attempting to transfer to an unpowered BT device" into rvc-dev 2020-04-06 07:06:03 +00:00
Jason Hsu
ebff648e69 Merge "Add accessibility timeout help resources to link to existing help page." into rvc-dev am: eb11b5113c
Change-Id: I09ed471e8c28bd803134ed40a9e9876608f2b337
2020-04-06 06:17:10 +00:00
Jason Hsu
eb11b5113c Merge "Add accessibility timeout help resources to link to existing help page." into rvc-dev 2020-04-06 05:56:18 +00:00
TreeHugger Robot
bf57fc64e2 Merge "Update permission summary when permission changing." into rvc-dev am: d81224b7d4
Change-Id: I3de538d7575f4691e0aa09538bbbee19ec326493
2020-04-06 05:38:35 +00:00
Toby Chuang
204fa8a420 [NFC] Add a picture under NFC settings to show NFC detection point.
Each smartphone has a different NFC antenna detection point,
users would confuse where the NFC antenna is and how to place the
smartphone close to the card reader/equipment.

Starting from Android R device, we move NFC antenna position from
top area to middle center of the phone.

From the OEMs perspective, they could implement their own picture
to indicate the best NFC detection point.Hence, we propose to
show NFC antenna position under NFC setting.

Bug: 142230563
Test: build pass
Change-Id: Ib3cd7fc3ea299be1667aba0aeebaa148fb49015f
2020-04-06 13:37:31 +08:00
TreeHugger Robot
d81224b7d4 Merge "Update permission summary when permission changing." into rvc-dev 2020-04-06 05:22:01 +00:00
ChenJean
aa87e024d5 Support caption second UI structure (5/n)
Update constants

Bug: 143502915
Test: manual
Merged-In: I7d27bc255f4f5fa8d8a34e6ced533b61ea827ef1
Change-Id: I7d27bc255f4f5fa8d8a34e6ced533b61ea827ef1
(cherry picked from commit ba7eb47823)
2020-04-06 04:20:05 +00:00
ChenJean
9e1bb0def1 Support autoclick secondary action (8/n)
Modify options description logic from 5 types to 3 types.

Bug: 149884746
Test: manual
Merged-In: I714db2a450e34d33e5728cf355136d26bef77e11
Change-Id: I714db2a450e34d33e5728cf355136d26bef77e11
(cherry picked from commit b6d6d9da46)
2020-04-06 04:19:16 +00:00