| commit | 13579ed3305bf89b41a9fa88e1347f0e0769d279 | [log] [tgz] |
|---|---|---|
| author | Dianne Hackborn <hackbod@google.com> | Wed Nov 28 18:05:36 2012 -0800 |
| committer | Dianne Hackborn <hackbod@google.com> | Wed Nov 28 18:09:01 2012 -0800 |
| tree | 705a6b10c05895d2acf7a17d5a70d1c952bce4d8 | |
| parent | 71175f727bc1e094e72a410aca62392badffbf11 [diff] [blame] |
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
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 @@ } } 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) {