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

Commit 3ac465a7 authored by Svet Ganov's avatar Svet Ganov
Browse files

Do not thrown on error persisting runtime permissions

bug:20752986

Change-Id: I49d7e30afd49d3dcb1bcffd2fd48e9460ed5147f
parent 0f800f7c
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -4339,8 +4339,6 @@ final class Settings {
                Slog.wtf(PackageManagerService.TAG,
                        "Failed to write settings, restoring backup", t);
                destination.failWrite(out);
                throw new IllegalStateException("Failed to write runtime permissions,"
                        + " restoring backup", t);
            } finally {
                IoUtils.closeQuietly(out);
            }