summaryrefslogtreecommitdiffstats
path: root/services/java/com/android/server/WallpaperManagerService.java
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2012-11-28 18:05:36 -0800
committerDianne Hackborn <hackbod@google.com>2012-11-28 18:09:01 -0800
commit13579ed3305bf89b41a9fa88e1347f0e0769d279 (patch)
tree705a6b10c05895d2acf7a17d5a70d1c952bce4d8 /services/java/com/android/server/WallpaperManagerService.java
parent71175f727bc1e094e72a410aca62392badffbf11 (diff)
downloadframeworks_base-13579ed3305bf89b41a9fa88e1347f0e0769d279.zip
frameworks_base-13579ed3305bf89b41a9fa88e1347f0e0769d279.tar.gz
frameworks_base-13579ed3305bf89b41a9fa88e1347f0e0769d279.tar.bz2
Cleaner initial boot.
This does some cleanup of the initial boot, especially when booting in "no core apps" mode for encryption/decryption. Change-Id: Ifb3949f580e52f54559e603c4b0b104f6bac2f6c
Diffstat (limited to 'services/java/com/android/server/WallpaperManagerService.java')
-rw-r--r--services/java/com/android/server/WallpaperManagerService.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/java/com/android/server/WallpaperManagerService.java b/services/java/com/android/server/WallpaperManagerService.java
index 82dbf54..21a1956 100644
--- a/services/java/com/android/server/WallpaperManagerService.java
+++ b/services/java/com/android/server/WallpaperManagerService.java
@@ -1096,6 +1096,8 @@ class WallpaperManagerService extends IWallpaperManager.Stub {
}
} while (type != XmlPullParser.END_DOCUMENT);
success = true;
+ } catch (FileNotFoundException e) {
+ Slog.w(TAG, "no current wallpaper -- first boot?");
} catch (NullPointerException e) {
Slog.w(TAG, "failed parsing " + file + " " + e);
} catch (NumberFormatException e) {