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
This commit is contained in:
Nader Jawad
2019-02-06 14:10:06 -08:00
parent eb8c06d65d
commit 21a4f7c88c

View File

@@ -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);