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

Commit 9bd71189 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Check if the surface control is released before setting metadata on it"

parents ca07451b 5f4c4ddf
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2657,6 +2657,7 @@ public final class SurfaceControl implements Parcelable {
         * @hide
         */
        public Transaction setMetadata(SurfaceControl sc, int key, Parcel data) {
            sc.checkNotReleased();
            nativeSetMetadata(mNativeObject, sc.mNativeObject, key, data);
            return this;
        }