Merge "Merge "Dismiss all dropdown windows when power menu is rotated." into rvc-dev am: a16934187a am: b86eedf77c" into rvc-d1-dev-plus-aosp
This commit is contained in:
committed by
Android (Google) Code Review
commit
0b64fb8829
@@ -2362,6 +2362,14 @@ public class GlobalActionsDialog implements DialogInterface.OnDismissListener,
|
||||
}
|
||||
|
||||
public void refreshDialog() {
|
||||
// ensure dropdown menus are dismissed before re-initializing the dialog
|
||||
dismissPanel();
|
||||
dismissOverflow(true);
|
||||
if (mControlsUiController != null) {
|
||||
mControlsUiController.hide();
|
||||
}
|
||||
|
||||
// re-create dialog
|
||||
initializeLayout();
|
||||
mGlobalActionsLayout.updateList();
|
||||
if (mControlsUiController != null) {
|
||||
|
||||
Reference in New Issue
Block a user