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

Commit c9bf733e authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix C compatibility in new API." into aosp-main-future

parents 9bbb8378 b0f043a3
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -59,17 +59,13 @@ typedef bool (*AInputReceiver_onKeyEvent)(void *_Null_unspecified context,
                                          AInputEvent *_Nonnull keyEvent)
                                          __INTRODUCED_IN(__ANDROID_API_V__);

struct AInputReceiverCallbacks;

struct AInputReceiver;
typedef struct AInputReceiverCallbacks AInputReceiverCallbacks;

/**
 * The InputReceiver that holds the reference to the registered input channel. This must be released
 * using AInputReceiver_release
 *
 * Available since API level 35.
 */
typedef struct AInputReceiver AInputReceiver __INTRODUCED_IN(__ANDROID_API_V__);
typedef struct AInputReceiver AInputReceiver;

/**
 * Registers an input receiver for an ASurfaceControl that will receive batched input event. For