api-impl: misc stubs and fixes for WhatsApp

This commit is contained in:
Julian Winkler
2025-10-05 15:19:58 +02:00
parent f90499d1df
commit 076ade2c5f
19 changed files with 110 additions and 6 deletions

View File

@@ -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();
}