summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2017-08-06 10:12:49 +0200
committerandroid-build-team Robot <android-build-team-robot@google.com>2017-08-06 10:12:49 +0200
commit41a15d40ef01929a05befbd9665c95469ade6b7d (patch)
treeecce5209a54b80e47fcdf959672755dcc5e32fee /Android.mk
parentrelease-request-d4f45cf4-9d73-4828-baa4-f73aa4280cd0-for-git_pi-release-4241208 snap-temp-L10800000088711883 (diff)
parentImport translations. DO NOT MERGE am: 5c2bc51bf2 -s ours (diff)
downloadandroid_bootable_recovery-41a15d40ef01929a05befbd9665c95469ade6b7d.tar
android_bootable_recovery-41a15d40ef01929a05befbd9665c95469ade6b7d.tar.gz
android_bootable_recovery-41a15d40ef01929a05befbd9665c95469ade6b7d.tar.bz2
android_bootable_recovery-41a15d40ef01929a05befbd9665c95469ade6b7d.tar.lz
android_bootable_recovery-41a15d40ef01929a05befbd9665c95469ade6b7d.tar.xz
android_bootable_recovery-41a15d40ef01929a05befbd9665c95469ade6b7d.tar.zst
android_bootable_recovery-41a15d40ef01929a05befbd9665c95469ade6b7d.zip
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 3eed7a696..967b9dfbe 100644
--- a/Android.mk
+++ b/Android.mk
@@ -108,6 +108,18 @@ else
LOCAL_CFLAGS += -DRECOVERY_UI_MARGIN_WIDTH=0
endif
+ifneq ($(TARGET_RECOVERY_UI_TOUCH_LOW_THRESHOLD),)
+LOCAL_CFLAGS += -DRECOVERY_UI_TOUCH_LOW_THRESHOLD=$(TARGET_RECOVERY_UI_TOUCH_LOW_THRESHOLD)
+else
+LOCAL_CFLAGS += -DRECOVERY_UI_TOUCH_LOW_THRESHOLD=50
+endif
+
+ifneq ($(TARGET_RECOVERY_UI_TOUCH_HIGH_THRESHOLD),)
+LOCAL_CFLAGS += -DRECOVERY_UI_TOUCH_HIGH_THRESHOLD=$(TARGET_RECOVERY_UI_TOUCH_HIGH_THRESHOLD)
+else
+LOCAL_CFLAGS += -DRECOVERY_UI_TOUCH_HIGH_THRESHOLD=90
+endif
+
ifneq ($(TARGET_RECOVERY_UI_VR_STEREO_OFFSET),)
LOCAL_CFLAGS += -DRECOVERY_UI_VR_STEREO_OFFSET=$(TARGET_RECOVERY_UI_VR_STEREO_OFFSET)
else