Merge "Restore hidden text on Popup close" into sc-v2-dev

This commit is contained in:
Samuel Fufa
2021-09-21 00:10:46 +00:00
committed by Android (Google) Code Review
@@ -480,12 +480,12 @@ public class PopupContainerWithArrow<T extends StatefulActivity<LauncherState>>
@Override
protected void closeComplete() {
super.closeComplete();
PopupContainerWithArrow openPopup = getOpen(mLauncher);
if (openPopup == null || openPopup.mOriginalIcon != mOriginalIcon) {
mOriginalIcon.setTextVisibility(mOriginalIcon.shouldTextBeVisible());
mOriginalIcon.setForceHideDot(false);
}
super.closeComplete();
}
/**