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

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

Merge "StorageManagerService: don't ignore failures to prepare user storage"

parents 057e3a42 50946dd1
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -3386,8 +3386,12 @@ class StorageManagerService extends IStorageManager.Stub
                    mInstaller.tryMountDataMirror(volumeUuid);
                }
            }
        } catch (Exception e) {
        } catch (RemoteException | Installer.InstallerException e) {
            Slog.wtf(TAG, e);
            // Make sure to re-throw this exception; we must not ignore failure
            // to prepare the user storage as it could indicate that encryption
            // wasn't successfully set up.
            throw new RuntimeException(e);
        }
    }