am 65fb72a4: am d6adf0ae: Disable key repeats when the screen is off.
Merge commit '65fb72a42ca01124beea8d4a4b9ee0326cfe5e1c' into eclair-mr2-plus-aosp * commit '65fb72a42ca01124beea8d4a4b9ee0326cfe5e1c': Disable key repeats when the screen is off.
This commit is contained in:
@@ -2218,5 +2218,10 @@ public class PhoneWindowManager implements WindowManagerPolicy {
|
||||
mPowerManager.userActivity(curTime, false, LocalPowerManager.OTHER_EVENT);
|
||||
}
|
||||
}
|
||||
|
||||
public boolean allowKeyRepeat() {
|
||||
// disable key repeat when screen is off
|
||||
return mScreenOn;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user