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
This commit is contained in:
1 parent
0402efbad8
commit
715a322e9a
1 file changed
+6
@@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user