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

Commit f43054df authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents 8a3ccb11 9139a78d
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