diff options
| author | 2019-01-17 18:34:54 +0800 | |
|---|---|---|
| committer | 2019-01-30 00:39:10 +0800 | |
| commit | 85b8c5edd4c3ffd9790e2d69a9e8bcd9df2fa42c (patch) | |
| tree | ad4a1f740a702df46ab2eee54bd0f98e2bd92e19 /include/input/InputWindow.h | |
| parent | 6d50dff2b550705c927e2b2e5d6f299a3efacf62 (diff) | |
Introduce new portal window which transports touch to another display
It enables the user to directly touch on a window of a display
embedded on another one. The embedded displays can be nested.
The monitoring channels of the embedded display can also receive touch
events.
Bug: 120675821
Test: Manual test with ActivityViewTest
Test: atest -a inputflinger_tests
Test: atest CtsActivityManagerDeviceTestCases:ActivityViewTest
Change-Id: I773c7efb1b048080020aadd45156261a10095fcb
Diffstat (limited to 'include/input/InputWindow.h')
| -rw-r--r-- | include/input/InputWindow.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/input/InputWindow.h b/include/input/InputWindow.h index 2b8cc57c05..a065a4ce28 100644 --- a/include/input/InputWindow.h +++ b/include/input/InputWindow.h @@ -163,6 +163,7 @@ struct InputWindowInfo { int32_t ownerUid; int32_t inputFeatures; int32_t displayId; + int32_t portalToDisplayId = ADISPLAY_ID_NONE; InputApplicationInfo applicationInfo; void addTouchableRegion(const Rect& region); |