Add WindowManagerPolicy.allowKeyRepeat() method for disabling key repeats.
Part of a fix for bug b/2198537 Change-Id: I99dc64772fa7644b12432d5549603025196ea3e2 Signed-off-by: Mike Lockwood <lockwood@android.com>
This commit is contained in:
@@ -868,4 +868,9 @@ public interface WindowManagerPolicy {
|
||||
* requesting this is no longer visible.
|
||||
*/
|
||||
public void screenOnStoppedLw();
|
||||
|
||||
/**
|
||||
* Return false to disable key repeat events from being generated.
|
||||
*/
|
||||
public boolean allowKeyRepeat();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user