Android 4.04相机键唤醒功能修改

system/usr/keylayout目录下fuji-keypad.kl文件.

修改代码:

# this corresponds to kernel/arch/arm/mach-msm/keypad-fuji_nozomi.c
#
# defines for values are in frameworks/base/include/ui/KeycodeLabels.h
# CAMERA Related Key
key 212   CAMERA            WAKE
key 528   FOCUS WAKE_DROPPED

留下评论