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

Commit a924076b authored by Michael Jurka's avatar Michael Jurka
Browse files

Potential fix for bug 7352816

parent 87d57952
Loading
Loading
Loading
Loading
+10 −0
Original line number Original line Diff line number Diff line
@@ -185,6 +185,16 @@ public class RecentsPanelView extends FrameLayout implements OnItemClickListener
                final Activity activity = (Activity) RecentsPanelView.this.getContext();
                final Activity activity = (Activity) RecentsPanelView.this.getContext();
                final SystemUIApplication app = (SystemUIApplication) activity.getApplication();
                final SystemUIApplication app = (SystemUIApplication) activity.getApplication();
                if (app.isWaitingForWindowAnimationStart()) {
                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;
                    mItemToAnimateInWhenWindowAnimationIsFinished = holder;
                    final int translation = -getResources().getDimensionPixelSize(
                    final int translation = -getResources().getDimensionPixelSize(
                            R.dimen.status_bar_recents_app_icon_translate_distance);
                            R.dimen.status_bar_recents_app_icon_translate_distance);