diff options
| author | Nader Jawad <njawad@google.com> | 2019-02-06 14:10:06 -0800 |
|---|---|---|
| committer | Nader Jawad <njawad@google.com> | 2019-02-09 00:38:05 +0000 |
| commit | 21a4f7c88c2a37dcb4d416c4df29d8572679cd5c (patch) | |
| tree | 386fe68938ca7e76918e921e54157a70b4a2eb59 /core/java/android | |
| parent | eb8c06d65d9fa5f55c383e09e246c6c839a1526e (diff) | |
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
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/view/Choreographer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/view/Choreographer.java b/core/java/android/view/Choreographer.java index 03e8a0fc0d39..c64386e8db79 100644 --- a/core/java/android/view/Choreographer.java +++ b/core/java/android/view/Choreographer.java @@ -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); |
