diff options
author | Narayan Kamath <narayan@google.com> | 2014-06-12 15:24:06 +0100 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2014-06-13 10:27:33 +0100 |
commit | f905bc3bdcd48cf1f50a36c779f54eb71216c9c5 (patch) | |
tree | a172586783af0dbb22f9282c65e94ede9c2456b5 | |
parent | 3dd3de03de17546d785ed2a741fc645c1a0fcad5 (diff) | |
download | frameworks_native-f905bc3bdcd48cf1f50a36c779f54eb71216c9c5.zip frameworks_native-f905bc3bdcd48cf1f50a36c779f54eb71216c9c5.tar.gz frameworks_native-f905bc3bdcd48cf1f50a36c779f54eb71216c9c5.tar.bz2 |
Remove Parcel::writeIntPtr.
All uses of this API have been removed. It should
never have been made public in the first place.
bug: 15424960
(cherry picked from commit 7da40c0a84dd89e92201448dd5ed3387dc94df2b)
Change-Id: I8d89f62dbdaee7149ef908e0c97417b85e0c48a2
-rw-r--r-- | include/binder/Parcel.h | 1 | ||||
-rw-r--r-- | libs/binder/Parcel.cpp | 5 |
2 files changed, 0 insertions, 6 deletions
diff --git a/include/binder/Parcel.h b/include/binder/Parcel.h index ce630bd..96aeee8 100644 --- a/include/binder/Parcel.h +++ b/include/binder/Parcel.h @@ -97,7 +97,6 @@ public: status_t writeInt64(int64_t val); status_t writeFloat(float val); status_t writeDouble(double val); - status_t writeIntPtr(intptr_t val); status_t writeCString(const char* str); status_t writeString8(const String8& str); status_t writeString16(const String16& str); diff --git a/libs/binder/Parcel.cpp b/libs/binder/Parcel.cpp index e83edd5..27a50a6 100644 --- a/libs/binder/Parcel.cpp +++ b/libs/binder/Parcel.cpp @@ -679,11 +679,6 @@ status_t Parcel::writeDouble(double val) #endif -status_t Parcel::writeIntPtr(intptr_t val) -{ - return writeAligned(val); -} - status_t Parcel::writeCString(const char* str) { return write(str, strlen(str)+1); |