Commit Graph

54349 Commits

Author SHA1 Message Date
Kevin Chang
c375bfde87 Add new reminder in "Magnify with shortcut" page
Add new reminder string in "Magnify with shortcut" page when
it's under gesture navigation mode.

Bug: 134645913
Test: Visual
Change-Id: Ibbaa162d4acf0fdeed8c98b2aa1d83953880e6a6
2019-06-21 06:30:54 +00:00
TreeHugger Robot
e5584cd39c Merge "Make the default value of flashlight availibility to true." 2019-06-21 05:23:30 +00:00
Yi-Ling Chuang
8235ed14a4 Make the default value of flashlight availibility to true.
We read from SettingsProvider to decide whether flashlight slice is
available. However, when switching to the second user, FLASHLIGHT_AVAILABLE
will be null. The default was 0 which causes the slice returning null,
so we have to set it to 1 when there is a physical flash unit to be
consistent with system ui.

Fixes: 134734608
Test: robotest
Change-Id: I981461b1b66e6e273e13a9cbcba96e3ccf0aec68
2019-06-21 10:46:44 +08:00
Ivan Podogov
9b32010876 Fix Settings crash when trying to show work policy info am: 242ff568d1 am: f256fbb742
am: a222fa1eb2

Change-Id: I4513b0f0f596592ebba166f412935aaa110cc9e8
2019-06-20 16:58:14 -07:00
Ivan Podogov
bbd5fd4efd Fix Settings crash when trying to show work policy info am: 242ff568d1 am: 9de5b04dea
am: f242905a58

Change-Id: Id829d6c72881c18695ce4b381fc35295014526c9
2019-06-20 16:17:40 -07:00
Ivan Podogov
a222fa1eb2 Fix Settings crash when trying to show work policy info am: 242ff568d1
am: f256fbb742

Change-Id: I1f81bc13e491581b9e75ab39fa35cc4ee0aefc5f
2019-06-20 16:16:48 -07:00
Ivan Podogov
f242905a58 Fix Settings crash when trying to show work policy info am: 242ff568d1
am: 9de5b04dea

Change-Id: I5b3275f599364ede6ce1c69376bfa68a05c9c301
2019-06-20 16:06:47 -07:00
Edgar Wang
2f3b8d3fd2 Merge "Update System->Gesture icon" into qt-r1-dev am: dfb1b6821b
am: b8b1894451

Change-Id: I4db47a941b89505ff41fd8c865b52f70065ecf4d
2019-06-20 15:59:28 -07:00
Ivan Podogov
9de5b04dea Fix Settings crash when trying to show work policy info
am: 242ff568d1

Change-Id: I2a048e75934dda54d4b495908f07016e9c00b674
2019-06-20 15:34:39 -07:00
Ivan Podogov
f256fbb742 Fix Settings crash when trying to show work policy info
am: 242ff568d1

Change-Id: I5b003b9a94610b1ef7f2242c144ad0b360fcfc4a
2019-06-20 15:33:39 -07:00
Edgar Wang
b8b1894451 Merge "Update System->Gesture icon" into qt-r1-dev
am: dfb1b6821b

Change-Id: I78a53848a10eccd0d73962eeab264a532269f29b
2019-06-20 14:03:57 -07:00
Vishwath Mohan
14f1fc0eb6 Merge "Remove Smart Lock developer options" 2019-06-20 20:08:40 +00:00
TreeHugger Robot
dfb1b6821b Merge "Update System->Gesture icon" into qt-r1-dev 2019-06-20 17:43:08 +00:00
Raff Tsai
064aad4d48 Merge "Cannot switch between multiple TTS engines" into qt-dev am: 753215fff9 am: 72b48c91f8
am: c3b85a4abb

Change-Id: I795af173fe82f9f012965037dfe2d3c9297d1af0
2019-06-20 10:09:40 -07:00
Raff Tsai
6acafce104 Merge "Cannot switch between multiple TTS engines" into qt-dev am: 753215fff9 am: 2c01fb911c
am: 864af1ff82

Change-Id: I85b1193f088fa1120fe9921066d5bf9e4bd3e071
2019-06-20 10:09:04 -07:00
Ivan Podogov
242ff568d1 Fix Settings crash when trying to show work policy info
This fixes an exception in startActivity() call:

"android.util.AndroidRuntimeException: Calling startActivity() from outside of
an Activity  context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really
what you want?"

Bug: 132904820
Test: manual
Change-Id: I0c687ea76068778554b072b6cc8274352de6fa28
2019-06-20 16:28:47 +01:00
Raff Tsai
c3b85a4abb Merge "Cannot switch between multiple TTS engines" into qt-dev am: 753215fff9
am: 72b48c91f8

Change-Id: I3063ab7f3bd86bf6f73b86c8272f1040e1a616c3
2019-06-19 23:36:29 -07:00
Raff Tsai
864af1ff82 Merge "Cannot switch between multiple TTS engines" into qt-dev am: 753215fff9
am: 2c01fb911c

