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

Commit ac35b402 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

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

Change-Id: I7eb7f5ac58b851848c57cade4fc911ee87d7b7bd
parents e2e4dcbb f2a1abfa
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,