Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 87d8b65b authored by Automerger Merge Worker's avatar Automerger Merge Worker Committed by Android (Google) Code Review
Browse files

Merge "Merge "Allow resetTranslation on notification menu open" into rvc-dev...

Merge "Merge "Allow resetTranslation on notification menu open" into rvc-dev am: 078fb920 am: 928a546a" into rvc-d1-dev-plus-aosp
parents e5087733 0435107c
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -1680,7 +1680,9 @@ public class ExpandableNotificationRow extends ActivatableNotificationView
    public void reset() {
        mShowingPublicInitialized = false;
        unDismiss();
        if (mMenuRow == null || !mMenuRow.isMenuVisible()) {
            resetTranslation();
        }
        onHeightReset();
        requestLayout();
    }
@@ -1838,10 +1840,6 @@ public class ExpandableNotificationRow extends ActivatableNotificationView
    }

    public void resetTranslation() {
        if (mMenuRow != null && mMenuRow.isMenuVisible()) {
            return;
        }

        if (mTranslateAnim != null) {
            mTranslateAnim.cancel();
        }