This attempts to work around a ROM crash bug
getActiveNotifications() seems to throw an NPE on some Motorola ROMs, all of which appear to be 6.0.1. This change just swallows the exception. 6.0 doesn't support bundled notifications, so I think it's alright if they don't get canceled, since the summary notification will still be displayed correctly. This would only affect users who have an android wear device attached to one of these buggy ROMs. By swallowing this exception, they would not always get notifictions dismissed on their wear device. Fixes #6043 // FREEBIEpull/1/head
parent
cfef855d99
commit
360c2b2a50
Loading…
Reference in New Issue