Skip to content

Commit a924076

Browse files
committed
Potential fix for bug 7352816
1 parent 87d5795 commit a924076

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,16 @@ public View getView(int position, View convertView, ViewGroup parent) {
185185
final Activity activity = (Activity) RecentsPanelView.this.getContext();
186186
final SystemUIApplication app = (SystemUIApplication) activity.getApplication();
187187
if (app.isWaitingForWindowAnimationStart()) {
188+
if (mItemToAnimateInWhenWindowAnimationIsFinished != null) {
189+
for (View v :
190+
new View[] { holder.iconView, holder.labelView, holder.calloutLine }) {
191+
if (v != null) {
192+
v.setAlpha(1f);
193+
v.setTranslationX(0f);
194+
v.setTranslationY(0f);
195+
}
196+
}
197+
}
188198
mItemToAnimateInWhenWindowAnimationIsFinished = holder;
189199
final int translation = -getResources().getDimensionPixelSize(
190200
R.dimen.status_bar_recents_app_icon_translate_distance);

0 commit comments

Comments
 (0)