Eric Biggers
99be30f895
RESTRICT AUTOMERGE: Catch exceptions from setLockCredential()
...
When LockPatternUtils#setLockCredential() fails, it can either return
false or throw an exception. Catch the exception and treat it the same
way as a false return value, to prevent crashing com.android.settings.
Bug: 253043065
Test: Tried setting lockscreen credential while in secure FRP mode using
smartlock setup activity launched by intent via adb. Verified
that com.android.settings no longer crashes due to the exception
from LockPatternUtils#setLockCredential().
Change-Id: I48b9119c19fb6378b1f88d36433ee4f4c8501d76
(cherry picked from commit 05f1eff1c9 )
(moved change into ChooseLockPassword.java and ChooseLockPattern.java,
which are merged into SaveAndFinishWorker.java on udc-qpr-dev and main)
Merged-In: I48b9119c19fb6378b1f88d36433ee4f4c8501d76
2023-08-02 23:43:41 +00:00
..
2021-07-06 10:07:52 +00:00
2023-03-15 19:39:21 +00:00
2023-07-06 21:18:12 +00:00
2020-05-25 18:23:53 +08:00
2021-05-04 02:28:13 +00:00
2021-09-20 22:44:48 -07:00
2022-11-09 06:39:29 +00:00
2020-08-12 11:29:07 +08:00
2022-11-09 06:39:29 +00:00
2021-10-13 15:17:19 +00:00
2021-07-01 07:54:29 +00:00
2021-06-18 10:45:20 +00:00
2021-06-17 19:29:25 +08:00
2021-01-28 04:55:15 +00:00
2022-12-07 03:09:30 +00:00
2021-07-16 22:03:54 +08:00
2021-09-15 03:41:45 +00:00
2021-05-14 07:38:41 +00:00
2021-06-17 17:50:34 +08:00
2021-09-16 12:13:21 +00:00
2021-09-27 09:57:41 +00:00
2021-09-16 00:41:03 +00:00
2021-06-18 09:25:46 +00:00
2021-06-02 19:11:12 +08:00
2021-04-23 22:35:55 +08:00
2023-04-25 19:23:53 +00:00
2021-06-18 12:44:22 +08:00
2023-07-25 21:45:45 +00:00
2023-02-03 10:10:20 +00:00
2023-06-29 09:29:06 +00:00
2021-06-21 16:03:37 +08:00
2021-08-13 14:07:01 +00:00
2023-08-02 23:43:41 +00:00
2021-01-15 02:14:52 +00:00
2021-07-23 16:04:39 +00:00
2021-06-17 17:50:34 +08:00
2022-01-13 20:00:55 +00:00
2020-05-14 21:24:57 +08:00
2021-09-17 01:33:05 +00:00
2021-07-21 03:48:03 +00:00
2021-05-26 11:00:25 -04:00
2022-12-07 03:09:30 +00:00
2021-06-08 09:47:51 +00:00
2022-09-07 19:39:55 +00:00
2021-07-23 16:04:39 +00:00
2021-10-15 23:48:41 +00:00
2021-12-06 09:54:00 +00:00
2020-09-23 08:06:52 +00:00
2021-02-13 12:17:14 +08:00
2021-08-20 17:06:40 +00:00
2021-10-06 19:04:58 +00:00
2022-04-07 03:44:12 +00:00
2021-03-19 17:00:00 +08:00
2021-02-24 06:17:17 +00:00
2021-10-01 05:45:49 +00:00
2020-11-05 14:58:15 -08:00
2020-04-28 15:57:40 -07:00
2021-04-19 16:51:11 +08:00
2022-06-02 10:57:50 +08:00
2021-05-26 14:25:43 +08:00
2020-11-05 05:09:14 +00:00
2021-01-12 16:57:49 -08:00
2021-01-22 07:02:52 +00:00
2021-02-25 16:32:50 +08:00
2020-08-04 23:33:50 +08:00
2021-06-28 16:22:23 +08:00
2021-03-17 12:47:22 +00:00
2021-03-31 18:00:29 +08:00
2021-01-22 07:02:52 +00:00
2021-02-21 09:25:11 -08:00
2021-06-08 09:47:51 +00:00
2021-10-13 15:17:19 +00:00
2021-06-30 18:33:59 +08:00
2021-06-05 03:14:18 +00:00
2021-04-06 18:27:06 +08:00
2020-05-29 12:55:18 +00:00
2022-12-07 03:09:30 +00:00
2020-06-22 09:59:28 +08:00
2020-11-05 05:09:14 +00:00
2020-09-28 13:38:10 -07:00
2021-01-07 03:52:27 +00:00
2021-12-15 13:57:04 +00:00
2021-03-22 13:35:53 -07:00
2021-06-30 18:33:59 +08:00