Android7.0使用PendingIntent传递自定义对象:ClassNotFoundException reading a Serializable obje
最近项目中场景中使用了PendingIntent去绑定闹钟服务的广播接收器,代码如下:初始化闹钟:privatevoidinitAlarmManager(Contextcontext,AlarmInfoalarmInfo,intid){Intentintent=newIntent(context,MyReceiver.class);Bundlebundle=newBundle();bundle.p