Pavel Grafov
40e187b364
Preserve old password when handling SET_NEW_PASSWORD.
...
Currently the only way mUserPassword can be set is when it comes
from onActivityResult. This way when the user chooses "Continue
without Pixel Imprint", and we switch ChooseLockGeneric->InternalActivity,
mUserPassword becomes null (it is not preserved in intent extras).
And then this null is used in getLockPasswordIntent which causes the issue.
Another issues is that when the user chooses to use fingerprint,
mHasChallenge is set to true and password is not forwarded to
ChooseLock(Password|Pattern). I changed the intent builders so that both
old password and challenge can be sent at the same time, so the password
is not lost when fingerprint is set.
Bug: 67672081
Test: cd packages/apps/Settings/tests/robotests/ && mma
Test: manual, adb shell am start -a android.app.action.SET_NEW_PASSWORD,
tried setting pin/password with and without fingerprint.
Test: manual, tried to change lock via Settings -> Security&Location
Test: manual, set pin + fingerprint in Setup Wizard, FBE and FDE devices
Test: manual, set pin + added account, used pin to unlock FRP in SUW
Change-Id: I38d56d84f95c63fef24c2aa1a031d629f22756a1
2017-10-17 13:19:35 +01:00
Doris Ling
893bdba206
Update tile limit for Sound settings.
...
Pull the notification and alarm ringtone out of the preference category
and update the tile limit to 1, so that only the first preference
category will be displayed initially.
Change-Id: I9ae7669fb2b688560a3fc228274ea44f225b262f
Fixes: 67750626
Test: visual
2017-10-13 11:45:30 -07:00
TreeHugger Robot
85f59ff42d
Merge "Allow 64 char HEX string PSKs in WifiSettingsUi" into oc-mr1-dev
2017-10-12 18:54:43 +00:00
Jeff Sharkey
1c4d686b0c
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 94e678c188
am: e38a7f42ab
am: 95bbef26d7
am: ba66bb8a43
-s ours am: 004f90f35e
am: 86cc9a681d
am: d721694b79
am: 2433b6dc44
am: e803004863
-s ours am: 952ae3ec34
...
am: 8b399b3eb7
Change-Id: I42b7d928abb3e1ae71f6e23ddceba969a821f639
2017-10-11 22:19:18 +00:00
Jeff Sharkey
dcd1c0dde1
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 019f31b499
am: 556688abdb
am: 45926efd0f
-s ours am: 89791cb5c3
am: b3d4bc8239
am: 53a69985b3
am: 3aa36a6afb
am: 250d5e60b0
-s ours am: 0f53a56cbd
...
am: 9138455b41
Change-Id: Iaad4be44e1410eac3b0b63d33953bf643d2b3503
2017-10-11 22:17:49 +00:00
TreeHugger Robot
c43238e7f4
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev
2017-10-11 22:16:37 +00:00
Jeff Sharkey
8b399b3eb7
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 94e678c188
am: e38a7f42ab
am: 95bbef26d7
am: ba66bb8a43
-s ours am: 004f90f35e
am: 86cc9a681d
am: d721694b79
am: 2433b6dc44
am: e803004863
-s ours
...
am: 952ae3ec34
Change-Id: I40c3ad091c63617baf047a6ce98ad5129d04e7dc
2017-10-11 22:02:29 +00:00
Jeff Sharkey
9138455b41
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 019f31b499
am: 556688abdb
am: 45926efd0f
-s ours am: 89791cb5c3
am: b3d4bc8239
am: 53a69985b3
am: 3aa36a6afb
am: 250d5e60b0
-s ours
...
am: 0f53a56cbd
Change-Id: I8ee12f143c82b42ca3d06537e1d576577c22c883
2017-10-11 22:00:24 +00:00
Jeff Sharkey
91719dc7bd
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: f32a4fad5d
am: 7c41707eaf
am: 979efb53d0
am: fe1daa6eda
am: efe9e7e003
-s ours am: 47bc5fba05
...
am: 4d61a1bd15
Change-Id: I7f3fc44f882eed0a435e75cec95c7a03219cc67a
2017-10-11 21:47:52 +00:00
Jeff Sharkey
fb1bd3b2c6
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 1cdc675d7d
am: 0bcee25346
am: 46bc2bd7bd
-s ours am: b410435a21
...
am: de7c312543
Change-Id: If4193b75eaccdc612b94af027a8ce6548e613aad
2017-10-11 21:46:44 +00:00
Jeff Sharkey
d563d23d26
Merge "DO NOT MERGE. ActivityPicker shouldn't grant permissions." into oc-dev am: 9c39da39df
...
am: f4e2e26064
Change-Id: I7a621bcf8afdc1a3cb80e7e57d25adf5f96a17f0
2017-10-11 21:45:11 +00:00
Jeff Sharkey
952ae3ec34
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 94e678c188
am: e38a7f42ab
am: 95bbef26d7
am: ba66bb8a43
-s ours am: 004f90f35e
am: 86cc9a681d
am: d721694b79
am: 2433b6dc44
...
am: e803004863
-s ours
Change-Id: If486735b63d2f652bd8d99a01a18f4d5fd8a88bc
2017-10-11 21:42:57 +00:00
Jeff Sharkey
0f53a56cbd
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 019f31b499
am: 556688abdb
am: 45926efd0f
-s ours am: 89791cb5c3
am: b3d4bc8239
am: 53a69985b3
am: 3aa36a6afb
...
am: 250d5e60b0
-s ours
Change-Id: I03181b1d378a0f299871cb34551b83aa0fe16dd6
2017-10-11 21:42:14 +00:00
Jeff Sharkey
e803004863
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 94e678c188
am: e38a7f42ab
am: 95bbef26d7
am: ba66bb8a43
-s ours am: 004f90f35e
am: 86cc9a681d
am: d721694b79
...
am: 2433b6dc44
Change-Id: I3e2938793111b4b547d4a70ebbf57b8e8f57fd37
2017-10-11 21:34:11 +00:00
Jeff Sharkey
250d5e60b0
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 019f31b499
am: 556688abdb
am: 45926efd0f
-s ours am: 89791cb5c3
am: b3d4bc8239
am: 53a69985b3
...
am: 3aa36a6afb
Change-Id: I8f5d74a40d179512466a3d2e77416b5222da01e7
2017-10-11 21:33:01 +00:00
Jeff Sharkey
4d61a1bd15
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: f32a4fad5d
am: 7c41707eaf
am: 979efb53d0
am: fe1daa6eda
am: efe9e7e003
-s ours
...
am: 47bc5fba05
Change-Id: Icf6b9c17a843608befc1250a9fdcf8a10dfa8848
2017-10-11 21:24:25 +00:00
Jeff Sharkey
2433b6dc44
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 94e678c188
am: e38a7f42ab
am: 95bbef26d7
am: ba66bb8a43
-s ours am: 004f90f35e
am: 86cc9a681d
...
am: d721694b79
Change-Id: Ie3b5bc22af9ddbf47c6236d40a21d8bc051599be
2017-10-11 21:21:40 +00:00
Jeff Sharkey
3aa36a6afb
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 019f31b499
am: 556688abdb
am: 45926efd0f
-s ours am: 89791cb5c3
am: b3d4bc8239
...
am: 53a69985b3
Change-Id: Icadeebe688c38f4e4d0b190ed07acd7d5396aef3
2017-10-11 21:20:09 +00:00
Jeff Sharkey
47bc5fba05
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: f32a4fad5d
am: 7c41707eaf
am: 979efb53d0
am: fe1daa6eda
...
am: efe9e7e003
-s ours
Change-Id: If71fe96139c86fce8be3d1866342a050df3c9f6f
2017-10-11 21:12:41 +00:00
Jeff Sharkey
de7c312543
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 1cdc675d7d
am: 0bcee25346
am: 46bc2bd7bd
-s ours
...
am: b410435a21
Change-Id: I91421c6629af2131e7aaeadac048c92da9653212
2017-10-11 21:10:10 +00:00
Jeff Sharkey
f4e2e26064
Merge "DO NOT MERGE. ActivityPicker shouldn't grant permissions." into oc-dev
...
am: 9c39da39df
Change-Id: Ic7566b0972c30c9e7b5a183888238eca44709d47
2017-10-11 21:09:20 +00:00
Jeff Sharkey
d721694b79
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 94e678c188
am: e38a7f42ab
am: 95bbef26d7
am: ba66bb8a43
-s ours am: 004f90f35e
...
am: 86cc9a681d
Change-Id: I30d07aff1d361734e7a962dd89d1935137ed64dd
2017-10-11 21:01:29 +00:00
Jeff Sharkey
53a69985b3
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 019f31b499
am: 556688abdb
am: 45926efd0f
-s ours am: 89791cb5c3
...
am: b3d4bc8239
Change-Id: I02141baa2a53d2982856052a923be6ddd076c55f
2017-10-11 21:00:27 +00:00
Jeff Sharkey
efe9e7e003
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: f32a4fad5d
am: 7c41707eaf
am: 979efb53d0
...
am: fe1daa6eda
Change-Id: I943b70a1dfc085ff0a4e4e46afb29aec1aa6c965
2017-10-11 20:57:51 +00:00
Jeff Sharkey
86cc9a681d
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 94e678c188
am: e38a7f42ab
am: 95bbef26d7
am: ba66bb8a43
-s ours
...
am: 004f90f35e
Change-Id: I2665557fb25ced0978a90fed4edff989011e01ed
2017-10-11 20:46:28 +00:00
Jeff Sharkey
b3d4bc8239
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 019f31b499
am: 556688abdb
am: 45926efd0f
-s ours
...
am: 89791cb5c3
Change-Id: Ie179a077b08e79040603c467e0a912731636e2f2
2017-10-11 20:45:04 +00:00
Jeff Sharkey
fe1daa6eda
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: f32a4fad5d
am: 7c41707eaf
...
am: 979efb53d0
Change-Id: Iad023fb1a0ff8fded7963b5e7087457803fe213c
2017-10-11 20:44:53 +00:00
Jeff Sharkey
b410435a21
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 1cdc675d7d
am: 0bcee25346
...
am: 46bc2bd7bd
-s ours
Change-Id: I55b5048ea4ecb689a7d483afeb174a153cc54fdc
2017-10-11 20:39:07 +00:00
Jeff Sharkey
0b34b23f8b
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 8441943bfa
-s ours am: 70387afef9
...
am: 9173362f4e
Change-Id: I8eb3e136b4edb5858a681fb69c0f90d216255e55
2017-10-11 20:35:37 +00:00
Jeff Sharkey
004f90f35e
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 94e678c188
am: e38a7f42ab
am: 95bbef26d7
...
am: ba66bb8a43
-s ours
Change-Id: I3431178e94b81aa61b7f829217a40fdee4eac141
2017-10-11 20:35:23 +00:00
Jeff Sharkey
89791cb5c3
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 019f31b499
am: 556688abdb
...
am: 45926efd0f
-s ours
Change-Id: Ieeea7848f879564074e1fb32d4c5c834d21e63cc
2017-10-11 20:34:40 +00:00
TreeHugger Robot
9c39da39df
Merge "DO NOT MERGE. ActivityPicker shouldn't grant permissions." into oc-dev
2017-10-11 20:32:55 +00:00
Jeff Sharkey
ba66bb8a43
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 94e678c188
am: e38a7f42ab
...
am: 95bbef26d7
Change-Id: I32314303ab0926d93ae035166e323bcce847b7bd
2017-10-11 20:32:38 +00:00
Jeff Sharkey
45926efd0f
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 019f31b499
...
am: 556688abdb
Change-Id: Ia7daf15c3d9fc81ae8fdef25f79cc13558639e98
2017-10-11 20:31:41 +00:00
Jeff Sharkey
979efb53d0
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: f32a4fad5d
...
am: 7c41707eaf
Change-Id: Ifc8c25371b0d2062e4c51ee6fcbf75e275331b30
2017-10-11 20:29:25 +00:00
Jeff Sharkey
95bbef26d7
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 94e678c188
...
am: e38a7f42ab
Change-Id: I9fffe94faecb7d36ac68ebfc388af01e4871031e
2017-10-11 20:28:13 +00:00
Jeff Sharkey
46bc2bd7bd
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 1cdc675d7d
...
am: 0bcee25346
Change-Id: I22114cc686a52c94234fbbc659998ab183c1747d
2017-10-11 20:28:11 +00:00
Jeff Sharkey
9173362f4e
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 8441943bfa
-s ours
...
am: 70387afef9
Change-Id: Id60f3d902a5a2710310613ea0d12796ea46af931
2017-10-11 20:27:42 +00:00
Jeff Sharkey
556688abdb
DO NOT MERGE. ActivityPicker shouldn't grant permissions.
...
am: 019f31b499
Change-Id: I755c046ad6392a7582d5afc32bd1e4693bcae33e
2017-10-11 20:26:40 +00:00
Jeff Sharkey
7c41707eaf
DO NOT MERGE. ActivityPicker shouldn't grant permissions.
...
am: f32a4fad5d
Change-Id: I54e65289ff205196bd4fba9f0d40dc1f9f116e2b
2017-10-11 20:25:11 +00:00
Jeff Sharkey
e38a7f42ab
DO NOT MERGE. ActivityPicker shouldn't grant permissions.
...
am: 94e678c188
Change-Id: Iffc23a1e80389d1afe9b10a7e992d9d19a33fe11
2017-10-11 20:24:31 +00:00
Jeff Sharkey
0bcee25346
DO NOT MERGE. ActivityPicker shouldn't grant permissions.
...
am: 1cdc675d7d
Change-Id: I117d8a1f9ab46f375277511da8f59df2db771cb7
2017-10-11 20:24:16 +00:00
Jeff Sharkey
70387afef9
DO NOT MERGE. ActivityPicker shouldn't grant permissions.
...
am: 8441943bfa
-s ours
Change-Id: I5c1980e7fb722d4d00194f3c953c91304137eea3
2017-10-11 20:24:05 +00:00
Bill Yi
5fdc38e696
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
Bug: 64712476
Change-Id: I3b96a50ff43d0d3611d3a59d12c265ca3fff5712
2017-10-11 11:28:21 -07:00
Ajay Nadathur
e7f5107303
Hero suggestion is announced as disabled by talkback
...
- Removed calls to disable view. No ripple effect seen even after that
bug: 65851388
NOTE: cherry picked from master.
Merged-In: I876696a3e7351d586e6d045c8b2d07676f96ea9d
Test: manually tested
Change-Id: Iae377e763ed62b9448221843ed77b4605ad81379
2017-10-10 16:36:35 -07:00
Glen Kuhne
ddf705903e
Allow 64 char HEX string PSKs in WifiSettingsUi
...
A check for valid PSKs in the settings UI didnt capture the 64 character
HEX string case. Added a check for it.
Test: tests/app/src/com/android/settings/wifi/WifiSettingsUiTest.java
Test: manual verification
Bug: 67492639
Change-Id: Ide738c4a67f23b613883b4a69f8264a0ffb8a0bc
2017-10-10 13:12:21 -07:00
TreeHugger Robot
6ed9a78922
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev
2017-10-08 06:57:28 +00:00
Bill Yi
dbbd311c50
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
Bug: 64712476
Change-Id: I8e31d776f5036724722d7578be51651b5199e419
2017-10-07 19:13:23 -07:00
TreeHugger Robot
8bd54d4592
Merge "Update wakeup anomaly to exclude blacklisted wakeups." into oc-mr1-dev
2017-10-07 17:03:32 +00:00
Andrew Sapperstein
f59cbb143c
Update wakeup anomaly to exclude blacklisted wakeups.
...
Also disables all anomalies out of the box.
Provides the ability to ignore certain wakeups if blacklisted in
AnomalyDetectionPolicy. Compares each wakeup to the blacklist and
if it exists, does not include it in the count used to compare against
the threshold.
Change-Id: I038ca966aed5a030853b4786bc201397bf4f9b70
Merged-In: I4ef548bd0952be5f0d4e36df5698f287839d0704
Fixes: 67000019
Test: robotests
2017-10-06 21:01:21 -07:00