Remove CM9 bootanimation handling
* Kill this already, all devices should have migrated by now Change-Id: If8032b47e969c92ece939af55d963423a18e1f3c
This commit is contained in:
parent
2eb202d062
commit
ff4943e7f1
@ -3,23 +3,7 @@ PRODUCT_BRAND ?= cyanogenmod
|
|||||||
SUPERUSER_EMBEDDED := true
|
SUPERUSER_EMBEDDED := true
|
||||||
SUPERUSER_PACKAGE_PREFIX := com.android.settings.cyanogenmod.superuser
|
SUPERUSER_PACKAGE_PREFIX := com.android.settings.cyanogenmod.superuser
|
||||||
|
|
||||||
# To deal with CM9 specifications
|
|
||||||
# TODO: remove once all devices have been switched
|
|
||||||
ifneq ($(TARGET_BOOTANIMATION_NAME),)
|
|
||||||
TARGET_SCREEN_DIMENSIONS := $(subst -, $(space), $(subst x, $(space), $(TARGET_BOOTANIMATION_NAME)))
|
|
||||||
ifeq ($(TARGET_SCREEN_WIDTH),)
|
|
||||||
TARGET_SCREEN_WIDTH := $(word 2, $(TARGET_SCREEN_DIMENSIONS))
|
|
||||||
endif
|
|
||||||
ifeq ($(TARGET_SCREEN_HEIGHT),)
|
|
||||||
TARGET_SCREEN_HEIGHT := $(word 3, $(TARGET_SCREEN_DIMENSIONS))
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq ($(TARGET_SCREEN_WIDTH) $(TARGET_SCREEN_HEIGHT),$(space))
|
ifneq ($(TARGET_SCREEN_WIDTH) $(TARGET_SCREEN_HEIGHT),$(space))
|
||||||
|
|
||||||
# clear TARGET_BOOTANIMATION_NAME in case it was set for CM9 purposes
|
|
||||||
TARGET_BOOTANIMATION_NAME :=
|
|
||||||
|
|
||||||
# determine the smaller dimension
|
# determine the smaller dimension
|
||||||
TARGET_BOOTANIMATION_SIZE := $(shell \
|
TARGET_BOOTANIMATION_SIZE := $(shell \
|
||||||
if [ $(TARGET_SCREEN_WIDTH) -lt $(TARGET_SCREEN_HEIGHT) ]; then \
|
if [ $(TARGET_SCREEN_WIDTH) -lt $(TARGET_SCREEN_HEIGHT) ]; then \
|
||||||
|
Loading…
Reference in New Issue
Block a user