* commit 'ec7904102036c27381a3d3281a9b2ef193690e7e': Potential fix for bug 7352816
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user