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
Always use addView() and removeView() implementation from ViewGroup
This makes sure, that the index argument is handled correctly everywhere
This commit is contained in:
@@ -207,22 +207,6 @@ extern "C" {
|
||||
JNIEXPORT jlong JNICALL Java_android_widget_ScrollView_native_1constructor
|
||||
(JNIEnv *, jobject, jobject, jobject);
|
||||
|
||||
/*
|
||||
* Class: android_widget_ScrollView
|
||||
* Method: native_addView
|
||||
* Signature: (JJILandroid/view/ViewGroup/LayoutParams;)V
|
||||
*/
|
||||
JNIEXPORT void JNICALL Java_android_widget_ScrollView_native_1addView
|
||||
(JNIEnv *, jobject, jlong, jlong, jint, jobject);
|
||||
|
||||
/*
|
||||
* Class: android_widget_ScrollView
|
||||
* Method: native_removeView
|
||||
* Signature: (JJ)V
|
||||
*/
|
||||
JNIEXPORT void JNICALL Java_android_widget_ScrollView_native_1removeView
|
||||
(JNIEnv *, jobject, jlong, jlong);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user