Fixed a bug where a notification had no background

When tapping on a notification and then dragging down,
the notification had no background anymore

Bug: 16191184
Change-Id: I233a45744fc39ac3fcd9f533c8427354ab384709
This commit is contained in:
Selim Cinek
2014-08-12 16:01:41 +02:00
parent 1584609f42
commit 23e6acbde2

View File

@@ -263,7 +263,9 @@ public abstract class ActivatableNotificationView extends ExpandableOutlineView
animator.addListener(new AnimatorListenerAdapter() {
@Override
public void onAnimationEnd(Animator animation) {
mBackgroundNormal.setVisibility(View.INVISIBLE);
if (mDimmed) {
mBackgroundNormal.setVisibility(View.INVISIBLE);
}
}
});
animator.reverse();