Merge "Signal init when user 0 CE storage is unlocked" into oc-dr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
f43054df6b
@@ -2955,6 +2955,11 @@ class StorageManagerService extends IStorageManager.Stub
|
||||
synchronized (mLock) {
|
||||
mLocalUnlockedUsers = ArrayUtils.appendInt(mLocalUnlockedUsers, userId);
|
||||
}
|
||||
if (userId == UserHandle.USER_SYSTEM) {
|
||||
String propertyName = "sys.user." + userId + ".ce_available";
|
||||
Slog.d(TAG, "Setting property: " + propertyName + "=true");
|
||||
SystemProperties.set(propertyName, "true");
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user