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:
Fyodor Kupolov
2016-03-31 13:30:42 -07:00
parent 1b8189d825
commit 83c2424141

View File

@@ -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);