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

Commit 3e660664 authored by Sudheer Shanka's avatar Sudheer Shanka Committed by Android (Google) Code Review
Browse files

Merge "Don't error out if the index files are not available."

parents ed67786e 9c7eed49
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -491,6 +491,9 @@ public class BlobStoreManagerService extends SystemService {
        if (sessionsIndexFile == null) {
            Slog.wtf(TAG, "Error creating sessions index file");
            return;
        } else if (!sessionsIndexFile.exists()) {
            Slog.w(TAG, "Sessions index file not available: " + sessionsIndexFile.getBaseFile());
            return;
        }

        mSessions.clear();
@@ -580,6 +583,9 @@ public class BlobStoreManagerService extends SystemService {
        if (blobsIndexFile == null) {
            Slog.wtf(TAG, "Error creating blobs index file");
            return;
        } else if (!blobsIndexFile.exists()) {
            Slog.w(TAG, "Blobs index file not available: " + blobsIndexFile.getBaseFile());
            return;
        }

        mBlobsMap.clear();