mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Changing minimum supported Launcher version to 26
Change-Id: I49fcf874430ac53c3246371e179fbd828e14e4da
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user