Merge "Close shortcut menu after launching from hotseat" into ub-launcher3-master
This commit is contained in:
committed by
Android (Google) Code Review
commit
300d74fcae
@@ -166,7 +166,10 @@ public class PopupContainerWithArrow extends ArrowPopup implements DragSource,
|
||||
}
|
||||
|
||||
public OnClickListener getItemClickListener() {
|
||||
return ItemClickHandler.INSTANCE;
|
||||
return (view) -> {
|
||||
ItemClickHandler.INSTANCE.onClick(view);
|
||||
close(true);
|
||||
};
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -564,9 +567,9 @@ public class PopupContainerWithArrow extends ArrowPopup implements DragSource,
|
||||
|
||||
@Override
|
||||
protected void closeComplete() {
|
||||
super.closeComplete();
|
||||
mOriginalIcon.setTextVisibility(mOriginalIcon.shouldTextBeVisible());
|
||||
mOriginalIcon.forceHideDot(false);
|
||||
super.closeComplete();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user