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

Commit 9ba5e8e4 authored by Adam Bookatz's avatar Adam Bookatz Committed by Android (Google) Code Review
Browse files

Merge "UserManager.setUserName: clearCallingId pre-Broadcast"

parents 95f66bbb f936855d
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -1299,7 +1299,12 @@ public class UserManagerService extends IUserManager.Stub {
            }
        }
        if (changed) {
            long ident = Binder.clearCallingIdentity();
            try {
                sendUserInfoChangedBroadcast(userId);
            } finally {
                Binder.restoreCallingIdentity(ident);
            }
        }
    }