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

Commit e64e3046 authored by Paul Crowley's avatar Paul Crowley Committed by android-build-merger
Browse files

Merge "Signal init when user 0 CE storage is unlocked" into oc-dr1-dev am: f43054df

am: 3d5e376c

Change-Id: Iebecb9e52403a5ac45cfa00c30764307d4e9e0da
parents d0abca52 3d5e376c
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2969,6 +2969,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