diff options
| author | Robert Carr <racarr@google.com> | 2018-10-11 19:07:03 -0700 |
|---|---|---|
| committer | Robert Carr <racarr@google.com> | 2018-11-27 18:06:36 -0800 |
| commit | eadae82b5525e21bd71ff103ffa15c8302de576e (patch) | |
| tree | 7a96f92ef2e7606c62e584b146652665cf14ea66 /core/java/android/view/InputWindowHandle.java | |
| parent | ebdf858cfd12bcc7c0bd8ea70515607d5fc829b2 (diff) | |
Replace InputWindowInfo#inputChannel with an IBinder token.
The IBinder token is now being used as the UUID for InputWindows.
We can pass it around without the channel to avoid unnecessary FD
parcelling, duping, and other juggling.
Test: Existing tests pass.
Bug: 80101428
Bug: 113136004
Bug: 111440400
Change-Id: I8eba3fa05f249b7dfcb5c3d9817241cbfe9ab76c
Diffstat (limited to 'core/java/android/view/InputWindowHandle.java')
| -rw-r--r-- | core/java/android/view/InputWindowHandle.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/java/android/view/InputWindowHandle.java b/core/java/android/view/InputWindowHandle.java index 621ee89fac45..ebec019b7f93 100644 --- a/core/java/android/view/InputWindowHandle.java +++ b/core/java/android/view/InputWindowHandle.java @@ -17,6 +17,7 @@ package android.view; import android.graphics.Region; +import android.os.IBinder; import android.view.IWindow; import android.view.InputChannel; @@ -37,8 +38,8 @@ public final class InputWindowHandle { // The client window. public final IWindow clientWindow; - // The input channel associated with the window. - public InputChannel inputChannel; + // The token assosciated with the window. + public IBinder token; // The window name. public String name; |
