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:
Mike Lockwood
2009-10-21 22:58:29 -04:00
parent f003c0c15d
commit 3d0ea72dd7
2 changed files with 12 additions and 0 deletions

View File

@@ -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();
}