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

Commit 862e50c5 authored by Vic Yang's avatar Vic Yang Committed by android-build-merger
Browse files

Merge "binder: Use StaticString16 for interface descriptors" am: 8e34e87e...

Merge "binder: Use StaticString16 for interface descriptors" am: 8e34e87e am: 85956b93 am: 6d9076ee
am: d0a02127

Change-Id: I0698a0de5aeeb54e4281a403d27f93f1c0a32f05
parents 15dee6bf d0a02127
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -88,8 +88,12 @@ private: \
public:                                                                 \


#define __IINTF_CONCAT(x, y) (x ## y)
#define IMPLEMENT_META_INTERFACE(INTERFACE, NAME)                       \
    const ::android::String16 I##INTERFACE::descriptor(NAME);           \
    const ::android::StaticString16                                     \
        I##INTERFACE##_descriptor_static_str16(__IINTF_CONCAT(u, NAME));\
    const ::android::String16 I##INTERFACE::descriptor(                 \
        I##INTERFACE##_descriptor_static_str16);                        \
    const ::android::String16&                                          \
            I##INTERFACE::getInterfaceDescriptor() const {              \
        return I##INTERFACE::descriptor;                                \