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

Commit 83c24241 authored by Fyodor Kupolov's avatar Fyodor Kupolov
Browse files

Set build fingerprint for the new user

This change will prevent PRE_BOOT_COMPLETED from being sent to new users

Bug: 27939609
Change-Id: I0e49a467c792c972e0e3fc76e06842a80810e14b
parent 1b8189d8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1941,6 +1941,7 @@ public class UserManagerService extends IUserManager.Stub {
                    long now = System.currentTimeMillis();
                    userInfo.creationTime = (now > EPOCH_PLUS_30_YEARS) ? now : 0;
                    userInfo.partial = true;
                    userInfo.lastLoggedInFingerprint = Build.FINGERPRINT;
                    userData = new UserData();
                    userData.info = userInfo;
                    mUsers.put(userId, userData);