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

Commit 272f47b8 authored by Jian-Syuan (Shane) Wong's avatar Jian-Syuan (Shane) Wong Committed by Android (Google) Code Review
Browse files

Merge "Remove unused ChangeId in AnimationUtils" into main

parents f02d5d44 a793b730
Loading
Loading
Loading
Loading
+0 −15
Original line number Diff line number Diff line
@@ -23,9 +23,6 @@ import android.annotation.AnimRes;
import android.annotation.FlaggedApi;
import android.annotation.InterpolatorRes;
import android.annotation.TestApi;
import android.compat.annotation.ChangeId;
import android.compat.annotation.EnabledSince;
import android.compat.annotation.Overridable;
import android.compat.annotation.UnsupportedAppUsage;
import android.content.Context;
import android.content.res.Resources;
@@ -55,18 +52,6 @@ public class AnimationUtils {
    private static final int TOGETHER = 0;
    private static final int SEQUENTIALLY = 1;

     /**
     * For apps targeting {@link android.os.Build.VERSION_CODES#VANILLA_ICE_CREAM} and above,
     * this change ID enables to use expectedPresentationTime instead of the frameTime
     * for the frame start time .
     *
     * @hide
     */
    @ChangeId
    @EnabledSince(targetSdkVersion = android.os.Build.VERSION_CODES.VANILLA_ICE_CREAM)
    @Overridable
    public static final long OVERRIDE_ENABLE_EXPECTED_PRSENTATION_TIME = 278730197L;

    private static boolean sExpectedPresentationTimeFlagValue;
    static {
        sExpectedPresentationTimeFlagValue = expectedPresentationTimeReadOnly();