mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 11:18:21 +00:00
Merge changes from topic "presubmit-am-4c8411152aef49f099eee419e063b01e" into sc-v2-dev-plus-aosp
* changes:
[automerge] Remove popup container drag listener on close complete. 2p: 8aa4b05d22
Remove popup container drag listener on close complete.
This commit is contained in:
committed by
Android (Google) Code Review
commit
087e879b25
@@ -486,6 +486,9 @@ public class PopupContainerWithArrow<T extends Context & ActivityContext>
|
||||
@Override
|
||||
protected void closeComplete() {
|
||||
super.closeComplete();
|
||||
if (mActivityContext.getDragController() != null) {
|
||||
mActivityContext.getDragController().removeDragListener(this);
|
||||
}
|
||||
PopupContainerWithArrow openPopup = getOpen(mActivityContext);
|
||||
if (openPopup == null || openPopup.mOriginalIcon != mOriginalIcon) {
|
||||
mOriginalIcon.setTextVisibility(mOriginalIcon.shouldTextBeVisible());
|
||||
|
||||
Reference in New Issue
Block a user