summaryrefslogtreecommitdiff
path: root/libs/input/InputWindow.cpp
diff options
context:
space:
mode:
author Robert Carr <racarr@google.com> 2018-07-31 14:25:57 -0700
committer Robert Carr <racarr@google.com> 2018-11-14 18:16:20 -0800
commit1cc78672c860d8af8dbb818bd44342697054866d (patch)
tree563118560f6ddd5d1b740fc579ebda0390ea637d /libs/input/InputWindow.cpp
parent4e670e5debca6feb1fb2ebc1f5401570422bd230 (diff)
InputFlinger: Receive setInputWindows over IPC
Plumbing to expose the InputManager object as an InputFlinger service with a single setInputWindows method. Bug: 80101428 Bug: 113136004 Bug: 111440400 Change-Id: I6e63a7e251711993334d930d2b95352e6cba031e
Diffstat (limited to 'libs/input/InputWindow.cpp')
-rw-r--r--libs/input/InputWindow.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/input/InputWindow.cpp b/libs/input/InputWindow.cpp
index 6968661a16..f82437e1bf 100644
--- a/libs/input/InputWindow.cpp
+++ b/libs/input/InputWindow.cpp
@@ -135,6 +135,10 @@ InputWindowInfo InputWindowInfo::read(const Parcel& from) {
return ret;
}
+InputWindowInfo::InputWindowInfo(const Parcel& from) {
+ *this = read(from);
+}
+
// --- InputWindowHandle ---
InputWindowHandle::InputWindowHandle(const sp<InputApplicationHandle>& inputApplicationHandle) :