关于NotificationManager.notify 异常解决

android.os.TransactionTooLargeException: data parcel size 413328 bytes
	at android.os.BinderProxy.transactNative(Native Method)
	at android.os.BinderProxy.transact(BinderProxy.java:510)
	at android.app.INotificationManager$Stub$Proxy.enqueueNotificationWithTag(INotificationManager.java:2771)
	at android.app.NotificationManager.notifyAsUser(NotificationManager.java:497)
	at android.app.NotificationManager.notify(NotificationManager.java:447)
	at android.app.NotificationManager.notify(NotificationManager.java:423)

起因 是刷新次数太多,超过2千就容易出现这个,有效解决办法是降低刷新次数


版权声明:本文为Lcccccccccccc原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。