Change-Id: I74218aa4739f81aade84ba1e4ab9bb9ca090c7a2
2019-06-19 23:24:02 -07:00
Raff Tsai
2c01fb911c Merge "Cannot switch between multiple TTS engines" into qt-dev
am: 753215fff9

Change-Id: I5d399c7f653caf53041f1136948f4a8de457d7c5
2019-06-19 22:57:25 -07:00
Raff Tsai
72b48c91f8 Merge "Cannot switch between multiple TTS engines" into qt-dev
am: 753215fff9

Change-Id: Ia48e40c15b7c07e538e87e3c7ec242543c9f0d8c
2019-06-19 22:57:06 -07:00
Arc Wang
ca629d5284 Merge "[Wi-Fi DPP] Wi-Fi QR code scanner is not working after a connection fail" into qt-dev am: d64b6c8846 am: 051d4c9b81
am: 5f49fd1cc9

Change-Id: Ia42344a8f18b23d217cbd4d2f64b137f85a29f6a
2019-06-19 22:30:39 -07:00
TreeHugger Robot
753215fff9 Merge "Cannot switch between multiple TTS engines" into qt-dev 2019-06-20 04:42:23 +00:00
Arc Wang
781a61930c Merge "[Wi-Fi DPP] Wi-Fi QR code scanner is not working after a connection fail" into qt-dev am: d64b6c8846 am: 9b971efd6b
am: 6d435d69b3

Change-Id: I7aeb116d93e608204541d626b48274ffd8254bb6
2019-06-19 21:34:36 -07:00
Edgar Wang
77c86f4915 Update System->Gesture icon
Fixes: 135137464
Test: manual
Change-Id: I3de871882d74c2d6f4c5b1ce8e7ee65de9276a0c
2019-06-20 12:10:30 +08:00
Antony Sargent
2ee1249b01 Add a listener for subscription changes to SimDialogFragment am: 6a1d7e60ac
am: d985cb848f

Change-Id: Ifb25c4c11e394452b475442dbe452272f52b229e
2019-06-19 20:56:36 -07:00
Arc Wang
5f49fd1cc9 Merge "[Wi-Fi DPP] Wi-Fi QR code scanner is not working after a connection fail" into qt-dev am: d64b6c8846
am: 051d4c9b81

Change-Id: Ie586c8141f5b8f69db3835cd7e515960f105ca52
2019-06-19 20:34:48 -07:00
Arc Wang
6d435d69b3 Merge "[Wi-Fi DPP] Wi-Fi QR code scanner is not working after a connection fail" into qt-dev am: d64b6c8846
am: 9b971efd6b

Change-Id: I12af9c0f4aef532f114dc5d2f28ba82cc38c1a21
2019-06-19 20:27:51 -07:00
Arc Wang
051d4c9b81 Merge "[Wi-Fi DPP] Wi-Fi QR code scanner is not working after a connection fail" into qt-dev
am: d64b6c8846

Change-Id: I65823cfc154a90a5a35e0932f4f1fe878718a274
2019-06-19 19:46:32 -07:00
Arc Wang
9b971efd6b Merge "[Wi-Fi DPP] Wi-Fi QR code scanner is not working after a connection fail" into qt-dev
am: d64b6c8846

Change-Id: Icfa3b21e383182a127a1e633a671013c371ab105
2019-06-19 19:38:57 -07:00
Antony Sargent
d985cb848f Add a listener for subscription changes to SimDialogFragment
am: 6a1d7e60ac

Change-Id: I7fe944662d3a37223a997ed55d3197764df42a90
2019-06-19 19:07:32 -07:00
Arc Wang
d64b6c8846 Merge "[Wi-Fi DPP] Wi-Fi QR code scanner is not working after a connection fail" into qt-dev 2019-06-20 01:34:09 +00:00
Vishwath Mohan
638aa7c066 Remove Smart Lock developer options
This CL removes the temporary developer options that were available to
switch Smart Lock to and from Extend Unlock mode. The Q release will
switch to Extend Unlock permanently, and these options are no longer
needed.

Bug: 120871688
Test: Manually tested that Extend Unlock mode works as expected
Change-Id: I437def3bf750e29e5ade7ba54856cfa74525a67d
2019-06-19 17:52:20 -07:00
Antony Sargent
6a1d7e60ac Add a listener for subscription changes to SimDialogFragment
For some kinds of telephony changes that might happen while we're
already showing one of these dialogs, we already get sent a new intent
for the dialog which we internally convert into a refresh of the dialog
contents instead of stacking a new copy on top of the old one.

But it turns out there are some other cases where the telephony stack
doesn't send a new intent for the dialog but *does* send a change event
through the SubscriptionManager, and we want to respond to those as
well. This CL adds a listener for those events.

