diff options
| author | Dianne Hackborn <hackbod@google.com> | 2010-06-18 18:09:33 -0700 |
|---|---|---|
| committer | Dianne Hackborn <hackbod@google.com> | 2010-06-22 11:21:50 -0700 |
| commit | a95e4cb62f3642cb190d032dbf7dc40d9ecc6973 (patch) | |
| tree | ae4437444a3d3ebeff48dabfd1e9c11fc14620ac /core/java/android/view/InputChannel.java | |
| parent | ef730e6ececa96a3e0576140eea707f7c48cd66c (diff) | |
First stab at attaching native event dispatching.
Provides the basic infrastructure for a
NativeActivity's native code to get an object representing
its event stream that can be used to read input events.
Still work to do, probably some API changes, and reasonable
default key handling (so that for example back will still
work).
Change-Id: I6db891bc35dc9683181d7708eaed552b955a077e
Diffstat (limited to 'core/java/android/view/InputChannel.java')
| -rw-r--r-- | core/java/android/view/InputChannel.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/java/android/view/InputChannel.java b/core/java/android/view/InputChannel.java index e5ebc69226f4..e24c3c949c36 100644 --- a/core/java/android/view/InputChannel.java +++ b/core/java/android/view/InputChannel.java @@ -22,8 +22,9 @@ import android.util.Slog; /** * An input channel specifies the file descriptors used to send input events to - * a window in another process. It is Parcelable so that it can be transmitted - * to the ViewRoot through a Binder transaction as part of registering the Window. + * a window in another process. It is Parcelable so that it can be sent + * to the process that is to receive events. Only one thread should be reading + * from an InputChannel at a time. * @hide */ public final class InputChannel implements Parcelable { |
