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

Commit 012af9a9 authored by Steven Moreland's avatar Steven Moreland
Browse files

libbinder_ndk: use API level 33 for new APIs

aosp/master is still guesswork at this point, but this seems to be the
right level according to b/197721058#comment8.

This API was added recently, and this detail was missed.

Test: build only
Change-Id: Ie159ff817866bea6b9e2eb60879a9cce36d65208
parent 16d7c90f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -227,11 +227,11 @@ void AIBinder_Class_setOnDump(AIBinder_Class* clazz, AIBinder_onDump onDump) __I
 * must have a separate way of determining the binder you are talking to is the right type. Must
 * be called before any instance of the class is created.
 *
 * Available since API level 32.
 * Available since API level 33.
 *
 * \param clazz class to disable interface header on.
 */
void AIBinder_Class_disableInterfaceTokenHeader(AIBinder_Class* clazz) __INTRODUCED_IN(32);
void AIBinder_Class_disableInterfaceTokenHeader(AIBinder_Class* clazz) __INTRODUCED_IN(33);

/**
 * Creates a new binder object of the appropriate class.
+1 −1
Original line number Diff line number Diff line
@@ -141,7 +141,7 @@ LIBBINDER_NDK31 { # introduced=31
    AParcel_reset;
};

LIBBINDER_NDK32 { # introduced=32
LIBBINDER_NDK33 { # introduced=33
  global:
    AIBinder_Class_disableInterfaceTokenHeader;
};