Merge "backuptool: Change version to 5.1" into android-5.1
diff --git a/prebuilt/bootanimation/res/1080x720.zip b/prebuilt/bootanimation/res/1080x720.zip
index cc12117..7e22741 100644
--- a/prebuilt/bootanimation/res/1080x720.zip
+++ b/prebuilt/bootanimation/res/1080x720.zip
Binary files differ
diff --git a/prebuilt/bootanimation/res/1440x960.zip b/prebuilt/bootanimation/res/1440x960.zip
index d3dc477..752f8eb 100644
--- a/prebuilt/bootanimation/res/1440x960.zip
+++ b/prebuilt/bootanimation/res/1440x960.zip
Binary files differ
diff --git a/prebuilt/bootanimation/res/2560x1440.zip b/prebuilt/bootanimation/res/2560x1440.zip
index 8f16834..77c7754 100644
--- a/prebuilt/bootanimation/res/2560x1440.zip
+++ b/prebuilt/bootanimation/res/2560x1440.zip
Binary files differ
diff --git a/prebuilt/bootanimation/res/360x240.zip b/prebuilt/bootanimation/res/360x240.zip
index c21086f..7f8e828 100644
--- a/prebuilt/bootanimation/res/360x240.zip
+++ b/prebuilt/bootanimation/res/360x240.zip
Binary files differ
diff --git a/prebuilt/bootanimation/res/420x280.zip b/prebuilt/bootanimation/res/420x280.zip
index 09848a0..5b154c8 100644
--- a/prebuilt/bootanimation/res/420x280.zip
+++ b/prebuilt/bootanimation/res/420x280.zip
Binary files differ
diff --git a/prebuilt/bootanimation/res/480x320.zip b/prebuilt/bootanimation/res/480x320.zip
index 856e777..c339a8c 100644
--- a/prebuilt/bootanimation/res/480x320.zip
+++ b/prebuilt/bootanimation/res/480x320.zip
Binary files differ
diff --git a/prebuilt/bootanimation/res/720x480.zip b/prebuilt/bootanimation/res/720x480.zip
index ed33459..4231848 100644
--- a/prebuilt/bootanimation/res/720x480.zip
+++ b/prebuilt/bootanimation/res/720x480.zip
Binary files differ
diff --git a/prebuilt/bootanimation/res/840x560.zip b/prebuilt/bootanimation/res/840x560.zip
index 2290646..057a2d2 100644
--- a/prebuilt/bootanimation/res/840x560.zip
+++ b/prebuilt/bootanimation/res/840x560.zip
Binary files differ
diff --git a/prebuilt/bootanimation/res/960x640.zip b/prebuilt/bootanimation/res/960x640.zip
index 3110565..8930225 100644
--- a/prebuilt/bootanimation/res/960x640.zip
+++ b/prebuilt/bootanimation/res/960x640.zip
Binary files differ
diff --git a/prebuilt/bootanimation/res/generate-packages.sh b/prebuilt/bootanimation/res/generate-packages.sh
index 8448105..db0b626 100755
--- a/prebuilt/bootanimation/res/generate-packages.sh
+++ b/prebuilt/bootanimation/res/generate-packages.sh
@@ -48,6 +48,9 @@
 EOF
 }
 
+# image quality
+quality=50;
+
 # reading images
 for i in ${RESOLUTIONS}; do
 
@@ -68,17 +71,6 @@
     echo "Rewriting desc.txt...";
     rewrite_desc "${i}"
 
-#   set image quality
-#   add an aggressive value for low resolutions
-    case "${i}" in
-        "360x240"|"420x280"|"480x320")
-            quality=80;
-        ;;
-        *)
-            quality=90;
-        ;;
-    esac
-
     echo "Resizing images...";
     for j in Part*/*.jpg; do
         convert_image "${j}" "${i}" $quality;