Skip to content

Commit 23e6acb

Browse files
author
Selim Cinek
committed
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
1 parent 1584609 commit 23e6acb

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,9 @@ private void startActivateAnimation(boolean reverse) {
263263
animator.addListener(new AnimatorListenerAdapter() {
264264
@Override
265265
public void onAnimationEnd(Animator animation) {
266-
mBackgroundNormal.setVisibility(View.INVISIBLE);
266+
if (mDimmed) {
267+
mBackgroundNormal.setVisibility(View.INVISIBLE);
268+
}
267269
}
268270
});
269271
animator.reverse();

0 commit comments

Comments
 (0)