修改power off菜单弹出时间

修改./frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
    private void interceptPowerKeyDown(boolean handled) {
mPowerKeyHandled = handled;
if (!handled) {
// mHandler.postDelayed(mPowerLongPress, ViewConfiguration.getGlobalActionKeyTimeout());
// ViewConfiguration.getGlobalActionKeyTimeout()默认值为500
mHandler.postDelayed(mPowerLongPress, 100);
}
}

posted on 2012-02-16 18:45  RTFSC  阅读(600)  评论(0编辑  收藏  举报

导航