commit | c8fa5ed8f2d492aa5e005fcdb5991c3f980de045 | [log] [tgz] |
---|---|---|
author | Ricky Wai <rickywai@google.com> | Thu Nov 17 18:49:17 2016 +0000 |
committer | Zach Jang <zachjang@google.com> | Fri Nov 18 00:02:24 2016 +0000 |
tree | c8212b3e1f6ffbf92a02413b406325ee2877ac3b | |
parent | b8a7f78d242cafb0c3ec10868c28583e8aacdf7a [diff] |
Catch KeyStoreException for setting profile lock When device upgrades from L->N, sid(in gatekeeper) could be 0 even primary profile screenlock is set. We are now trying to catch the exception so when sid==0 happens, it will try to tie profile lock again when primary profile is unlocked. Bug: 32490092 Change-Id: I73011d872ac15e7e09be9bda0165cf7f6a75493a