From 7da40c0a84dd89e92201448dd5ed3387dc94df2b Mon Sep 17 00:00:00 2001 From: Narayan Kamath Date: Thu, 12 Jun 2014 15:24:06 +0100 Subject: [PATCH] Remove Parcel::writeIntPtr. All uses of this API have been removed. It should never have been made public in the first place. bug: 15424960 Change-Id: Id07d24ec95b2b393e6da138a7e8a9a4ecebeca94 --- include/binder/Parcel.h | 1 - libs/binder/Parcel.cpp | 5 ----- 2 files changed, 6 deletions(-) diff --git a/include/binder/Parcel.h b/include/binder/Parcel.h index 548fbf814..2ee99f8a3 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 f0d873277..76504cee5 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);