From 8e90cc3e3adf1d84b92b0b165193762cc8bb295d Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Tue, 28 Feb 2017 17:02:58 -0800 Subject: [PATCH] Remove AHardwareBuffer_ API from libandroid MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It’s now in libnativewindow. Also tag ANativeWindow_ symbols as removed (no-op currently) Test: compiled Bug: treble Change-Id: I912a7d09b35f25cf7d33d224f42b9779a3e0ae71 --- native/android/libandroid.map.txt | 31 ++++++++++--------------------- 1 file changed, 10 insertions(+), 21 deletions(-) diff --git a/native/android/libandroid.map.txt b/native/android/libandroid.map.txt index 1b1f28c374696..3ede2ee639bfa 100644 --- a/native/android/libandroid.map.txt +++ b/native/android/libandroid.map.txt @@ -139,27 +139,16 @@ LIBANDROID { ANativeActivity_setWindowFlags; ANativeActivity_setWindowFormat; ANativeActivity_showSoftInput; - AHardwareBuffer_acquire; # introduced=26 - AHardwareBuffer_allocate; # introduced=26 - AHardwareBuffer_describe; # introduced=26 - AHardwareBuffer_fromHardwareBuffer; # introduced=26 - AHardwareBuffer_getNativeHandle; # introduced=26 - AHardwareBuffer_lock; # introduced=26 - AHardwareBuffer_recvHandleFromUnixSocket; # introduced=26 - AHardwareBuffer_release; # introduced=26 - AHardwareBuffer_sendHandleToUnixSocket; # introduced=26 - AHardwareBuffer_toHardwareBuffer; # introduced=26 - AHardwareBuffer_unlock; # introduced=26 - ANativeWindow_acquire; - ANativeWindow_fromSurface; - ANativeWindow_fromSurfaceTexture; # introduced-arm=13 introduced-mips=13 introduced-x86=13 - ANativeWindow_getFormat; - ANativeWindow_getHeight; - ANativeWindow_getWidth; - ANativeWindow_lock; - ANativeWindow_release; - ANativeWindow_setBuffersGeometry; - ANativeWindow_unlockAndPost; + ANativeWindow_acquire; # removed=26 + ANativeWindow_fromSurface; # removed=26 + ANativeWindow_fromSurfaceTexture; # removed=26 + ANativeWindow_getFormat; # removed=26 + ANativeWindow_getHeight; # removed=26 + ANativeWindow_getWidth; # removed=26 + ANativeWindow_lock; # removed=26 + ANativeWindow_release; # removed=26 + ANativeWindow_setBuffersGeometry; # removed=26 + ANativeWindow_unlockAndPost; # removed=26 AObbInfo_delete; AObbInfo_getFlags; AObbInfo_getPackageName;