更新widget 导致widget host(home) 挂掉

 发送大量intent 更新 widget 会导致 home app 挂掉

2020-05-10 17:18:12.892 1716-1716/system_process I/IPCThreadState: BR_FAILED_REPLY received from Binder driver. err=-2147483646
2020-05-10 17:18:12.892 1716-1716/system_process E/JavaBinder: !!! FAILED BINDER TRANSACTION !!!  (parcel size = 1852)
2020-05-10 17:18:12.893 1716-1716/system_process E/AppWidgetServiceImpl: Widget host dead: HostId{user:0, app:10073, hostId:171808569, pkg:com.sonymobile.home}
    android.os.DeadObjectException: Transaction failed on small parcel; remote process probably died
        at android.os.BinderProxy.transactNative(Native Method)
        at android.os.BinderProxy.transact(Binder.java:748)
        at com.android.internal.appwidget.IAppWidgetHost$Stub$Proxy.updateAppWidget(IAppWidgetHost.java:123)
        at com.android.server.appwidget.AppWidgetServiceImpl.handleNotifyUpdateAppWidget(AppWidgetServiceImpl.java:2064)
        at com.android.server.appwidget.AppWidgetServiceImpl.-wrap10(Unknown Source:0)
        at com.android.server.appwidget.AppWidgetServiceImpl$CallbackHandler.handleMessage(AppWidgetServiceImpl.java:3602)
        at android.os.Handler.dispatchMessage(Handler.java:105)
        at android.os.Looper.loop(Looper.java:255)
        at com.android.server.SystemServer.run(SystemServer.java:455)
        at com.android.server.SystemServer.main(SystemServer.java:281)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)

评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值