Commit Graph

54604 Commits

Author SHA1 Message Date
Kevin Chang
2293d7b304 Remove redundant style in accessibility permission dialog
Remove the redundant style of allow and deny button in the dialog
since these styles don't have override bodies which indicates that
the style of these two buttons can be replaced by the parent style.

Test: Visual
Fixes: 135166860
Change-Id: I500963196e7afe52065b1b615b35d07f6a77037a
2019-06-14 09:30:29 +08:00
Yiwei Zhang
b269177089 Merge "Game Driver: Allow user to apply prerelease driver for all apps" into qt-dev am: 4af74dd86d
am: 16eef18cb8

Change-Id: Ie04066c4156f8a45c01f7be2784fde725d50cf56
2019-06-13 18:20:34 -07:00
Yiwei Zhang
8bde8b44f5 Merge "Game Driver: Allow user to apply prerelease driver for all apps" into qt-dev
am: 4af74dd86d

Change-Id: Ifef443ad30d40b6f5e2f06025da85f9d572d358d
2019-06-13 18:16:44 -07:00
Antony Sargent
6229a8bc58 Merge "Fix Calls/SMS default SIM selector" into qt-dev am: 7af299c604
am: edcd8e9ca5

Change-Id: I0df2cfdb8214d8c6b9bc8fb653df36d1067b9165
2019-06-13 18:16:43 -07:00
TreeHugger Robot
8f9afaf99b Merge "Set the mAccountName as null while device has no any account" 2019-06-14 00:40:59 +00:00
Antony Sargent
40a63920f5 Merge "Fix Calls/SMS default SIM selector" into qt-dev am: 7af299c604
am: 24ebff2ff3

Change-Id: I2968c6b031bc4c91753344a2b853e5e374e47d39
2019-06-13 17:31:52 -07:00
Yiwei Zhang
16eef18cb8 Merge "Game Driver: Allow user to apply prerelease driver for all apps" into qt-dev
am: 4af74dd86d

Change-Id: I02f895a2c7b5a66dc71db0a60356d854c9123a82
2019-06-13 16:50:38 -07:00
Antony Sargent
edcd8e9ca5 Merge "Fix Calls/SMS default SIM selector" into qt-dev
am: 7af299c604

Change-Id: I588c6858b67101e03efff9235e96d799237135fe
2019-06-13 16:49:16 -07:00
Antony Sargent
24ebff2ff3 Merge "Fix Calls/SMS default SIM selector" into qt-dev
am: 7af299c604

Change-Id: I35b3e57d151b6d20e5b088a7d6269490317644e5
2019-06-13 16:48:19 -07:00
TreeHugger Robot
4af74dd86d Merge "Game Driver: Allow user to apply prerelease driver for all apps" into qt-dev 2019-06-13 23:44:36 +00:00
TreeHugger Robot
7af299c604 Merge "Fix Calls/SMS default SIM selector" into qt-dev 2019-06-13 23:25:04 +00:00
Antony Sargent
22b827db55 Fix Calls/SMS default SIM selector
In cases where a SIM is initially disabled, even after you turn it on
the ListPreference's for selecting the default SIM for Calls and SMS
weren't working because the preference change listener wasn't getting
registered. This CL fixes that for these controllers by always
registering a change listener whenever we make the preference visible.

Fixes: 134472294
Bug: 135142209
Test: make RunSettingsRoboTests
Change-Id: Ia9362b7f26309bdbd6c5e8140fb606b28e2b34d8
2019-06-13 23:24:34 +00:00
Lei Yu
41bb2cb6a8 Handle null intent in WifiCallingPreferenceController
When intent is null, we will hide wifi calling preference however
its listener might still triggered with null intent.

This CL update controller so it can handle this event inside listener
callback.

