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>
diff --git a/device-common.mk b/device-common.mk
index 12312bd..4da1c08 100644
--- a/device-common.mk
+++ b/device-common.mk
@@ -23,6 +23,9 @@
# 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