OpenLauncherTeam / openlauncher

Customizable and Open Source Launcher for Android
Apache License 2.0
1.41k stars 413 forks source link

crash when entering split screen: "app does not support split screen" when it does for other launchers #709

Open sudomain opened 1 year ago

sudomain commented 1 year ago

General Information

Description

OpenLauncher crashes when trying to go into split screen and reports that my apps don't suppor t split screen. However, these apps do split screen just fine with other launchers such as Rootless Pixel Launcher.

Log

This is only needed for crashes or other issues you notice in your system logs from OpenLauncher.

Build version: 0.7.4 Build date: 1979-11-29 19:00:00 Current date: 2023-02-26 15:36:33 Device: Google Pixel 2

Stack trace:
java.lang.RuntimeException: Unable to destroy activity {com.benny.openlauncher/com.benny.openlauncher.activity.HomeActivity}: java.lang.NullPointerException: Attempt to read from field 'com.android.server.appwidget.AppWidgetServiceImpl$ProviderId com.android.server.appwidget.AppWidgetServiceImpl$Provider.id' on a null object reference at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:5111) at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:5140) at android.app.ActivityThread.handleRelaunchActivityInner(ActivityThread.java:5432) at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:5362) at android.app.servertransaction.ActivityRelaunchItem.execute(ActivityRelaunchItem.java:69) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2066) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:223) at android.app.ActivityThread.main(ActivityThread.java:7656) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947) Caused by: java.lang.NullPointerException: Attempt to read from field 'com.android.server.appwidget.AppWidgetServiceImpl$ProviderId com.android.server.appwidget.AppWidgetServiceImpl$Provider.id' on a null object reference at android.os.Parcel.createExceptionOrNull(Parcel.java:2379) at android.os.Parcel.createException(Parcel.java:2357) at android.os.Parcel.readException(Parcel.java:2340) at android.os.Parcel.readException(Parcel.java:2282) at com.android.internal.appwidget.IAppWidgetService$Stub$Proxy.stopListening(IAppWidgetService.java:789) at android.appwidget.AppWidgetHost.stopListening(AppWidgetHost.java:257) at com.benny.openlauncher.activity.HomeActivity.onDestroy(HomeActivity.java:567) at android.app.Activity.performDestroy(Activity.java:8245) at android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1344) at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:5096) ... 13 more Caused by: android.os.RemoteException: Remote stack trace: at com.android.server.appwidget.AppWidgetServiceImpl$Host.getWidgetUids(AppWidgetServiceImpl.java:4171) at com.android.server.appwidget.AppWidgetServiceImpl.stopListening(AppWidgetServiceImpl.java:910) at com.android.internal.appwidget.IAppWidgetService$Stub.onTransact(IAppWidgetService.java:311) at android.os.Binder.execTransactInternal(Binder.java:1154) at android.os.Binder.execTransact(Binder.java:1123)