From fa0c8e25403290b545bb98735b1ece275c524361 Mon Sep 17 00:00:00 2001 From: Xavier Ducrohet Date: Tue, 4 Oct 2011 10:41:26 -0700 Subject: New AVD property to control presence of hw main keys. This allows injecting a new runtime property into the system running on the emulator to control whether to display the new software back/home keys. Change-Id: I2bf7cc5c291752090187463332219638e883d052 --- vl-android.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'vl-android.c') diff --git a/vl-android.c b/vl-android.c index a0041dc..322ddca 100644 --- a/vl-android.c +++ b/vl-android.c @@ -3689,6 +3689,9 @@ int main(int argc, char **argv, char **envp) hwLcd_setBootProperty(density); } + /* Initialize presence of hardware nav button */ + boot_property_add("qemu.hw.mainkeys", android_hw->hw_mainKeys ? "1" : "0"); + /* Initialize TCP dump */ if (android_op_tcpdump) { if (qemu_tcpdump_start(android_op_tcpdump) < 0) { -- cgit v1.1