Changing minimum supported Launcher version to 26

Change-Id: I49fcf874430ac53c3246371e179fbd828e14e4da
This commit is contained in:
Sunny Goyal
2020-07-29 16:54:20 -07:00
parent 154383cad9
commit eaf7a95546
55 changed files with 130 additions and 597 deletions

View File

@@ -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,