summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2018-09-11 11:53:35 -0700
committerAlistair Strachan <astrachan@google.com>2018-09-12 16:37:55 +0000
commite113eccfd1c28e8b3ca1f969ec3cde1282576bd1 (patch)
treea686e4018edc35eb19a32d826320eb0a88b1440f
parent7952f1c59a3dde3ca449a01d15ca7b3ab8e90e2d (diff)
downloadhikey-e113eccfd1c28e8b3ca1f969ec3cde1282576bd1.tar.gz
hikey/hikey960: Force navkeys on w/ GSI via qemu.hw.mainkeys=0
It seems a bit odd, but when booting with a GSI build, there are no navigation keys. Looking at the code, it seems the qemu.hw.mainkeys property can be used to force it, and other devices like marlin use this as well. Many thanks to Vishal Bhoj for helping find/validate this. Change-Id: I15c625b51a9c9f7d71825e7f2685d4362e57ca82 Signed-off-by: John Stultz <john.stultz@linaro.org>
-rw-r--r--device-common.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/device-common.mk b/device-common.mk
index 12312bdd..4da1c086 100644
--- a/device-common.mk
+++ b/device-common.mk
@@ -23,6 +23,9 @@ PRODUCT_VENDOR_KERNEL_HEADERS := device/linaro/hikey/kernel-headers
# Set custom settings
DEVICE_PACKAGE_OVERLAYS := device/linaro/hikey/overlay
+#Force navkeys on
+PRODUCT_PROPERTY_OVERRIDES += qemu.hw.mainkeys=0
+
# Add openssh support for remote debugging and job submission
PRODUCT_PACKAGES += ssh sftp scp sshd ssh-keygen sshd_config start-ssh