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

Commit 451feb75 authored by Han Wang's avatar Han Wang Committed by Luca Stefani
Browse files

SurfaceControl: Unbreak public API after pie-gsi merge

Change-Id: I5a6d04d3e839bbfa47e309bf3efe2ad876ea54e1
parent 16f0360a
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -269,6 +269,7 @@ public class SurfaceControl implements Parcelable {
     * Surface creation flag: Creates a container surface.
     * This surface will have no buffers and will only be used
     * as a container for other surfaces, or for its InputInfo.
     * @hide
     */
    public static final int FX_SURFACE_CONTAINER = 0x00080000;

@@ -542,6 +543,7 @@ public class SurfaceControl implements Parcelable {
         * as a parent of renderable layers.
         *
         * @param isContainerLayer Whether to create a container layer.
         * @hide
         */
        public Builder setContainerLayer(boolean isContainerLayer) {
            if (isContainerLayer) {
@@ -554,7 +556,7 @@ public class SurfaceControl implements Parcelable {

        /**
         * Indicates whether a buffer layer is to be constructed.
         *
         * @hide
         */
        public Builder setBufferLayer() {
            return setFlags(FX_SURFACE_NORMAL, FX_SURFACE_MASK);