Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit faa82590 authored by Michael Jurka's avatar Michael Jurka Committed by Android Git Automerger
Browse files

am 341aa8e0: Merge "Potential fix for bug 7352816" into jb-mr1-dev

* commit '341aa8e0':
  Potential fix for bug 7352816
parents 3f846089 341aa8e0
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -185,6 +185,16 @@ public class RecentsPanelView extends FrameLayout implements OnItemClickListener
                final Activity activity = (Activity) RecentsPanelView.this.getContext();
                final SystemUIApplication app = (SystemUIApplication) activity.getApplication();
                if (app.isWaitingForWindowAnimationStart()) {
                    if (mItemToAnimateInWhenWindowAnimationIsFinished != null) {
                        for (View v :
                            new View[] { holder.iconView, holder.labelView, holder.calloutLine }) {
                            if (v != null) {
                                v.setAlpha(1f);
                                v.setTranslationX(0f);
                                v.setTranslationY(0f);
                            }
                        }
                    }
                    mItemToAnimateInWhenWindowAnimationIsFinished = holder;
                    final int translation = -getResources().getDimensionPixelSize(
                            R.dimen.status_bar_recents_app_icon_translate_distance);