summaryrefslogtreecommitdiffstats
path: root/include/androidfw/InputTransport.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/androidfw/InputTransport.h')
-rw-r--r--include/androidfw/InputTransport.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/androidfw/InputTransport.h b/include/androidfw/InputTransport.h
index 5706bce..8712995 100644
--- a/include/androidfw/InputTransport.h
+++ b/include/androidfw/InputTransport.h
@@ -168,6 +168,9 @@ public:
*/
status_t receiveMessage(InputMessage* msg);
+ /* Returns a new object that has a duplicate of this channel's fd. */
+ sp<InputChannel> dup() const;
+
private:
String8 mName;
int mFd;