diff options
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/notification/NotificationTemplateViewWrapper.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/NotificationTemplateViewWrapper.java b/packages/SystemUI/src/com/android/systemui/statusbar/notification/NotificationTemplateViewWrapper.java index 03791c7f91ea..91a4dda5a281 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/NotificationTemplateViewWrapper.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/NotificationTemplateViewWrapper.java @@ -182,6 +182,9 @@ public class NotificationTemplateViewWrapper extends NotificationHeaderViewWrapp } } if (mReplyAction != null) { + // Let's reset the view on update, assuming the new pending intent isn't cancelled + // anymore. The color filter automatically resets when it's updated. + mReplyAction.setEnabled(true); performOnPendingIntentCancellation(mReplyAction, () -> { if (mReplyAction != null && mReplyAction.isEnabled()) { mReplyAction.setEnabled(false); |