You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The main culprit seems to be com.android.launcher3.CellLayout.getUnusedHorizontalSpace()
Here is the log:
FATAL EXCEPTION: main
Process: app.lawnchair.debug, PID: 14419
java.lang.NullPointerException: Attempt to invoke virtual method 'int com.android.launcher3.CellLayout.getUnusedHorizontalSpace()' on a null object reference
at com.android.launcher3.Workspace.getFinalPositionForDropAnimation(Workspace.java:3137)
at com.android.launcher3.Workspace.animateWidgetDrop(Workspace.java:3164)
at com.android.launcher3.Launcher.completeTwoStageWidgetDrop(Launcher.java:1086)
at com.android.launcher3.Launcher$3.run(Launcher.java:999)
at com.android.launcher3.Workspace.removeExtraEmptyScreenDelayed(Workspace.java:952)
at com.android.launcher3.Workspace.lambda$removeExtraEmptyScreenDelayed$3(Workspace.java:922)
at com.android.launcher3.Workspace.$r8$lambda$qJmEWteEMIDxIhPN0xohUE9-Gbo(Unknown Source:0)
at com.android.launcher3.Workspace$$ExternalSyntheticLambda13.run(D8$$SyntheticClass:0)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:230)
at android.os.Looper.loop(Looper.java:319)
at android.app.ActivityThread.main(ActivityThread.java:8893)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:608)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)
Describe the bug
Any attemp to add any widget results in a LawnChair crash, and no widget added.
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
No crash, obviously, and a working widget.
Screenshots
Screen_Recording_20240423_135001_Lawnchair.Debug.mp4
Device information
#774Additional context
The main culprit seems to be
com.android.launcher3.CellLayout.getUnusedHorizontalSpace()Here is the log: