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

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

Merge "Add deprecation note" into main

parents 89d6d5e8 89b26e76
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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;
+5 −3
Original line number Diff line number Diff line
@@ -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 {