throw exception if no supported logo location is found
diff --git a/src/org/linaro/wallpaper/LogoWallpaper.java b/src/org/linaro/wallpaper/LogoWallpaper.java
index ec32399..c7580ca 100644
--- a/src/org/linaro/wallpaper/LogoWallpaper.java
+++ b/src/org/linaro/wallpaper/LogoWallpaper.java
@@ -277,6 +277,8 @@
initAnimationBL(width, height, density, d, w);
else if("Bottom-Right".equals(mLocation))
initAnimationBR(width, height, density, d, w);
+ else
+ throw new RuntimeException("unknown logo location: " + mLocation);
}
@Override