commit | 84e380e93c1bc7001edc2af9b4c01ad49606aa5e | [log] [tgz] |
---|---|---|
author | Ricky Wai <rickywai@google.com> | Thu Nov 17 18:49:17 2016 +0000 |
committer | gitbuildkicker <android-build@google.com> | Thu Nov 17 18:04:23 2016 -0800 |
tree | 166bf9b8ae459522fef809c683080025607ebe3f | |
parent | aca11d8bea9c9c00482f72957b5e025dd91243dd [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 (cherry picked from commit c8fa5ed8f2d492aa5e005fcdb5991c3f980de045)