Fixes: 135095929
Test: RunSettingsRoboTests
Change-Id: I4c5aba03871f11a2d9f9b4da329c2c2655ff9adb
2019-06-13 14:47:56 -07:00
Brad Ebinger
b2e2d82c53 [automerger skipped] Merge "Allow SimDialogActivity to be started for result" am: 11d92e894a am: 33b1bfb8fb -s ours am: f51dc265a0 -s ours
am: 1984bd6d51 -s ours
am skip reason: change_id Ib448a6901581294050fc988ed9c16f7e93066860 with SHA1 9761dd4634 is in history

Change-Id: Ia28ae2172ac2ff9aa8d9b2e840289a4cd187f9e0
2019-06-13 14:24:47 -07:00
Brad Ebinger
1984bd6d51 [automerger skipped] Merge "Allow SimDialogActivity to be started for result" am: 11d92e894a am: 33b1bfb8fb -s ours
am: f51dc265a0 -s ours
am skip reason: change_id Ib448a6901581294050fc988ed9c16f7e93066860 with SHA1 9761dd4634 is in history

Change-Id: Id950f68115adcbccdc67c4db5dada37ace579246
2019-06-13 14:02:41 -07:00
Brad Ebinger
f51dc265a0 [automerger skipped] Merge "Allow SimDialogActivity to be started for result" am: 11d92e894a
am: 33b1bfb8fb -s ours
am skip reason: change_id Ib448a6901581294050fc988ed9c16f7e93066860 with SHA1 9761dd4634 is in history

Change-Id: I1486dd381d91fcbc415c03b616d716165325a689
2019-06-13 13:52:20 -07:00
Brad Ebinger
33b1bfb8fb Merge "Allow SimDialogActivity to be started for result"
am: 11d92e894a

Change-Id: I016022dbc01916c32511244c1031f9a15359ecf5
2019-06-13 13:42:41 -07:00
Brad Ebinger
11d92e894a Merge "Allow SimDialogActivity to be started for result" 2019-06-13 20:17:19 +00:00
Yiwei Zhang
687906f2f9 Game Driver: Allow user to apply prerelease driver for all apps
Currently the global opt-in is only available to Game Driver. This change has
added an option to let developers to opt-in all apps to use prerelease driver.
GameDriverEnableForAllAppsPreferenceController is then refactored from
SwitchPreference to ListPreference to support this change.

Bug: 134881329
Test: make RunSettingsRoboTests ROBOTEST_FILTER=GameDriver
Change-Id: I6dcb3a22a4033a576605d42aa80b09db088d4aa2
2019-06-13 12:21:49 -07:00
Julia Reynolds
76c59e5b8a Refresh the whole rule in zen listing screen am: 78ef02eb8f am: 56897c6bfc
am: 70af71155d

Change-Id: I839febe5e36cf88a99e107f4c5f96fd88bda8825
2019-06-13 11:43:17 -07:00
Julia Reynolds
2ab97e02cd Refresh the whole rule in zen listing screen am: 78ef02eb8f am: 39bff61eea
am: 01be0f85b3

Change-Id: Ia366dd746291e127eb618ea9410a4d2f2aa83670
2019-06-13 11:42:55 -07:00
Julia Reynolds
70af71155d Refresh the whole rule in zen listing screen am: 78ef02eb8f
am: 56897c6bfc

Change-Id: Ic78fc2340681f9b53f3913a6d7d23b72027cc00f
2019-06-13 11:34:57 -07:00
Julia Reynolds
01be0f85b3 Refresh the whole rule in zen listing screen am: 78ef02eb8f
am: 39bff61eea

Change-Id: I77d343b8a0ccb1658c6a9c090d93cde7a06984af
2019-06-13 11:33:23 -07:00
Julia Reynolds
39bff61eea Refresh the whole rule in zen listing screen
am: 78ef02eb8f

Change-Id: I701a3678ab547584360c42e4f7b53755ba4059d6
2019-06-13 11:25:22 -07:00
Julia Reynolds
56897c6bfc Refresh the whole rule in zen listing screen
am: 78ef02eb8f

