summaryrefslogtreecommitdiffstats
path: root/include/ui
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2012-02-14 15:56:29 -0800
committerJeff Brown <jeffbrown@google.com>2012-02-14 15:57:59 -0800
commit9491e81ff6a3e29ea31c9582ee1c6ab23c0e3e54 (patch)
tree1fa43cc4f989b927d887e92e77f68f2f78bee126 /include/ui
parenta18829ab231384858456a8a67b06a3f1e37d2794 (diff)
downloadframeworks_native-9491e81ff6a3e29ea31c9582ee1c6ab23c0e3e54.zip
frameworks_native-9491e81ff6a3e29ea31c9582ee1c6ab23c0e3e54.tar.gz
frameworks_native-9491e81ff6a3e29ea31c9582ee1c6ab23c0e3e54.tar.bz2
Clean up InputChannel file descriptor data type.
File descriptors are ints. Change-Id: Ie36733bf36ddfeaa9a09ef6ebd7bd2f1788f5d27
Diffstat (limited to 'include/ui')
-rw-r--r--include/ui/InputTransport.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/ui/InputTransport.h b/include/ui/InputTransport.h
index 1f738cd..0facce3 100644
--- a/include/ui/InputTransport.h
+++ b/include/ui/InputTransport.h
@@ -123,7 +123,7 @@ protected:
virtual ~InputChannel();
public:
- InputChannel(const String8& name, int32_t fd);
+ InputChannel(const String8& name, int fd);
/* Creates a pair of input channels.
*
@@ -133,7 +133,7 @@ public:
sp<InputChannel>& outServerChannel, sp<InputChannel>& outClientChannel);
inline String8 getName() const { return mName; }
- inline int32_t getFd() const { return mFd; }
+ inline int getFd() const { return mFd; }
/* Sends a message to the other endpoint.
*
@@ -162,7 +162,7 @@ public:
private:
String8 mName;
- int32_t mFd;
+ int mFd;
};
/*