Fixes: 135276696
Test: make RunSettingsRoboTests
Change-Id: Ifb93ae95f45fda5831e112306dd9361ccaa5119c
2019-06-19 12:20:59 -07:00
Arc Wang
7395ed8c53 Merge "Merge "[Wi-Fi DPP] Support WPA2/WPA3 transition mode" into qt-dev am: d8916ef151 am: 3454468111" into qt-r1-dev-plus-aosp
am: fea20fd758

Change-Id: Ia67d5ef5e2fc115a1e9d40d7157718bc9a4df9c2
2019-06-19 10:40:32 -07:00
Arc Wang
0a628e227a Merge "[Wi-Fi DPP] Support WPA2/WPA3 transition mode" into qt-dev am: d8916ef151 am: c58b3aaf0f
am: 8c123c6a59

Change-Id: Id6caccbcd9790e0f9393b8b0ddea6ebb529706b6
2019-06-19 10:36:46 -07:00
Android Build Merger (Role)
fea20fd758 Merge "Merge "[Wi-Fi DPP] Support WPA2/WPA3 transition mode" into qt-dev am: d8916ef151 am: 3454468111" into qt-r1-dev-plus-aosp 2019-06-19 17:28:41 +00:00
Arc Wang
1cd16d3891 Merge "[Wi-Fi DPP] Support WPA2/WPA3 transition mode" into qt-dev am: d8916ef151
am: 3454468111

Change-Id: I98730ea805ee44926b9881c07bb0fff39975685d
2019-06-19 10:27:35 -07:00
Arc Wang
8c123c6a59 Merge "[Wi-Fi DPP] Support WPA2/WPA3 transition mode" into qt-dev am: d8916ef151
am: c58b3aaf0f

Change-Id: I44c813e93d563fff6956d3b15bc08da143023437
2019-06-19 10:26:08 -07:00
Arc Wang
3454468111 Merge "[Wi-Fi DPP] Support WPA2/WPA3 transition mode" into qt-dev
am: d8916ef151

Change-Id: I37b2fd97fbe952d9cdc214b364ff766231158d4d
2019-06-19 10:15:44 -07:00
Arc Wang
c58b3aaf0f Merge "[Wi-Fi DPP] Support WPA2/WPA3 transition mode" into qt-dev
am: d8916ef151

Change-Id: I360ff827ae8544d76c4411410172ace81bbcef56
2019-06-19 10:14:55 -07:00
TreeHugger Robot
d8916ef151 Merge "[Wi-Fi DPP] Support WPA2/WPA3 transition mode" into qt-dev 2019-06-19 16:54:35 +00:00
TreeHugger Robot
21da32d9b1 Merge "Pull out PreferenceControllers from AccessibilitySettings" 2019-06-19 16:50:22 +00:00
Mill Chen
d37618c8ed Pull out PreferenceControllers from AccessibilitySettings
- clean up the format of accessibility_settings
- To leverage the existing TtsPreferenceController and
FontSizePreferenceController
- pull out the logic of magnification from AccessibilitySettings

Bug: 135056871
Test: manual, robotest
Change-Id: I414fa7a04fd558d3a3a8b5e157469c198a772732
2019-06-19 15:05:39 +00:00
TreeHugger Robot
174c9b7f82 Merge "Pull out a PreferenceController of lock screen from accessibility" 2019-06-19 10:15:25 +00:00
TreeHugger Robot
8d51b1b4e8 Merge "[Wi-Fi DPP] Improve Wi-Fi QR code error messages" 2019-06-19 10:05:45 +00:00
Mill Chen
dce601db84 Pull out a PreferenceController of lock screen from accessibility
To reduce the complexity of AccessibilitySettings, we are planning to
create a bunch of preference controllers. First of all, we are converting
lock screen preference to a preference controller. The rest part will be
uploaded soon.

Bug: 135056871
Test: robotest, manual
Change-Id: I6079136f3d08934c9a5363eb4d0e0ade29f8ba99
2019-06-19 16:44:42 +08:00
Raff Tsai
39c6a16aba Cannot switch between multiple TTS engines
That is caused by layout xml changes. The radio button was clickable
in old xml resource. But it is not clickable in new xml resource.
Therefore we can't receive click callback. Fixed by changing
Radio button state when preference is clicked.

Fixes: 135285101
Test: manual, make RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.tts"
Change-Id: Idd7bf37d9ccbc1b56d41978d19dc05c8a81cc49a
2019-06-19 16:35:35 +08:00
TreeHugger Robot
11e1d45c9c Merge "[Wi-Fi DPP] Fix UI defects" 2019-06-19 06:17:22 +00:00
Kevin Chyn
ba94606bd8 Merge "Lockscreen bypass should be searchable" into qt-r1-dev am: 411e99597f
am: 21e25c65ea

Change-Id: I14756f2ff9fadde44379e0d2a945c98ccbe86063
2019-06-18 23:11:12 -07:00
Kevin Chyn
21e25c65ea Merge "Lockscreen bypass should be searchable" into qt-r1-dev
am: 411e99597f

Change-Id: I3887213e8180aa62ea9496282072cdd16e9ffc76
2019-06-18 22:49:00 -07:00