Merge "Don't reset notif translation when menu is open" into rvc-dev

This commit is contained in:
Beverly Tai
2020-04-28 18:29:09 +00:00
committed by Android (Google) Code Review

View File

@@ -1838,6 +1838,10 @@ public class ExpandableNotificationRow extends ActivatableNotificationView
}
public void resetTranslation() {
if (mMenuRow != null && mMenuRow.isMenuVisible()) {
return;
}
if (mTranslateAnim != null) {
mTranslateAnim.cancel();
}