Loading services/core/java/com/android/server/trust/TrustManagerService.java +0 −6 Original line number Diff line number Diff line Loading @@ -157,9 +157,6 @@ public class TrustManagerService extends SystemService { private final ActivityManager mActivityManager; private VirtualDeviceManagerInternal mVirtualDeviceManager; @GuardedBy("mUserIsTrusted") private final SparseBooleanArray mUserIsTrusted = new SparseBooleanArray(); private enum TrustState { UNTRUSTED, // the phone is not unlocked by any trustagents TRUSTABLE, // the phone is in a semi-locked state that can be unlocked if Loading Loading @@ -1920,9 +1917,6 @@ public class TrustManagerService extends SystemService { } else if (Intent.ACTION_USER_REMOVED.equals(action)) { int userId = getUserId(intent); if (userId > 0) { synchronized (mUserIsTrusted) { mUserIsTrusted.delete(userId); } synchronized (mDeviceLockedForUser) { mDeviceLockedForUser.delete(userId); } Loading Loading
services/core/java/com/android/server/trust/TrustManagerService.java +0 −6 Original line number Diff line number Diff line Loading @@ -157,9 +157,6 @@ public class TrustManagerService extends SystemService { private final ActivityManager mActivityManager; private VirtualDeviceManagerInternal mVirtualDeviceManager; @GuardedBy("mUserIsTrusted") private final SparseBooleanArray mUserIsTrusted = new SparseBooleanArray(); private enum TrustState { UNTRUSTED, // the phone is not unlocked by any trustagents TRUSTABLE, // the phone is in a semi-locked state that can be unlocked if Loading Loading @@ -1920,9 +1917,6 @@ public class TrustManagerService extends SystemService { } else if (Intent.ACTION_USER_REMOVED.equals(action)) { int userId = getUserId(intent); if (userId > 0) { synchronized (mUserIsTrusted) { mUserIsTrusted.delete(userId); } synchronized (mDeviceLockedForUser) { mDeviceLockedForUser.delete(userId); } Loading