android.os.DeadObjectException

2021-09-07  本文已影响0人  gale_小米

在mtk平台上在定制launcher上遇到的问题;

1.做wifi自定义功能时遇触发的调用的断开连接的方法时传入的netID为-1时
public void disconnectWifi(int netId) {
mWifiManager.disableNetwork(netId);
mWifiManager.disconnect();
}

E/--->err:: disconnectWifi networkId =-1
E/WifiAdmin: wcgID= -1
E/ViewRootImpl: RemoteException happens in ViewRoot{46df797 xxx/xxxx.Activity,ident = 3}
android.os.DeadObjectException
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(Binder.java:499)
at android.view.IWindowSessionStubProxy.relayout(IWindowSession.java:854)
at android.view.ViewRootImpl.relayoutWindow(ViewRootImpl.java:5685)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1746)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1251)
at android.view.ViewRootImplTraversalRunnable.run(ViewRootImpl.java:6438) at android.view.ChoreographerCallbackRecord.run(Choreographer.java:795)
at android.view.Choreographer.doCallbacks(Choreographer.java:598)
at android.view.Choreographer.doFrame(Choreographer.java:567)
at android.view.ChoreographerFrameDisplayEventReceiver.run(Choreographer.java:781) at android.os.Handler.handleCallback(Handler.java:810) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:189) at android.app.ActivityThread.main(ActivityThread.java:5532) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInitMethodAndArgsCaller.run(ZygoteInit.java:950)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:745)
09-07 03:38:55.236 23923-23972/com.djgd.cloudalbum.p2p_device W/Sensors: sensorservice died [0xb8e5df40]
09-07 03:38:55.238 23923-23941/com.djgd.cloudalbum.p2p_device E/WifiManager: Channel connection lost
09-07 03:38:55.242 23923-23923/com.djgd.cloudalbum.p2p_device W/InputMethodManager: IME died: com.android.inputmethod.latin/.LatinIME
android.os.DeadObjectException
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(Binder.java:499)
at com.android.internal.view.IInputMethodManagerStubProxy.windowGainedFocus(IInputMethodManager.java:752)
at android.view.inputmethod.InputMethodManager.startInputInner(InputMethodManager.java:1278)
at android.view.inputmethod.InputMethodManager.onWindowFocus(InputMethodManager.java:1486)
at android.view.ViewRootImplViewRootHandler.handleMessage(ViewRootImpl.java:3626) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:189) at android.app.ActivityThread.main(ActivityThread.java:5532) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInitMethodAndArgsCaller.run(ZygoteInit.java:950)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:745)
09-07 03:38:55.244 23923-23923/com.djgd.cloudalbum.p2p_device W/InputMethodManager: IME died: com.android.inputmethod.latin/.LatinIME
android.os.DeadObjectException
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(Binder.java:499)
at com.android.internal.view.IInputMethodManagerStubProxy.windowGainedFocus(IInputMethodManager.java:752)
at android.view.inputmethod.InputMethodManager.startInputInner(InputMethodManager.java:1278)
at android.view.inputmethod.InputMethodManager.onWindowFocus(InputMethodManager.java:1486)
at android.view.ViewRootImplViewRootHandler.handleMessage(ViewRootImpl.java:3626) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:189) at android.app.ActivityThread.main(ActivityThread.java:5532) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInitMethodAndArgsCaller.run(ZygoteInit.java:950)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:745)

上一篇下一篇

猜你喜欢

热点阅读