commit | 10ad761aa9e11f33c20e1b0fc3162973c650090f | [log] [tgz] |
---|---|---|
author | Jorim Jaggi <jjaggi@google.com> | Mon Dec 08 18:41:11 2014 +0100 |
committer | Jorim Jaggi <jjaggi@google.com> | Mon Dec 08 18:41:11 2014 +0100 |
tree | ed299e779494123cdbff894452a5a2f597dcb278 | |
parent | b9f245d4645e4f3ed47a2a587540505576b96524 [diff] |
Update dark mode when notification is updated When the template of a notification changes during a notification update, we reinflate all the views but didn't update the dark mode. Bug: 18537470 Change-Id: Iab9278adcbe3bdf39f86019e61b252db0dda7390
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java b/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java index 0faad21..2934327 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/NotificationContentView.java
@@ -124,6 +124,7 @@ mContractedChild = child; mContractedWrapper = NotificationViewWrapper.wrap(getContext(), child); selectLayout(false /* animate */, true /* force */); + mContractedWrapper.setDark(mDark, false /* animate */, 0 /* delay */); } public void setExpandedChild(View child) {