init_msm: use qemu.hw.mainkeys instead of ro.hw.nav_keys

Android removed support for ro.hw.nav_keys property to enable/disable
the virtual keys on the target, hence just use qemu.hw.mainkeys.

Change-Id: Ieb700313ea49a32ed98f80e3e8cce9ab9e07624b
This commit is contained in:
Arun Kumar K.R 2013-11-15 12:01:06 -08:00
parent 5ff7d14d4c
commit 2f479e8e0b
3 changed files with 3 additions and 3 deletions

View File

@ -53,7 +53,7 @@ void init_msm_properties(unsigned long msm_id, unsigned long msm_ver, char *boar
/* Liquid do not have hardware navigation keys, so enable
Android sw navigation bar
*/
property_set(PROP_HWNAVKEY, "0");
property_set(PROP_QEMU_NAVKEY, "0");
}
else {
property_set(PROP_LCDDENSITY, "440");

View File

@ -34,7 +34,7 @@
#define PROP_HWROTATE "ro.sf.hwrotation"
#define PROP_LCDDENSITY "ro.sf.lcd_density"
#define PROP_HWNAVKEY "ro.hw.nav_keys"
#define PROP_QEMU_NAVKEY "qemu.hw.mainkeys"
#define UNUSED(a) ((void)(a))
#define ISMATCH(a,b) (!strncmp(a,b,PROP_VALUE_MAX))

View File

@ -53,7 +53,7 @@ void init_msm_properties(unsigned long msm_id, unsigned long msm_ver, char *boar
/* Liquid do not have hardware navigation keys, so enable
Android sw navigation bar
*/
property_set(PROP_HWNAVKEY, "0");
property_set(PROP_QEMU_NAVKEY, "0");
}
else if (ISMATCH(board_type, "Dragon"))
property_set(PROP_LCDDENSITY, "240");