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: misc stubs and fixes for WhatsApp
This commit is contained in:
@@ -386,6 +386,10 @@ public class Activity extends ContextThemeWrapper implements Window.Callback, La
|
||||
Dialog dialog = dialogs.get(id);
|
||||
if (dialog == null)
|
||||
dialogs.put(id, dialog = onCreateDialog(id));
|
||||
if (dialog == null) {
|
||||
Slog.w(TAG, "Dialog " + id + " was not created");
|
||||
return;
|
||||
}
|
||||
onPrepareDialog(id, dialog);
|
||||
dialog.show();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user