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

Commit 21a4f7c8 authored by Nader Jawad's avatar Nader Jawad
Browse files

Added maxTargetSdk and tracking bug to USE_VSYNC flag in choreographer

It is not clear what an application would do differently with this flag
considering that VSYNC has been enabled by default on Android for a
number of years.

Change-Id: Id307bce0beebaad63a693222dffe940d640f89cd
Fixes: 123769497
Test: N/A
parent eb8c06d6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -133,7 +133,7 @@ public final class Choreographer {
            };

    // Enable/disable vsync for animations and drawing.
    @UnsupportedAppUsage
    @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P, trackingBug = 123769497)
    private static final boolean USE_VSYNC = SystemProperties.getBoolean(
            "debug.choreographer.vsync", true);