Merge "Let sendShowMessage called from hide to show"

This commit is contained in:
Treehugger Robot
2018-02-24 01:27:13 +00:00
committed by Gerrit Code Review

View File

@@ -291,7 +291,10 @@ public class Dialog implements DialogInterface, Window.Callback,
if (mWindow.hasFeature(Window.FEATURE_ACTION_BAR)) {
mWindow.invalidatePanelMenu(Window.FEATURE_ACTION_BAR);
}
mDecor.setVisibility(View.VISIBLE);
if (mDecor.getVisibility() != View.VISIBLE) {
mDecor.setVisibility(View.VISIBLE);
sendShowMessage();
}
}
return;
}