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

Commit b628c937 authored by Martijn Coenen's avatar Martijn Coenen Committed by Android (Google) Code Review
Browse files

Merge "Unconditionally initialize ExternalStorageService component."

parents ccbf8e17 a73a4467
Loading
Loading
Loading
Loading
+2 −7
Original line number Diff line number Diff line
@@ -260,16 +260,11 @@ public final class StorageSessionController {
    }

    /**
     * Restarts all sessions for {@code userId}.
     *
     * Does nothing if {@link #shouldHandle} is {@code false}
     *
     * This call blocks and waits for all sessions to be started, however any failures when starting
     * a session will be ignored.
     * Makes sure we initialize the ExternalStorageService component.
     */
    public void onUnlockUser(int userId) throws ExternalStorageServiceException {
        Slog.i(TAG, "On user unlock " + userId);
        if (shouldHandle(null) && userId == 0) {
        if (userId == 0) {
            initExternalStorageServiceComponent();
        }
    }