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

Commit ec870817 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: 414fd70a

Change-Id: I09104f39c9837aed73954cf5fe84ed070d05fb63
parents d0abca52 414fd70a
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