Merge "Fix 3295530: Fix crash in RecentApps when we have no recents"
This commit is contained in:
@@ -319,10 +319,8 @@ public class RecentAppsPanel extends LinearLayout implements StatusBarPanel, OnC
|
||||
anim.setDuration((last-first) * STAGGER_ANIMATION_DELAY);
|
||||
anim.setInterpolator(interp);
|
||||
anims.add(anim);
|
||||
}
|
||||
|
||||
if (animate) {
|
||||
ObjectAnimator anim = ObjectAnimator.ofFloat(mBackgroundProtector, "alpha",
|
||||
anim = ObjectAnimator.ofFloat(mBackgroundProtector, "alpha",
|
||||
initialAlpha, 1.0f);
|
||||
anim.setDuration(last * STAGGER_ANIMATION_DELAY);
|
||||
anim.setInterpolator(interp);
|
||||
|
||||
Reference in New Issue
Block a user