Clean up InputChannel file descriptor data type.

File descriptors are ints.

Change-Id: Ie36733bf36ddfeaa9a09ef6ebd7bd2f1788f5d27
This commit is contained in:
Jeff Brown 2012-02-14 15:56:29 -08:00
parent a18829ab23
commit 9491e81ff6
1 changed files with 3 additions and 3 deletions

View File

@ -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;
};
/*