diff options
| author | 2024-08-12 08:17:25 +0000 | |
|---|---|---|
| committer | 2024-08-12 08:17:25 +0000 | |
| commit | 35cc593181b1cc9c49949d63381980edb65b833a (patch) | |
| tree | 3e1e6d3b0b3532c730d6bbfbd04ef1fb849011f2 | |
| parent | b1003425325bc7287081bbf2e8dfaf01acc19f45 (diff) | |
| parent | d1f6cda7685191d02286d1b03dcd7c9854a59604 (diff) | |
Merge "Fix manage menu after theme change" into main
| -rw-r--r-- | libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleStackView.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleStackView.java b/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleStackView.java index efa1031bf814..f002d8904626 100644 --- a/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleStackView.java +++ b/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleStackView.java @@ -1601,6 +1601,11 @@ public class BubbleStackView extends FrameLayout getResources().getColor(android.R.color.system_neutral1_1000))); mManageMenuScrim.setBackgroundDrawable(new ColorDrawable( getResources().getColor(android.R.color.system_neutral1_1000))); + if (mShowingManage) { + // the manage menu location depends on the manage button location which may need a + // layout pass, so post this to the looper + post(() -> showManageMenu(true)); + } } /** |