Skip to content

Commit

Permalink
0.0.41.beta16.
Browse files Browse the repository at this point in the history
  • Loading branch information
kongzue committed Aug 7, 2021
1 parent 8e90606 commit 733fb4a
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,14 @@ protected static void error(Object o) {
}

public static void onActivityResume(Activity activity) {
for (BaseDialog baseDialog : runningDialogList) {
if (baseDialog.getActivity() == activity && baseDialog.isShow && baseDialog.getDialogView() != null) {
View boxRoot = baseDialog.getDialogView().findViewById(R.id.box_root);
if (boxRoot != null) {
log("DialogX: boxRoot is requestFocus.");
boxRoot.requestFocus();
if (runningDialogList!=null) {
for (BaseDialog baseDialog : runningDialogList) {
if (baseDialog.getActivity() == activity && baseDialog.isShow && baseDialog.getDialogView() != null) {
View boxRoot = baseDialog.getDialogView().findViewById(R.id.box_root);
if (boxRoot != null) {
log("DialogX: boxRoot is requestFocus.");
boxRoot.requestFocus();
}
}
}
}
Expand Down

0 comments on commit 733fb4a

Please sign in to comment.