Fix notification being slided over with the gear not showing
am: 32c638a597
Change-Id: I8c96e8dc9325bb5c78440a50888ada97fc4867b1
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user