Change-Id: I60352b05ca01838882b31f0106108c5392bc3c50
2019-06-13 11:25:21 -07:00
Julia Reynolds
78ef02eb8f Refresh the whole rule in zen listing screen
Because the whole rule is pushed to NMS when it's
enabled/disabled.

Test: manual
Fixes: 135170330
Change-Id: I4bbc30f82dab07cff9184f9ab8a6f729499c6126
2019-06-13 16:48:22 +00:00
Yiwei Zhang
23ee53b746 Merge "Merge "Game Driver: Add UI support for prerelease Game Driver" into qt-dev am: 0de0d5be39 am: 3b8681d8c6" into qt-r1-dev-plus-aosp
am: d7f6cf0691

Change-Id: I29f623fe0b7a488b84bee2fd3c865cb5ff001552
2019-06-13 09:13:01 -07:00
Yiwei Zhang
ad7e3ee351 Merge "Game Driver: Add UI support for prerelease Game Driver" into qt-dev am: 0de0d5be39 am: a05cb731e7
am: 9dd8ac1751

Change-Id: I115e563987fde5e3027f87f40e08be13de0dea3c
2019-06-13 09:10:25 -07:00
Android Build Merger (Role)
d7f6cf0691 Merge "Merge "Game Driver: Add UI support for prerelease Game Driver" into qt-dev am: 0de0d5be39 am: 3b8681d8c6" into qt-r1-dev-plus-aosp 2019-06-13 15:53:56 +00:00
Yiwei Zhang
9dd8ac1751 Merge "Game Driver: Add UI support for prerelease Game Driver" into qt-dev am: 0de0d5be39
am: a05cb731e7

Change-Id: Ie602e1f6913968c1e9213166cf9b69021699b5f7
2019-06-13 08:52:43 -07:00
Yiwei Zhang
aab44f2cd1 Merge "Game Driver: Add UI support for prerelease Game Driver" into qt-dev am: 0de0d5be39
am: 3b8681d8c6

Change-Id: Ibe0f46e3bf763e99b7c818a0213fe50d04a3aa9b
2019-06-13 08:52:40 -07:00
Yiwei Zhang
3b8681d8c6 Merge "Game Driver: Add UI support for prerelease Game Driver" into qt-dev
am: 0de0d5be39

Change-Id: Ib806945a955125febf2d7eb8c37e735c9e2ade0d
2019-06-13 08:46:47 -07:00
Yiwei Zhang
a05cb731e7 Merge "Game Driver: Add UI support for prerelease Game Driver" into qt-dev
am: 0de0d5be39

Change-Id: I16a67e516ff20ec1aa38aa83d11c433e82299597
2019-06-13 08:45:42 -07:00
TreeHugger Robot
0de0d5be39 Merge "Game Driver: Add UI support for prerelease Game Driver" into qt-dev 2019-06-13 15:38:54 +00:00
TreeHugger Robot
3075023d2a Merge "Fix double divider in Apps & notifications page" 2019-06-13 13:38:32 +00:00
tmfang
24c3324268 Use FooterPreference in xml explicitly
We don't rely on FooterPreferenceMixinCompat
to create footer preference in dashboard fragment.

Instead, declare a FooterPreference explicitly in
xml of screen.

It makes more sense for our referenceController design.

Test: visual, robotest
Bug: 124129485
Change-Id: I0b0c0f9e38d85aa89b815ce2b84ddff30a1d206b
2019-06-13 18:29:37 +08:00
Jason Chiu
cfa36dbaeb Fix double divider in Apps & notifications page
- The second divider is shown after we set a background to the pinned
  header.
- Fix it by simply hiding the pinned header instead of its inner views.

