Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 715a322e authored by Jon Miranda's avatar Jon Miranda
Browse files

Temporary fix for Folders in battery saver mode.

In battery saver mode, the Folder opens where it appears
the final values of the Animators are not being set.

Bug: 36157561
Bug: 36246234
Change-Id: I8dd58044f5f5ac66f8a8476a77d9899447a973eb
parent 0402efba
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -621,6 +621,12 @@ public class Folder extends AbstractFloatingView implements DragSource, View.OnC

                onCompleteRunnable.run();
                mContent.setFocusOnFirstChild();

                // Temporary fix b/36246234
                setTranslationX(0f);
                setTranslationY(0f);
                mContent.setAlpha(1f);
                mFooter.setAlpha(1f);
            }
        });