Signed-off-by: chenjuntao <chenjuntao@ghzhushou.com>
This commit is contained in:
chenjuntao
2024-01-31 11:24:10 +08:00
parent 93ec29884b
commit ff434a0e51
2 changed files with 2 additions and 2 deletions

View File

@ -1258,7 +1258,7 @@ public class DialogUtils {
throw new NullPointerException("dialog context is null");
}
if (context instanceof Activity) {
if (context instanceof Activity && !((Activity) context).isFinishing()) {
return context;
}