Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ae025828 authored by Adrian Roos's avatar Adrian Roos
Browse files

Trust: Add missing cleanup upon removing user

Change-Id: I4a1d9d38344aea54d1f0ae6d6834a45b2e73cb1c
Fixes: 31995569
parent 40800725
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1014,6 +1014,9 @@ public class TrustManagerService extends SystemService {
                    synchronized (mDeviceLockedForUser) {
                        mDeviceLockedForUser.delete(userId);
                    }
                    synchronized (mTrustUsuallyManagedForUser) {
                        mTrustUsuallyManagedForUser.delete(userId);
                    }
                    refreshAgentList(userId);
                    refreshDeviceLockedForUser(userId);
                }