Merge "Update arrow color after all notifications dismissed." into sc-v2-dev am: 3a91a6241f

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15936544

Change-Id: I6e137991ebc9d46f9fa12243ba02111b0d959e96
This commit is contained in:
Brian Isganitis authored and Automerger Merge Worker committed 2021-09-29 16:56:08 +00:00
commit 52b9feb353
2 files changed
+2 -1

No files matched your search

@@ -495,7 +495,7 @@ public abstract class ArrowPopup<T extends Context & ActivityContext>
mArrow.setPivotY(mIsAboveIcon ? mArrowHeight : 0);
}
private void updateArrowColor() {
protected void updateArrowColor() {
if (!Gravity.isVertical(mGravity)) {
mArrow.setBackground(new RoundedArrowDrawable(
mArrowWidth, mArrowHeight, mArrowPointRadius,
@@ -593,6 +593,7 @@ public class PopupContainerWithArrow<T extends StatefulActivity<LauncherState>>
mNotificationContainer.setVisibility(GONE);
updateHiddenShortcuts();
assignMarginsAndBackgrounds(PopupContainerWithArrow.this);
updateArrowColor();
} else {
mNotificationContainer.trimNotifications(
NotificationKeyData.extractKeysOnly(dotInfo.getNotificationKeys()));