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