Skip to content

Commit

Permalink
optimize 'VolumeEaseHelper'
Browse files Browse the repository at this point in the history
- change the duration of 'mStartVolumeAnimator': 400 -> 1000
  • Loading branch information
jrfeng committed Sep 7, 2020
1 parent 1f41023 commit 63d99c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ private void initVolumeAnimator() {
long volumeAnimDuration = 400L;

mStartVolumeAnimator = ObjectAnimator.ofFloat(this, "volume", 0.0F, 1.0F);
mStartVolumeAnimator.setDuration(volumeAnimDuration);
mStartVolumeAnimator.setDuration(1000L);
mStartVolumeAnimator.addListener(new AnimatorListenerAdapter() {
@Override
public void onAnimationCancel(Animator animation) {
Expand Down

0 comments on commit 63d99c0

Please sign in to comment.