summaryrefslogtreecommitdiffstats
path: root/core/java/android/hardware/input
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2014-04-11 01:21:14 -0700
committerJeff Brown <jeffbrown@google.com>2014-04-11 01:33:20 -0700
commit4e5c089ef3e62e7f658e71c0be262d09bd3e399b (patch)
tree6482287ee4ff25d4f40d8e2fd162c85c2dbbc14e /core/java/android/hardware/input
parent90b39abaf95640021d15be70b5841abe8366b33e (diff)
parent337e764debde56b1462fb5f2794b3e917d8a42e2 (diff)
downloadframeworks_base-4e5c089ef3e62e7f658e71c0be262d09bd3e399b.zip
frameworks_base-4e5c089ef3e62e7f658e71c0be262d09bd3e399b.tar.gz
frameworks_base-4e5c089ef3e62e7f658e71c0be262d09bd3e399b.tar.bz2
resolved conflicts for merge of 337e764d to master
Change-Id: I8168dbf42b68c2f7b5ccb300e0080dddc627af26
Diffstat (limited to 'core/java/android/hardware/input')
-rw-r--r--core/java/android/hardware/input/InputManagerInternal.java12
1 files changed, 9 insertions, 3 deletions
diff --git a/core/java/android/hardware/input/InputManagerInternal.java b/core/java/android/hardware/input/InputManagerInternal.java
index 8be94d0..6a392dd 100644
--- a/core/java/android/hardware/input/InputManagerInternal.java
+++ b/core/java/android/hardware/input/InputManagerInternal.java
@@ -25,12 +25,18 @@ import android.view.InputEvent;
* @hide Only for use within the system server.
*/
public abstract class InputManagerInternal {
+ public abstract boolean injectInputEvent(InputEvent event, int displayId, int mode);
+
/**
- * Sets information about the displays as needed by the input system.
- * The input system should copy this information if required.
+ * Called by the display manager to set information about the displays as needed
+ * by the input system. The input system must copy this information to retain it.
*/
public abstract void setDisplayViewports(DisplayViewport defaultViewport,
DisplayViewport externalTouchViewport);
- public abstract boolean injectInputEvent(InputEvent event, int displayId, int mode);
+ /**
+ * Called by the power manager to tell the input manager whether it should start
+ * watching for wake events.
+ */
+ public abstract void setInteractive(boolean interactive);
}