* commit '2d42f484494e4183c42114ce5918fc4592a33fb6': Hide Surface#lockHardwareCanvas DO NOT MERGE
This commit is contained in:
@@ -33407,7 +33407,6 @@ package android.view {
|
|||||||
method public int describeContents();
|
method public int describeContents();
|
||||||
method public boolean isValid();
|
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 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 readFromParcel(android.os.Parcel);
|
||||||
method public void release();
|
method public void release();
|
||||||
method public deprecated void unlockCanvas(android.graphics.Canvas);
|
method public deprecated void unlockCanvas(android.graphics.Canvas);
|
||||||
|
|||||||
@@ -319,6 +319,7 @@ public class Surface implements Parcelable {
|
|||||||
* @return A canvas for drawing into the surface.
|
* @return A canvas for drawing into the surface.
|
||||||
*
|
*
|
||||||
* @throws IllegalStateException If the canvas cannot be locked.
|
* @throws IllegalStateException If the canvas cannot be locked.
|
||||||
|
* @hide
|
||||||
*/
|
*/
|
||||||
public Canvas lockHardwareCanvas() {
|
public Canvas lockHardwareCanvas() {
|
||||||
synchronized (mLock) {
|
synchronized (mLock) {
|
||||||
|
|||||||
Reference in New Issue
Block a user