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

Commit 579a04fd authored by Diego Perez's avatar Diego Perez Committed by Android (Google) Code Review
Browse files

Merge "Adding missing SurfaceView methods"

parents a5626d74 289f090a
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@ import com.android.layoutlib.bridge.MockView;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Rect;
import android.graphics.Region;
import android.util.AttributeSet;

/**
@@ -49,6 +50,19 @@ public class SurfaceView extends MockView {
        super(context, attrs, defStyleAttr, defStyleRes);
    }

    public boolean gatherTransparentRegion(Region region) {
      return false;
    }

    public void setZOrderMediaOverlay(boolean isMediaOverlay) {
    }

    public void setZOrderOnTop(boolean onTop) {
    }

    public void setSecure(boolean isSecure) {
    }

    public SurfaceHolder getHolder() {
        return mSurfaceHolder;
    }