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
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user