Fix notification being slided over with the gear not showing

am: 32c638a597

Change-Id: I8c96e8dc9325bb5c78440a50888ada97fc4867b1
This commit is contained in:
Mady Mellor
2016-09-14 18:59:09 +00:00
committed by android-build-merger

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