You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
add bunch of new java APIs: mostly stubs or copied from AOSP
Many of these classes are only needed to be subclassed by androidx support library, which is used in many android apps
This commit is contained in:
@@ -309,7 +309,7 @@ public class Region {
|
||||
}
|
||||
protected void finalize() throws Throwable {
|
||||
try {
|
||||
nativeDestructor(mNativeRegion);
|
||||
// nativeDestructor(mNativeRegion);
|
||||
} finally {
|
||||
super.finalize();
|
||||
}
|
||||
@@ -330,7 +330,7 @@ public class Region {
|
||||
return mNativeRegion;
|
||||
}
|
||||
private static native boolean nativeEquals(int native_r1, int native_r2);
|
||||
private static native int nativeConstructor();
|
||||
private static int nativeConstructor() {return -1;}
|
||||
private static native void nativeDestructor(int native_region);
|
||||
private static native void nativeSetRegion(int native_dst, int native_src);
|
||||
private static native boolean nativeSetRect(int native_dst, int left,
|
||||
|
||||
Reference in New Issue
Block a user