Changing minimum supported Launcher version to 26

Change-Id: I49fcf874430ac53c3246371e179fbd828e14e4da
This commit is contained in:
Sunny Goyal committed 2020-07-29 17:30:19 -07:00
1 parent 154383cad9
commit eaf7a95546
55 files changed
+130 -597

No files matched your search

@@ -513,15 +513,7 @@ public abstract class AbstractStateChangeTouchController
if (mAtomicAnim == null) {
return 0;
}
if (Utilities.ATLEAST_OREO) {
return mAtomicAnim.getTotalDuration() - mAtomicAnim.getCurrentPlayTime();
} else {
long remainingDuration = 0;
for (Animator anim : mAtomicAnim.getChildAnimations()) {
remainingDuration = Math.max(remainingDuration, anim.getDuration());
}
return remainingDuration;
}
return mAtomicAnim.getTotalDuration() - mAtomicAnim.getCurrentPlayTime();
}
protected void updateSwipeCompleteAnimation(ValueAnimator animator, long expectedDuration,