Merge "Trust: Add missing cleanup upon removing user"

This commit is contained in:
TreeHugger Robot
2016-11-04 00:38:10 +00:00
committed by Android (Google) Code Review

View File

@@ -1014,6 +1014,9 @@ public class TrustManagerService extends SystemService {
synchronized (mDeviceLockedForUser) {
mDeviceLockedForUser.delete(userId);
}
synchronized (mTrustUsuallyManagedForUser) {
mTrustUsuallyManagedForUser.delete(userId);
}
refreshAgentList(userId);
refreshDeviceLockedForUser(userId);
}