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

Commit f227cebc authored by Chavi Weingarten's avatar Chavi Weingarten Committed by Automerger Merge Worker
Browse files

Merge "Mark ASurfaceControl.setGeometry as deprecated." into sc-dev am: f2a1abfa am: ac35b402

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/14352234

Change-Id: I7153257b18deb41cc695969c46a0f5f0cff2ee68
parents 1e5156e6 ac35b402
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -358,6 +358,11 @@ void ASurfaceTransaction_setColor(ASurfaceTransaction* transaction,
 * enum.
 *
 * Available since API level 29.
 *
 * @deprecated Use setCrop, setPosition, setBufferTransform, and setScale instead. Those functions
 * provide well defined behavior and allows for more control by the apps. It also allows the caller
 * to set different properties at different times, instead of having to specify all the desired
 * properties at once.
 */
void ASurfaceTransaction_setGeometry(ASurfaceTransaction* transaction,
                                     ASurfaceControl* surface_control, const ARect& source,