Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3494271
D5889.id19570.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
782 B
Referenced Files
None
Subscribers
None
D5889.id19570.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D5889: [native] Consider null notification tag in CommNotificationsHandler
Attached
Detach File
Event Timeline
Log In to Comment