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
api-impl,libandroid: Add some stubs, mostly
This commit is contained in:
@@ -14,6 +14,10 @@ public class AlertDialog extends Dialog implements DialogInterface {
|
||||
super(context, 0);
|
||||
}
|
||||
|
||||
public AlertDialog(Context context, int themeResId) {
|
||||
super(context, themeResId);
|
||||
}
|
||||
|
||||
public void setMessage(CharSequence message) {
|
||||
System.out.println("AlertDialog setMessage called with: '" + message + "'");
|
||||
nativeSetMessage(nativePtr, String.valueOf(message));
|
||||
@@ -41,6 +45,12 @@ public class AlertDialog extends Dialog implements DialogInterface {
|
||||
return this;
|
||||
}
|
||||
|
||||
public AlertDialog.Builder setNegativeButton (CharSequence text, DialogInterface.OnClickListener listener) {
|
||||
System.out.println("AlertDialog.Builder setNegativeButton called with text: '" + text + "'");
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
public AlertDialog.Builder setCancelable(boolean cancelable) {
|
||||
return this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user