Merge "Fix notification being slided over with the gear not showing" into nyc-mr1-dev

This commit is contained in:
Mady Mellor
2016-09-14 18:51:53 +00:00
committed by Android (Google) Code Review

View File

@@ -905,6 +905,9 @@ public class ExpandableNotificationRow extends ActivatableNotificationView {
} }
public void resetTranslation() { public void resetTranslation() {
if (mTranslateAnim != null) {
mTranslateAnim.cancel();
}
if (mTranslateableViews != null) { if (mTranslateableViews != null) {
for (int i = 0; i < mTranslateableViews.size(); i++) { for (int i = 0; i < mTranslateableViews.size(); i++) {
mTranslateableViews.get(i).setTranslationX(0); mTranslateableViews.get(i).setTranslationX(0);