Merge "Don't reset notif translation when menu is open" into rvc-dev am: 04369a9429 am: 05759938f8

Change-Id: Ie2c1a0fc633f141bf2130833ca7a4a25b253fd7b
This commit is contained in:
Beverly Tai
2020-04-28 18:45:41 +00:00
committed by Automerger Merge Worker

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();
}