Skip to content

Commit f4a1635

Browse files
Selim CinekAndroid (Google) Code Review
authored andcommitted
Merge "Fixed a bug where a notification had no background" into lmp-dev
2 parents 7e67871 + 23e6acb commit f4a1635

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)