经过大量搜索后,我无法找到解决此问题的解决方案
Exception Backtrace:
1 android.app.LoadedApk.forgetReceiverDispatcher LoadedApk.java, line 882
2 android.app.ContextImpl.unregisterReceiver ContextImpl.java, line 1294
3 android.content.ContextWrapper.unregisterReceiver ContextWrapper.java, line 601
4 com.android.internal.policy.MultiPhoneWindow$VideoCapabilityReceiver.unregister MultiPhoneWindow.java, line 2679
5 com.android.internal.policy.MultiPhoneWindow$MultiPhoneDecorView.onDetachedFromWindow MultiPhoneWindow.java, line 1037
6 android.view.View.dispatchDetachedFromWindow View.java, line 15916
7 android.view.ViewGroup.dispatchDetachedFromWindow ViewGroup.java, line 3385
8 android.view.ViewRootImpl.dispatchDetachedFromWindow ViewRootImpl.java, line 3837
9 android.view.ViewRootImpl.doDie ViewRootImpl.java, line 7086
10 android.view.ViewRootImpl.die ViewRootImpl.java, line 7059
11 android.view.WindowManagerGlobal.removeViewLocked WindowManagerGlobal.java, line 424
12 android.view.WindowManagerGlobal.removeView WindowManagerGlobal.java, line 379
13 android.view.WindowManagerImpl.removeViewImmediate WindowManagerImpl.java, line 140
14 android.app.ActivityThread.handleDestroyActivity ActivityThread.java, line 5187
15 android.app.ActivityThread.access$1700 ActivityThread.java, line 229
16 android.app.ActivityThread$H.handleMessage ActivityThread.java, line 1880
17 android.os.Handler.dispatchMessage Handler.java, line 102
18 android.os.Looper.loop Looper.java, line 148
19 android.app.ActivityThread.main ActivityThread.java, line 7407
20 java.lang.reflect.Method.invoke Method.java
21 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run ZygoteInit.java, line 1230
22 com.android.internal.os.ZygoteInit.main ZygoteInit.java, line 1120
仅在三星设备中发生,特别是这种型号:
使用Android 6.0.1和7.0。
另外,我还没有添加关于旧三星sdk的下一个明显元数据
<meta-data android:name="com.samsung.android.sdk.multiwindow.enable" android:value="true"/>
<meta-data android:name="com.samsung.android.sdk.multiwindow.multiinstance.enable" android:value="true"/>
<meta-data android:name="com.sec.android.multiwindow.STYLE" android:value="fixedRatio"/>
或活动中的多窗口类别
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" />
你知道如何解决这个问题吗?
谢谢(=