summaryrefslogtreecommitdiffstats
path: root/services/core
diff options
context:
space:
mode:
authorSvet Ganov <svetoslavganov@google.com>2015-06-20 10:31:25 -0700
committerSvet Ganov <svetoslavganov@google.com>2015-06-20 10:31:28 -0700
commit3ac465a7d830a973096b4f69ef4531f09dcdf07c (patch)
treedbc4f089cb1b45a7405da654926049b525f57656 /services/core
parent0f800f7c163383ce3a49cc99bc2d8097f8961bde (diff)
downloadframeworks_base-3ac465a7d830a973096b4f69ef4531f09dcdf07c.zip
frameworks_base-3ac465a7d830a973096b4f69ef4531f09dcdf07c.tar.gz
frameworks_base-3ac465a7d830a973096b4f69ef4531f09dcdf07c.tar.bz2
Do not thrown on error persisting runtime permissions
bug:20752986 Change-Id: I49d7e30afd49d3dcb1bcffd2fd48e9460ed5147f
Diffstat (limited to 'services/core')
-rw-r--r--services/core/java/com/android/server/pm/Settings.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/services/core/java/com/android/server/pm/Settings.java b/services/core/java/com/android/server/pm/Settings.java
index 286bbfe..6415343 100644
--- a/services/core/java/com/android/server/pm/Settings.java
+++ b/services/core/java/com/android/server/pm/Settings.java
@@ -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);
}