Fixes: 133231218
Test: robotest, visual
Change-Id: I53add6f01930299425ce96d23350f9f066e85145
2019-06-13 18:23:37 +08:00
Sunny Shao
5da24591ea Update testcases which failed due to the SupportLibrary changed
Fragment.oncreate() causes an IllegalStateException. We use a
ShadowFragment to stop the calling sequence.

Fixes: 135086559
Test: robotest
Change-Id: I601e0f2513f826b0b7749cb2c013b7e4c0a94a33
2019-06-13 10:02:50 +00:00
TreeHugger Robot
ff89b713b7 Merge "Migrate VirtualKeyboardFragment to DashboardFragment" 2019-06-13 08:35:30 +00:00
Arc Wang
d2dc5438fa [Wi-Fi DPP] Improve Wi-Fi QR code error messages
Give all failures of Wi-Fi QR code format or data problem
with a correct error message.

Bug: 134033509
Test: manual visual
Change-Id: I5259d0d68e47d00a69e3e8107697605f3f187203
2019-06-13 16:24:14 +08:00
Arc Wang
838cbbf539 [Wi-Fi DPP] Remove scanner button of unsaved WiFi network dialogs
Romove it because we may not ensure the network of a QR code is
matching the selected one.

Bug: 134701332
Test: manual visual
Change-Id: I264e921c806f2b335d158fc4cffc48acf69f5c19
2019-06-13 16:17:03 +08:00
Raff Tsai
74942cee5e Migrate VirtualKeyboardFragment to DashboardFragment
Fixes: 134451794
Test: robolectric
Change-Id: I2a40090178b3daea894bdad570549c7bfa34e4e6
2019-06-13 15:17:00 +08:00
Kevin Yao
f1c0f23510 Merge "Merge "Fix typo for Accessibility permission dialog" into qt-dev am: e78e4dc6f2 am: 2bff53a21e" into qt-r1-dev-plus-aosp
am: 570124c7bd

Change-Id: Ia3a9b4258ec53e4fbb40f8c52f3cf9717fe6861f
2019-06-12 21:56:55 -07:00
Kevin Yao
697d261c2b Merge "Fix typo for Accessibility permission dialog" into qt-dev am: e78e4dc6f2 am: e6ae9219ce
am: 96a8cd4ef6

Change-Id: I37de163f9c03b9a6224b289a8a8b88fbab60b280
2019-06-12 21:56:33 -07:00
Android Build Merger (Role)
570124c7bd Merge "Merge "Fix typo for Accessibility permission dialog" into qt-dev am: e78e4dc6f2 am: 2bff53a21e" into qt-r1-dev-plus-aosp 2019-06-13 04:52:17 +00:00
Kevin Yao
34bce74a91 Merge "Fix typo for Accessibility permission dialog" into qt-dev am: e78e4dc6f2
am: 2bff53a21e

Change-Id: Ibb387aa5b515c9b99a9c9ad1dc29b45ae186d140
2019-06-12 21:52:05 -07:00
Kevin Yao
96a8cd4ef6 Merge "Fix typo for Accessibility permission dialog" into qt-dev am: e78e4dc6f2
am: e6ae9219ce

Change-Id: I7cca7c8fb1970861726c9fa9d0dc7db5fef8edc6
2019-06-12 21:52:03 -07:00
Kevin Yao
e6ae9219ce Merge "Fix typo for Accessibility permission dialog" into qt-dev
am: e78e4dc6f2

Change-Id: Ia3292d11926a24e9e907c71b5d85bf97a062a066
2019-06-12 21:47:04 -07:00
Kevin Yao
2bff53a21e Merge "Fix typo for Accessibility permission dialog" into qt-dev
am: e78e4dc6f2

Change-Id: I154f5f038a2944f9c1376b4baba8a4cd85b49adb
2019-06-12 21:47:04 -07:00
TreeHugger Robot
e78e4dc6f2 Merge "Fix typo for Accessibility permission dialog" into qt-dev 2019-06-13 04:30:26 +00:00