Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7ff68ce0 authored by Steven Moreland's avatar Steven Moreland Committed by Android (Google) Code Review
Browse files

Merge "libbinder: deprecated notice for *CString" into main

parents 16d3bf05 74befc9e
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -178,7 +178,8 @@ public:
    LIBBINDER_EXPORTED status_t writeUint64(uint64_t val);
    LIBBINDER_EXPORTED status_t writeFloat(float val);
    LIBBINDER_EXPORTED status_t writeDouble(double val);
    LIBBINDER_EXPORTED status_t writeCString(const char* str);
    LIBBINDER_EXPORTED status_t writeCString(const char* str)
            __attribute__((deprecated("use AIDL, writeString* instead")));
    LIBBINDER_EXPORTED status_t writeString8(const String8& str);
    LIBBINDER_EXPORTED status_t writeString8(const char* str, size_t len);
    LIBBINDER_EXPORTED status_t writeString16(const String16& str);
@@ -434,7 +435,8 @@ public:
    LIBBINDER_EXPORTED status_t readUtf8FromUtf16(std::unique_ptr<std::string>* str) const
            __attribute__((deprecated("use std::optional version instead")));

    LIBBINDER_EXPORTED const char* readCString() const;
    LIBBINDER_EXPORTED const char* readCString() const
            __attribute__((deprecated("use AIDL, use readString*")));
    LIBBINDER_EXPORTED String8 readString8() const;
    LIBBINDER_EXPORTED status_t readString8(String8* pArg) const;
    LIBBINDER_EXPORTED const char* readString8Inplace(size_t* outLen) const;