Fix 1667521 - system process crash after bad notification
The steps to reproduce this were kind of interesting. You needed to have a notification with a bogus RemoteViews in the first position in the list, and then have another notification come in with an earlier timestampe. In that case, it would get a bad index for the new (not bogus) view that was being added.
This commit is contained in:
@@ -19,7 +19,7 @@ public class NotificationData {
|
||||
public PendingIntent deleteIntent;
|
||||
|
||||
public String toString() {
|
||||
return "NotificationData(package=" + pkg + " tickerText=" + tickerText
|
||||
return "NotificationData(package=" + pkg + " id=" + id + " tickerText=" + tickerText
|
||||
+ " ongoingEvent=" + ongoingEvent + " contentIntent=" + contentIntent
|
||||
+ " deleteIntent=" + deleteIntent
|
||||
+ " clearable=" + clearable
|
||||
|
||||
Reference in New Issue
Block a user