Skip to content

Commit

Permalink
Remove __INTRODUCED_IN from a typedef
Browse files Browse the repository at this point in the history
__INTRODUCED_IN only applies to function or variable declarations, not
a typedef to a function pointer.

Bug: android/ndk#706
Test: builds
Change-Id: I472565d3e34e5c6a3cd88500ad03ef9ce4489c25
Exempt-From-Owner-Approval: cherrypick
(cherry picked from commit e0ec2e3)
  • Loading branch information
rprichard committed Jul 23, 2018
1 parent a4afbde commit 6f1e11e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion camera/ndk/include/camera/NdkCameraManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ void ACameraManager_deleteCameraIdList(ACameraIdList* cameraIdList) __INTRODUCED
* this callback returns.
*/
typedef void (*ACameraManager_AvailabilityCallback)(void* context,
const char* cameraId) __INTRODUCED_IN(24);
const char* cameraId);

/**
* A listener for camera devices becoming available or unavailable to open.
Expand Down

0 comments on commit 6f1e11e

Please sign in to comment.