summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-08-11 22:50:24 +0200
committerTao Bao <tbao@google.com>2017-08-11 22:53:58 +0200
commiteea3af3f911d36ac1a82a9fb95d24912cc07e3b1 (patch)
treeab72b478fbfe1b123f48cf06fb1c2096c02412d8 /Android.mk
parentAllow customizing WearRecoveryUI via Makefile variables. (diff)
downloadandroid_bootable_recovery-eea3af3f911d36ac1a82a9fb95d24912cc07e3b1.tar
android_bootable_recovery-eea3af3f911d36ac1a82a9fb95d24912cc07e3b1.tar.gz
android_bootable_recovery-eea3af3f911d36ac1a82a9fb95d24912cc07e3b1.tar.bz2
android_bootable_recovery-eea3af3f911d36ac1a82a9fb95d24912cc07e3b1.tar.lz
android_bootable_recovery-eea3af3f911d36ac1a82a9fb95d24912cc07e3b1.tar.xz
android_bootable_recovery-eea3af3f911d36ac1a82a9fb95d24912cc07e3b1.tar.zst
android_bootable_recovery-eea3af3f911d36ac1a82a9fb95d24912cc07e3b1.zip
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index b1ee2440b..776e6ea19 100644
--- a/Android.mk
+++ b/Android.mk
@@ -131,6 +131,12 @@ else
LOCAL_CFLAGS += -DRECOVERY_UI_ANIMATION_FPS=30
endif
+ifneq ($(TARGET_RECOVERY_UI_MENU_UNUSABLE_ROWS),)
+LOCAL_CFLAGS += -DRECOVERY_UI_MENU_UNUSABLE_ROWS=$(TARGET_RECOVERY_UI_MENU_UNUSABLE_ROWS)
+else
+LOCAL_CFLAGS += -DRECOVERY_UI_MENU_UNUSABLE_ROWS=9
+endif
+
ifneq ($(TARGET_RECOVERY_UI_VR_STEREO_OFFSET),)
LOCAL_CFLAGS += -DRECOVERY_UI_VR_STEREO_OFFSET=$(TARGET_RECOVERY_UI_VR_STEREO_OFFSET)
else