Skip to content

Commit

Permalink
use specific resolution for bootanimation
Browse files Browse the repository at this point in the history
the original idea came from this patch
CyanogenMod/android_vendor_cm@367e648

-use SMALL_BOOTANIMATION_SIZE instead of TARGET_BOOTANIMATION_SIZE to avoid any issues with devices that may still contain cm leftovers

Change-Id: Iefe4d59d66930a75e2c15baf31a4412db110871b
Signed-off-by: Humberto Borba <humberos@gmail.com>
  • Loading branch information
humberos authored and nickdoherty81 committed Jan 22, 2017
1 parent a1046e8 commit 58bdfcd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion config/common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,14 @@ include vendor/du/config/packages.mk

PRODUCT_PACKAGE_OVERLAYS += vendor/du/overlay/common

# Boot Animation
# use specific resolution for bootanimation
ifneq ($(SMALL_BOOTANIMATION_SIZE),)
PRODUCT_COPY_FILES += \
vendor/du/prebuilt/common/media/res/$(SMALL_BOOTANIMATION_SIZE).zip:system/media/bootanimation.zip
else
PRODUCT_COPY_FILES += \
vendor/du/prebuilt/common/media/bootanimation.zip:system/media/bootanimation.zip
endif

# SuperSU
PRODUCT_COPY_FILES += \
Expand Down
Binary file added prebuilt/common/media/res/720x720.zip
Binary file not shown.

0 comments on commit 58bdfcd

Please sign in to comment.