Add dismissImmediate to ListPopupWindow to prevent window leaks in GlobalActionsDialog.
Fixes: 154640131 Test: Manual -- Use 'adb shell dumpsys window windows || grep "PopupWindow"' to confirm number of PopupWindows displayed (should be zero at home screen.) Open GlobalActions. Tap the power overflow menu and check number of PopupWindows while the overflow dropdown is visible (should be 1). Put the phone to sleep by pressing the power button. Wake phone and make sure number of PopupWindows is 0. Repeat with Controls structure switcher dropdown and add controls dropdown. Change-Id: I4ae2d86e981465e8e6c0adf924a6fc2eabfc88ee
Loading
Please register or sign in to comment