Bonian Chen
6ce37e3f53
[Settings] Code refactor
...
Remove unused inport and adjust the import sequence.
Bug: 150352656
Test: build pass
Change-Id: Ifd1e37e56d0b0ae1d5b31723b8545ae95e707a66
2020-04-08 14:26:46 +08:00
govenliu
a82d2c8a88
[Wi-Fi] Use getUriHelpString() result to judge if Settings APP should register the help button click event and file related intent if need.
...
The Openroaming help button should show only when the getHelpUriString() value is not null, and need to handle the click event in Settings APP.
Bug: 146669261
Test: Adjust unit test cases:
1. make RunSettingsRoboTests ROBOTEST_FILTER=WifiEntryPreferenceTest
2. make RunSettingsRoboTests ROBOTEST_FILTER=WifiSettings2Test
Change-Id: I27a717c3014b01cc464908bac56f64bd08aa5da3
2020-04-08 13:41:15 +08:00
Bonian Chen
c0c78129c8
Merge "[Settings] Code refactor" into rvc-dev am: 05cb60b258
am: 403c8aa4ee
...
Change-Id: I0738d3cac701a396f334ace6b0a6ea309bd11c13
2020-04-08 05:21:36 +00:00
Bonian Chen
403c8aa4ee
Merge "[Settings] Code refactor" into rvc-dev am: 05cb60b258
...
Change-Id: I59eea93d852d4397306099e14c202c795761a446
2020-04-08 05:03:08 +00:00
Bonian Chen
05cb60b258
Merge "[Settings] Code refactor" into rvc-dev
2020-04-08 04:52:23 +00:00
Arc Wang
067757f8d9
[Wi-Fi] Fix TalkBack focus lost in SavedAccessPointsWifiSettings2
...
PreferenceGroup in a controller is not in a RecyclerView,
TalkBack loses focus after PreferenceGroup#removeAll.
To fix it, only add/remove the preference if it's necessary.
Bug: 153278854
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SavedAccessPointsPreferenceController2Test
Change-Id: Ie9ad5481c33865dce2b7db04d0f969b1f49b80e1
2020-04-08 11:58:27 +08:00
Bonian Chen
03e935f435
Merge "Merge "Catch crash in mobile network ProgressDialog" am: aaee4539c7
am: 840506e88a
am: 2d84cdbc3a
am: e6c57426cd
am: 7300bab2b6" into rvc-dev am: bb9fbb60f0
am: 9140b1d29f
...
Change-Id: Ibc81e28dc1a5c4ae07199c2627035d2e4f6716d3
2020-04-08 03:50:47 +00:00
tim peng
76b3da3eee
Merge "Settings crashed by a null worker" into rvc-dev am: e189ac522e
am: 3ffe34a48b
...
Change-Id: I98ce7ff3c2375ee69847d772cf3fd8f8710c99c2
2020-04-08 03:50:42 +00:00
tim peng
6e423144e7
Merge "Transferring to a cast device should not close the output switcher" into rvc-dev am: f1f7b861d9
am: f8d7c09e36
...
Change-Id: Ie0b24981147270289334843c48e22009415d2595
2020-04-08 03:50:30 +00:00
Bonian Chen
9140b1d29f
Merge "Merge "Catch crash in mobile network ProgressDialog" am: aaee4539c7
am: 840506e88a
am: 2d84cdbc3a
am: e6c57426cd
am: 7300bab2b6" into rvc-dev am: bb9fbb60f0
...
Change-Id: I15184d9be4569bd195a7416cad256f4943d2ca9b
2020-04-08 03:36:09 +00:00
tim peng
3ffe34a48b
Merge "Settings crashed by a null worker" into rvc-dev am: e189ac522e
...
Change-Id: I4a837f5a6e19c1df63ef45e4579710cc40afda9c
2020-04-08 03:36:02 +00:00
tim peng
f8d7c09e36
Merge "Transferring to a cast device should not close the output switcher" into rvc-dev am: f1f7b861d9
...
Change-Id: Ib06f81892b8176fd9084543d6d970e15a50ac51d
2020-04-08 03:35:54 +00:00
Bonian Chen
bb9fbb60f0
Merge "Merge "Catch crash in mobile network ProgressDialog" am: aaee4539c7
am: 840506e88a
am: 2d84cdbc3a
am: e6c57426cd
am: 7300bab2b6" into rvc-dev
2020-04-08 03:23:09 +00:00
tim peng
e189ac522e
Merge "Settings crashed by a null worker" into rvc-dev
2020-04-08 03:18:31 +00:00
tim peng
f1f7b861d9
Merge "Transferring to a cast device should not close the output switcher" into rvc-dev
2020-04-08 03:18:09 +00:00
TreeHugger Robot
625cd52625
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev am: 5064d96e3a
-s ours am: f97c675cde
-s ours am: 0da8214ae4
-s ours
...
am skip reason: subject contains skip directive
Change-Id: Ia522e179e984c67e350d8b426983762866dc00e2
2020-04-08 01:07:38 +00:00
TreeHugger Robot
0da8214ae4
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev am: 5064d96e3a
-s ours am: f97c675cde
-s ours
...
am skip reason: subject contains skip directive
Change-Id: I542c75f8e37a04987fa74bc83ec6fc4c8c691a62
2020-04-08 00:50:33 +00:00
Bill Yi
2723f2940f
[automerger skipped] Import translations. DO NOT MERGE am: ae901dc181
-s ours am: 2d031a2068
-s ours am: ca155cd26d
-s ours
...
am skip reason: subject contains skip directive
Change-Id: I73c748c7da2ced7b197911e6aad97f6cee51e963
2020-04-08 00:37:01 +00:00
TreeHugger Robot
f97c675cde
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev am: 5064d96e3a
-s ours
...
am skip reason: subject contains skip directive
Change-Id: I5197f84d818588ccb3e3686b32c5e0beb12c1463
2020-04-08 00:36:53 +00:00
Bill Yi
ca155cd26d
[automerger skipped] Import translations. DO NOT MERGE am: ae901dc181
-s ours am: 2d031a2068
-s ours
...
am skip reason: subject contains skip directive
Change-Id: I8d41aea0cd7c0dd5bd637cf7f14c82ef4748f7c3
2020-04-08 00:24:56 +00:00
TreeHugger Robot
5064d96e3a
Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev
2020-04-08 00:18:18 +00:00
TreeHugger Robot
3d59946a23
[automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 18f56af885
-s ours am: 5e4fb3f052
-s ours
...
am skip reason: subject contains skip directive
Change-Id: I149e7a24a322cd99bad2faa8e58e83382b225268
2020-04-08 00:13:55 +00:00
Menghan Li
6552b09e6b
Merge "Fix gesture navigation popup is displaying inconsistently on the System navigation page." into rvc-dev am: a43f842c56
am: 48596c45a4
...
Change-Id: I8f192780610c949ddb9b4bf119b931951bad6c36
2020-04-08 00:13:47 +00:00
Bill Yi
2d031a2068
[automerger skipped] Import translations. DO NOT MERGE am: ae901dc181
-s ours
...
am skip reason: subject contains skip directive
Change-Id: Idc1bb3593dba2931cfe035fcca47b88a48767866
2020-04-08 00:10:43 +00:00
TreeHugger Robot
5e4fb3f052
[automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 18f56af885
-s ours
...
am skip reason: subject contains skip directive
Change-Id: I471e8af6bba792d60cb5f52604be74773e5f91fe
2020-04-07 23:50:24 +00:00
Menghan Li
48596c45a4
Merge "Fix gesture navigation popup is displaying inconsistently on the System navigation page." into rvc-dev am: a43f842c56
...
Change-Id: I7fed711f096a26a1020869c8a882f1186678d6ae
2020-04-07 23:50:13 +00:00
TreeHugger Robot
18f56af885
Merge "Import translations. DO NOT MERGE" into rvc-dev
2020-04-07 23:47:28 +00:00
Menghan Li
a43f842c56
Merge "Fix gesture navigation popup is displaying inconsistently on the System navigation page." into rvc-dev
2020-04-07 23:40:09 +00:00
Bill Yi
c408c6b4d5
[automerger skipped] Import translations. DO NOT MERGE am: ea107980f0
-s ours am: 4e377ccb54
-s ours
...
am skip reason: subject contains skip directive
Change-Id: Idf6682d6abc8c71c99b1a966b7a4fe79f45f2e42
2020-04-07 22:55:36 +00:00
Bill Yi
31e944a20a
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Change-Id: I5302a1941d87bc6bc89039c91b5e4799f94259ec
2020-04-07 15:50:51 -07:00
Bill Yi
4e377ccb54
[automerger skipped] Import translations. DO NOT MERGE am: ea107980f0
-s ours
...
am skip reason: subject contains skip directive
Change-Id: Ib19b197500dddba205037e868dd08d66a0d3352f
2020-04-07 22:43:51 +00:00
Bill Yi
ae901dc181
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Change-Id: I7094db11ac59ba3a27a9767e0b75b33ebe3a42f7
2020-04-07 15:17:43 -07:00
Bill Yi
a49e904780
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Change-Id: I37ab2380d2cd22581ddc8cfaa9d0f873ee5dc323
2020-04-07 14:47:22 -07:00
Bill Yi
ea107980f0
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Change-Id: Iac2e8d8906fd2900b3ef81c68135ba8b95b06590
2020-04-07 14:14:15 -07:00
Joshua Duong
4b5d5901ec
Merge "[a11y] Fix TalkBack readback on adb qrcode fragment." into rvc-dev am: 23040a3b2b
am: b56a1dde4c
...
Change-Id: Ifff24ae7e17287711ca19e3166a07a71eae45d8c
2020-04-07 18:09:58 +00:00
Joshua Duong
4a7fff070c
[a11y] Set focus on "Pairing device" text once QR code is scanned. am: 2a85924977
am: 586eb5ed83
...
Change-Id: I7b20c1c71581af6822d4d286210fcdd24a2652e6
2020-04-07 18:09:53 +00:00
Joshua Duong
b56a1dde4c
Merge "[a11y] Fix TalkBack readback on adb qrcode fragment." into rvc-dev am: 23040a3b2b
...
Change-Id: I118932876cf382aefb10a353ee71d3ce1609b055
2020-04-07 18:08:51 +00:00
Joshua Duong
586eb5ed83
[a11y] Set focus on "Pairing device" text once QR code is scanned. am: 2a85924977
...
Change-Id: Ice68896be60217349f486d337a1707c705505998
2020-04-07 18:08:49 +00:00
Joshua Duong
23040a3b2b
Merge "[a11y] Fix TalkBack readback on adb qrcode fragment." into rvc-dev
2020-04-07 18:07:16 +00:00
Joshua Duong
5866463e16
[a11y] Fix TalkBack readback on adb qrcode fragment.
...
TalkBack was picking up the text in the action bar, so if we hide it,
it will read the first body of text it encounters which would be "Scan
QR code. Pair device over Wi-Fi by scanning a QR code."
Bug: 152461605
Test: Manual. Enable TalkBack in Settings > Accessibility > TalkBack.
Navigate to Developer options > Wireless debugging > Pair by QR code.
When QR code scanner fragment opens, it should say "Scan QR code. Pair
device over Wi-Fi by scanning a QR code."
Change-Id: Ia91bf4ea215e6a377335f2b9dcf2acf10afd268e
(cherry picked from commit bfd73c0d78
)
Exempt-From-Owner-Approval: cherry-pick
2020-04-07 18:06:37 +00:00
Joshua Duong
2a85924977
[a11y] Set focus on "Pairing device" text once QR code is scanned.
...
Bug: 152462657
Test: Manual. Enable TalkBack in Settings > Accessibility. Navigate to
Developer options > Wireless debugging > Pairing device with QR code.
Scan a valid QR code, which should change to "Pairing device..." and
screen reader should say "Pairing device".
Change-Id: If467b56f787bda765fce1e5d46f8ab3c6210dc76
(cherry picked from commit 07ad841e2d
)
Exempt-From-Owner-Approval: cherry-pick
2020-04-07 18:06:25 +00:00
menghanli
be11a370e6
Fix gesture navigation popup is displaying inconsistently on the System navigation page.
...
- Need to use new api to get the accessibility service list.
Bug: 149665916
Test: local test
Change-Id: Ib712769436bf7be5fbea34ba2251bdbe6bcefb95
2020-04-07 22:42:20 +08:00
TreeHugger Robot
c0510ab6f4
Merge "Adjust tap targets in history" into rvc-dev am: 7c4557bec8
am: ceac4f44b9
...
Change-Id: I164b2587f5c2840fa3e21c3c1d29b8a0bde95ea0
2020-04-07 14:40:50 +00:00
TreeHugger Robot
ceac4f44b9
Merge "Adjust tap targets in history" into rvc-dev am: 7c4557bec8
...
Change-Id: I650b9faf069cb50999d1a3d99665ff5d4411b956
2020-04-07 14:24:34 +00:00
TreeHugger Robot
7c4557bec8
Merge "Adjust tap targets in history" into rvc-dev
2020-04-07 14:12:35 +00:00
Automerger Merge Worker
7ab0499a38
Merge "Catch crash in mobile network ProgressDialog" am: aaee4539c7
am: 840506e88a
am: 2d84cdbc3a
am: e6c57426cd
am: 7300bab2b6
...
Bug: 146057372
Change-Id: If80a964d28950288f042d4a1ccfc183b9c4f0067
(cherry picked from commit 0577514d0d
)
2020-04-07 11:49:41 +00:00
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