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

This commit is contained in:
Justin Koh
2014-11-05 23:49:03 +00:00
committed by Android (Google) Code Review
2 changed files with 1 additions and 1 deletions

View File

@@ -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);

View File

@@ -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) {