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

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

Change-Id: Icb713bd8bd36275ff230d8ff3cdb0977bec7d685
parents 9f950319 f43054df
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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