OSDN Git Service

Set DeviceLockedForUser state synchronously
authorRubin Xu <rubinxu@google.com>
Wed, 10 Aug 2016 09:53:24 +0000 (10:53 +0100)
committerRubin Xu <rubinxu@google.com>
Fri, 19 Aug 2016 10:37:14 +0000 (11:37 +0100)
commit9201a30a959491e144d7df510163da69c93981ac
treeb0e30dcc9000f271430c30c9e89ca24836b86c15
parent1f4278a67a96af3cae66dd9806c3daa776dade0d
Set DeviceLockedForUser state synchronously

Setting DeviceLockedForUser on the handler thread will lead to a race
condition where an immedidate read might see a stale value.

Bug: 30728557
Change-Id: Id9d510d7ad4dbcde6344a044e45f4b2feac19257
services/core/java/com/android/server/trust/TrustManagerService.java