Page MenuHomePhabricator

D5889.id19570.diff
No OneTemporary

D5889.id19570.diff

diff --git a/native/android/app/src/main/java/app/comm/android/CommNotificationsHandler.java b/native/android/app/src/main/java/app/comm/android/CommNotificationsHandler.java
--- a/native/android/app/src/main/java/app/comm/android/CommNotificationsHandler.java
+++ b/native/android/app/src/main/java/app/comm/android/CommNotificationsHandler.java
@@ -127,7 +127,8 @@
String rescindID = message.getData().get(RESCIND_ID_KEY);
for (StatusBarNotification notification :
notificationManager.getActiveNotifications()) {
- if (notification.getTag().equals(rescindID)) {
+ String tag = notification.getTag();
+ if (tag != null && tag.equals(rescindID)) {
notificationManager.cancel(notification.getTag(), notification.getId());
}
}

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 20, 4:58 AM (19 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2679949
Default Alt Text
D5889.id19570.diff (782 B)

Event Timeline