am 3ac465a7: Do not thrown on error persisting runtime permissions

* commit '3ac465a7d830a973096b4f69ef4531f09dcdf07c':
  Do not thrown on error persisting runtime permissions
This commit is contained in:
Svet Ganov
2015-06-20 17:45:22 +00:00
committed by Android Git Automerger

View File

@@ -4339,8 +4339,6 @@ final class Settings {
Slog.wtf(PackageManagerService.TAG, Slog.wtf(PackageManagerService.TAG,
"Failed to write settings, restoring backup", t); "Failed to write settings, restoring backup", t);
destination.failWrite(out); destination.failWrite(out);
throw new IllegalStateException("Failed to write runtime permissions,"
+ " restoring backup", t);
} finally { } finally {
IoUtils.closeQuietly(out); IoUtils.closeQuietly(out);
} }