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

Commit b8038d58 authored by Justin Koh's avatar Justin Koh Committed by Android (Google) Code Review
Browse files

Merge "Hide Surface#lockHardwareCanvas DO NOT MERGE" into lmp-sprout-dev

parents c6f2ec20 7c1ad0ca
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) {