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
ATLKeyboard: Integrate with phosh and wayland IME
This commit is contained in:
12
src/api-impl/android/app/ATLKeyboardDialog.java
Normal file
12
src/api-impl/android/app/ATLKeyboardDialog.java
Normal file
@@ -0,0 +1,12 @@
|
||||
package android.app;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
public class ATLKeyboardDialog extends Dialog {
|
||||
@Override
|
||||
protected native long nativeInit();
|
||||
|
||||
public ATLKeyboardDialog(Context context) {
|
||||
super(context);
|
||||
}
|
||||
}
|
||||
@@ -15,7 +15,7 @@ import android.view.Window;
|
||||
public class Dialog implements Window.Callback, DialogInterface {
|
||||
protected long nativePtr;
|
||||
|
||||
private native long nativeInit();
|
||||
protected native long nativeInit();
|
||||
private native void nativeSetTitle(long ptr, String title);
|
||||
private native void nativeSetContentView(long ptr, long widget);
|
||||
private native void nativeShow(long ptr);
|
||||
|
||||
Reference in New Issue
Block a user