Rubin Xu
359a6b5c06
Do not set separate challenge flag before clearing lock
...
This step is redundant since clearLock() would set the flag internally anyway.
In fact setting the flag before calling clearLock() is wrong since it will
lead LockSettingsService.setLockCredential() to think that the target profile
does not have a unified challenge, causing it to use an incorrect existing
credential for password change, leading to untrusted credential change.
Bug: 77892111
Test: Create profile; set separate empty work challenge; observe no crash
Change-Id: I4d76b20706a796654f9389f31ae8c46d51d7adac
2018-04-11 11:43:18 +01:00
..
2018-04-06 23:06:36 +00:00
2018-04-09 10:29:58 -07:00
2018-04-09 19:04:22 +00:00
2018-03-07 08:49:31 +00:00
2018-03-31 06:23:26 +00:00
2018-04-09 19:08:26 +00:00
2018-04-02 17:27:56 -07:00
2018-04-09 11:05:35 -04:00
2018-04-05 23:41:47 +00:00
2018-03-30 18:35:52 +00:00
2018-02-23 16:56:30 -08:00
2018-03-30 14:29:50 -07:00
2018-04-08 20:06:27 -06:00
2018-04-09 21:18:28 +00:00
2018-02-23 16:56:30 -08:00
2018-04-06 14:31:32 +01:00
2018-03-30 16:30:31 -07:00
2018-04-09 20:29:30 +00:00
2018-04-09 09:08:41 +00:00
2018-03-29 10:54:54 -07:00
2018-03-21 15:01:11 +00:00
2018-03-29 17:55:41 -07:00
2018-01-29 11:39:48 -08:00
2018-03-07 14:07:16 +00:00
2018-04-08 15:50:58 -07:00
2018-03-28 09:55:22 +08:00
2018-04-09 19:54:24 +00:00
2018-04-02 17:09:10 -07:00
2018-04-11 11:43:18 +01:00
2018-03-30 15:58:14 -07:00
2018-04-05 16:20:25 +00:00
2018-03-30 20:44:20 -07:00
2018-02-28 11:12:05 -08:00
2018-04-06 14:11:50 -07:00
2018-02-09 11:26:16 -08:00
2018-03-10 00:26:15 +00:00
2018-03-07 15:53:18 -08:00
2018-03-21 12:37:34 -07:00
2018-04-09 10:29:58 -07:00
2018-04-02 16:51:40 -07:00
2018-03-22 15:28:46 -07:00
2018-04-09 23:30:35 +00:00
2018-04-09 23:30:35 +00:00
2018-04-03 18:31:39 +00:00
2018-02-02 13:41:16 -08:00
2018-02-23 16:56:30 -08:00
2018-03-30 02:32:36 +00:00
2018-03-15 11:24:25 -07:00
2018-03-05 20:27:51 +00:00
2018-02-02 13:41:16 -08:00
2018-03-05 20:27:51 +00:00
2018-04-02 17:27:56 -07:00
2018-03-05 20:27:51 +00:00
2018-03-26 17:40:10 -07:00
2018-03-28 15:39:07 -07:00
2018-04-03 17:08:47 -07:00
2018-04-05 10:20:26 -07:00
2018-04-04 15:58:53 -07:00
2018-01-30 21:01:42 -08:00
2018-03-19 15:11:49 -07:00
2018-02-02 13:41:16 -08:00
2018-03-30 20:44:20 -07:00