mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Add deprecation note
Flag: DOCS_ONLY Test: doc-only && make Change-Id: I16638c3772269e4946a002a7e821735423df5084
This commit is contained in:
@@ -32,7 +32,10 @@
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.graphics.common;
|
||||
/* @hide */
|
||||
/**
|
||||
* @hide
|
||||
* @deprecated : Use instead android.hardware.HardwareBuffer in frameworks/base
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable HardwareBuffer {
|
||||
android.hardware.graphics.common.HardwareBufferDescription description;
|
||||
|
||||
@@ -20,11 +20,13 @@ import android.hardware.common.NativeHandle;
|
||||
import android.hardware.graphics.common.HardwareBufferDescription;
|
||||
|
||||
/**
|
||||
* Stable AIDL counterpart of AHardwareBuffer.
|
||||
* [Deprecated] Stable AIDL counterpart of AHardwareBuffer.
|
||||
*
|
||||
* @note This is different from the public HardwareBuffer.
|
||||
* @sa +ndk libnativewindow#AHardwareBuffer
|
||||
* @note This is different from the public HardwareBuffer. As the public
|
||||
HardwareBuffer now supports being used in stable-aidl interfaces,
|
||||
that is strongly preferred for new usages.
|
||||
* @hide
|
||||
* @deprecated: Use instead android.hardware.HardwareBuffer in frameworks/base
|
||||
*/
|
||||
@VintfStability
|
||||
parcelable HardwareBuffer {
|
||||
|
||||
Reference in New Issue
Block a user