Include vndk/hardware_buffer.h for AHardwareBuffer_getNativeHandle
This function is now VNDK-only, and not in the NDK header. Bug: 34050596 Test: build Change-Id: Id0147dbdb65157da9692e7f38b1a068be18be2b9
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
#include <ScopedLocalRef.h>
|
||||
#include <android_runtime/AndroidRuntime.h>
|
||||
#include <android_runtime/android_hardware_HardwareBuffer.h>
|
||||
#include <vndk/hardware_buffer.h>
|
||||
#include <sensor/Sensor.h>
|
||||
#include <sensor/SensorEventQueue.h>
|
||||
#include <sensor/SensorManager.h>
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
#define LOG_TAG "sensor"
|
||||
#include <utils/Log.h>
|
||||
|
||||
#include <android/hardware_buffer.h>
|
||||
#include <android/looper.h>
|
||||
#include <android/sensor.h>
|
||||
#include <android/sharedmem.h>
|
||||
@@ -28,6 +27,7 @@
|
||||
#include <utils/Looper.h>
|
||||
#include <utils/RefBase.h>
|
||||
#include <utils/Timers.h>
|
||||
#include <vndk/hardware_buffer.h>
|
||||
|
||||
#include <poll.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user