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

Commit bcbec0cc authored by Chet Haase's avatar Chet Haase
Browse files

Fix bug with transform Animations

A recent change to enable View properties at the native DisplayList level
mistakenly cuased Animation transforms get be ignored for any View with
a DisplayList. The correct code should have checked whether DL properties
were enabled for the view (disabled by default for now).

Issue #6173975 Animations are gone

Change-Id: I5d5f53f854fb1b533a3150158e84392d7283d2a8
parent 278836e2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -11473,7 +11473,7 @@ public class View implements Drawable.Callback, Drawable.Callback2, KeyEvent.Cal
                    if (concatMatrix) {
                        // Undo the scroll translation, apply the transformation matrix,
                        // then redo the scroll translate to get the correct result.
                        if (!hasDisplayList) {
                        if (!useDisplayListProperties) {
                            canvas.translate(-transX, -transY);
                            canvas.concat(transformToApply.getMatrix());
                            canvas.translate(transX, transY);