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

Commit 90a3c5f5 authored by Jeff Brown's avatar Jeff Brown
Browse files

Disable postponing performTraversals(), for now.

Bug: 5715378
Bug: 5721047
Change-Id: I89c674306665b6caa3a63b8a9d2b4b7c9ed020ae
parent 07069a04
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -66,9 +66,11 @@ public final class Choreographer extends Handler {

    // System property to enable/disable the use of the vsync / animation timer
    // for drawing rather than drawing immediately.
    // Enabled by default.
    // Temporarily disabled by default because postponing performTraversals() violates
    // assumptions about traversals happening in-order relative to other posted messages.
    // Bug: 5721047
    private static final boolean USE_ANIMATION_TIMER_FOR_DRAW = SystemProperties.getBoolean(
            "debug.choreographer.animdraw", true);
            "debug.choreographer.animdraw", false);

    private static final int MSG_DO_ANIMATION = 0;
    private static final int MSG_DO_DRAW = 1;