Hide Canvas.getGL()
Change-Id: I6d81cf9f43ce0c990fe30b3b3159c95ac738ae79
This commit is contained in:
@ -78255,17 +78255,6 @@
|
|||||||
visibility="public"
|
visibility="public"
|
||||||
>
|
>
|
||||||
</method>
|
</method>
|
||||||
<method name="getGL"
|
|
||||||
return="javax.microedition.khronos.opengles.GL"
|
|
||||||
abstract="false"
|
|
||||||
native="false"
|
|
||||||
synchronized="false"
|
|
||||||
static="false"
|
|
||||||
final="false"
|
|
||||||
deprecated="deprecated"
|
|
||||||
visibility="protected"
|
|
||||||
>
|
|
||||||
</method>
|
|
||||||
<method name="getHeight"
|
<method name="getHeight"
|
||||||
return="int"
|
return="int"
|
||||||
abstract="false"
|
abstract="false"
|
||||||
|
@ -85,8 +85,12 @@ public class Canvas {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void finalize() throws Throwable {
|
protected void finalize() throws Throwable {
|
||||||
if (mNativeCanvas != 0) {
|
try {
|
||||||
finalizer(mNativeCanvas);
|
if (mNativeCanvas != 0) {
|
||||||
|
finalizer(mNativeCanvas);
|
||||||
|
}
|
||||||
|
} finally {
|
||||||
|
super.finalize();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -137,6 +141,8 @@ public class Canvas {
|
|||||||
* Returns null.
|
* Returns null.
|
||||||
*
|
*
|
||||||
* @deprecated This method is not supported and should not be invoked.
|
* @deprecated This method is not supported and should not be invoked.
|
||||||
|
*
|
||||||
|
* @hide
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
protected GL getGL() {
|
protected GL getGL() {
|
||||||
|
Reference in New Issue
Block a user