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

Commit 1f407647 authored by Tim Murray's avatar Tim Murray
Browse files

Send POWER_HINT_INTERACTION on rotate.

Send a POWER_HINT_INTERACTION to improve redraw performance when the
phone is rotated.

bug 24583227

Change-Id: I1978f0dfb9a25c00ad4da5b44d10410ad7412001
parent 30fd0628
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -767,6 +767,8 @@ public class PhoneWindowManager implements WindowManagerPolicy {
        private final Runnable mUpdateRotationRunnable = new Runnable() {
            @Override
            public void run() {
                // send interaction hint to improve redraw performance
                mPowerManagerInternal.powerHint(PowerManagerInternal.POWER_HINT_INTERACTION, 0);
                updateRotation(false);
            }
        };