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

Commit 7c1ad0ca authored by Justin Koh's avatar Justin Koh
Browse files

Hide Surface#lockHardwareCanvas DO NOT MERGE

Hide this for now, will be public in a later release.

Change-Id: Ie13438ed10918df8b044103ef04016494aed1d10
parent 4b28b1c3
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -32987,7 +32987,6 @@ package android.view {
    method public int describeContents();
    method public boolean isValid();
    method public android.graphics.Canvas lockCanvas(android.graphics.Rect) throws java.lang.IllegalArgumentException, android.view.Surface.OutOfResourcesException;
    method public android.graphics.Canvas lockHardwareCanvas();
    method public void readFromParcel(android.os.Parcel);
    method public void release();
    method public deprecated void unlockCanvas(android.graphics.Canvas);
+1 −0
Original line number Diff line number Diff line
@@ -316,6 +316,7 @@ public class Surface implements Parcelable {
     * @return A canvas for drawing into the surface.
     *
     * @throws IllegalStateException If the canvas cannot be locked.
     * @hide
     */
    public Canvas lockHardwareCanvas() {
        synchronized (mLock) {