LawnchairLauncher / lawnchair

No clever tagline needed.
https://lawnchair.app
Other
9.42k stars 1.23k forks source link

[BUG] Lawnchair keep crashing when wallpaper blur option on #4827

Open MlgmXyysd opened 1 month ago

MlgmXyysd commented 1 month ago

Describe the bug

Same as #4747

Steps to reproduce

Steps to reproduce the behavior:

  1. Go to settings
  2. Turn on wallpaper blur
  3. Return to home
  4. Lawnchair crashes

Expected behavior

Background blur gets enabled

Screenshots

No response

Device information

Additional context

Related logs:

09-16 13:39:53.040 14146 14146 I OverviewComponentObserver: updateOverviewTargets: mIsHomeDisabled=false, isDefaultHomeNull=true, mIsDefaultHome=false
09-16 13:39:53.045 14146 14146 D b/279059025: go to state AllApps
09-16 13:39:53.045 14146 14146 D b/279059025: current animation cancelled
09-16 13:39:53.047 14146 14146 D b/279059025: Notifying listeners for state transition start to state: AllApps
09-16 13:39:53.047 14146 14146 D b/279059025: overview state enabled state has changed: false
09-16 13:39:53.057 14146 14146 I zygote64: Rejecting re-init on previously-failed class java.lang.Class<t6.a>: java.lang.ExceptionInInitializerError:
09-16 13:39:53.057 14146 14146 I zygote64:   at void com.android.launcher3.statehandlers.DepthController.applyDepthAndBlur() (SourceFile:-1)
09-16 13:39:53.057 14146 14146 I zygote64:   at void com.android.quickstep.util.BaseDepthController.setDepth(float) (SourceFile:-1)
09-16 13:39:53.057 14146 14146 I zygote64:   at void com.android.quickstep.util.BaseDepthController.b(com.android.quickstep.util.BaseDepthController, float) (SourceFile:-1)
09-16 13:39:53.057 14146 14146 I zygote64:   at void com.android.quickstep.util.BaseDepthController$1.setValue(com.android.quickstep.util.BaseDepthController, float) (SourceFile:2)
09-16 13:39:53.057 14146 14146 I zygote64:   at void com.android.quickstep.util.BaseDepthController$1.setValue(java.lang.Object, float) (SourceFile:1)
09-16 13:39:53.057 14146 14146 I zygote64:   at void android.util.FloatProperty.set(java.lang.Object, java.lang.Float) (FloatProperty.java:41)
09-16 13:39:53.057 14146 14146 I zygote64:   at void com.android.launcher3.util.MultiPropertyFactory.apply(float) (SourceFile:-1)
09-16 13:39:53.057 14146 14146 I zygote64:   at void com.android.launcher3.util.MultiPropertyFactory$MultiProperty.setValue(float) (SourceFile:-1)
09-16 13:39:53.057 14146 14146 I zygote64:   at void com.android.launcher3.util.MultiPropertyFactory$1.setValue(com.android.launcher3.util.MultiPropertyFactory$MultiProperty, float) (SourceFile:2)
09-16 13:39:53.057 14146 14146 I zygote64:   at void com.android.launcher3.util.MultiPropertyFactory$1.setValue(java.lang.Object, float) (SourceFile:1)
09-16 13:39:53.057 14146 14146 I zygote64:   at void android.animation.PropertyValuesHolder$FloatPropertyValuesHolder.setAnimatedValue(java.lang.Object) (PropertyValuesHolder.java:1379)
09-16 13:39:53.057 14146 14146 I zygote64:   at void android.animation.ObjectAnimator.animateValue(float) (ObjectAnimator.java:990)
09-16 13:39:53.057 14146 14146 I zygote64:   at void android.animation.ValueAnimator.setCurrentFraction(float) (ValueAnimator.java:654)
09-16 13:39:53.057 14146 14146 I zygote64:   at void com.android.launcher3.anim.AnimatorPlaybackController$Holder.setProgress(float) (SourceFile:-1)
09-16 13:39:53.057 14146 14146 I zygote64:   at void com.android.launcher3.anim.AnimatorPlaybackController.setPlayFraction(float) (SourceFile:-1)
09-16 13:39:53.057 14146 14146 I zygote64:   at void com.android.launcher3.touch.AbstractStateChangeTouchController.updateProgress(float) (SourceFile:-1)
09-16 13:39:53.057 14146 14146 I zygote64:   at boolean com.android.launcher3.touch.AbstractStateChangeTouchController.onDrag(float) (SourceFile:3)
09-16 13:39:53.057 14146 14146 I zygote64:   at boolean com.android.launcher3.touch.AbstractStateChangeTouchController.onDrag(float, android.view.MotionEvent) (SourceFile:28)
09-16 13:39:53.057 14146 14146 I zygote64:   at boolean com.android.launcher3.touch.SingleAxisSwipeDetector$Listener.onDrag(float, float, android.view.MotionEvent) (SourceFile:2)
09-16 13:39:53.057 14146 14146 I zygote64:   at void com.android.launcher3.touch.SingleAxisSwipeDetector.reportDraggingInternal(android.graphics.PointF, android.view.MotionEvent) (SourceFile:-1)
09-16 13:39:53.057 14146 14146 I zygote64:   at void com.android.launcher3.touch.BaseSwipeDetector.reportDragging(android.view.MotionEvent) (SourceFile:-1)
09-16 13:39:53.057 14146 14146 I zygote64:   at boolean com.android.launcher3.touch.BaseSwipeDetector.onTouchEvent(android.view.MotionEvent) (SourceFile:-1)
09-16 13:39:53.057 14146 14146 I zygote64:   at boolean com.android.launcher3.touch.AbstractStateChangeTouchController.onControllerTouchEvent(android.view.MotionEvent) (SourceFile:-1)
09-16 13:39:53.057 14146 14146 I zygote64:   at boolean com.android.launcher3.touch.AbstractStateChangeTouchController.onControllerInterceptTouchEvent(android.view.MotionEvent) (SourceFile:-1)
09-16 13:39:53.057 14146 14146 I zygote64:   at boolean com.android.launcher3.uioverrides.touchcontrollers.PortraitStatesTouchController.onControllerInterceptTouchEvent(android.view.MotionEvent) (SourceFile:-1)
09-16 13:39:53.057 14146 14146 I zygote64:   at com.android.launcher3.util.TouchController com.android.launcher3.views.BaseDragLayer.findControllerToHandleTouch(android.view.MotionEvent) (SourceFile:-1)
09-16 13:39:53.057 14146 14146 I zygote64:   at boolean com.android.launcher3.views.BaseDragLayer.findActiveController(android.view.MotionEvent) (SourceFile:-1)
09-16 13:39:53.057 14146 14146 I zygote64:   at boolean com.android.launcher3.views.BaseDragLayer.onInterceptTouchEvent(android.view.MotionEvent) (SourceFile:-1)
09-16 13:39:53.057 14146 14146 I zygote64:   at boolean android.view.ViewGroup.dispatchTouchEvent(android.view.MotionEvent) (ViewGroup.java:2511)
09-16 13:39:53.057 14146 14146 I zygote64:   at boolean com.android.launcher3.views.BaseDragLayer.dispatchTouchEvent(android.view.MotionEvent) (SourceFile:-1)
09-16 13:39:53.057 14146 14146 I zygote64:   at boolean com.android.launcher3.dragndrop.DragLayer.dispatchTouchEvent(android.view.MotionEvent) (SourceFile:-1)
09-16 13:39:53.057 14146 14146 I zygote64:   at boolean android.view.ViewGroup.dispatchTransformedTouchEvent(android.view.MotionEvent, boolean, android.view.View, int) (ViewGroup.java:2968)
09-16 13:39:53.057 14146 14146 I zygote64:   at boolean android.view.ViewGroup.dispatchTouchEvent(android.view.MotionEvent) (ViewGroup.java:2657)
09-16 13:39:53.057 14146 14146 I zygote64:   at boolean android.view.ViewGroup.dispatchTransformedTouchEvent(android.view.MotionEvent, boolean, android.view.View, int) (ViewGroup.java:2968)
09-16 13:39:53.057 14146 14146 I zygote64:   at boolean android.view.ViewGroup.dispatchTouchEvent(android.view.MotionEvent) (ViewGroup.java:2657)
09-16 13:39:53.057 14146 14146 I zygote64:   at boolean android.view.ViewGroup.dispatchTransformedTouchEvent(android.view.MotionEvent, boolean, android.view.View, int) (ViewGroup.java:2968)
09-16 13:39:53.057 14146 14146 I zygote64:   at boolean android.view.ViewGroup.dispatchTouchEvent(android.view.MotionEvent) (ViewGroup.java:2657)
09-16 13:39:53.057 14146 14146 I zygote64:   at boolean android.view.ViewGroup.dispatchTransformedTouchEvent(android.view.MotionEvent, boolean, android.view.View, int) (ViewGroup.java:2968)
09-16 13:39:53.057 14146 14146 I zygote64:   at boolean android.view.ViewGroup.dispatchTouchEvent(android.view.MotionEvent) (ViewGroup.java:2657)
09-16 13:39:53.057 14146 14146 I zygote64:   at boolean com.android.internal.policy.DecorView.superDispatchTouchEvent(android.view.MotionEvent) (DecorView.java:844)
09-16 13:39:53.057 14146 14146 I zygote64:   at boolean com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(android.view.MotionEvent) (PhoneWindow.java:1829)
09-16 13:39:53.057 14146 14146 I zygote64:   at boolean android.app.Activity.dispatchTouchEvent(android.view.MotionEvent) (Activity.java:3321)
09-16 13:39:53.057 14146 14146 I zygote64:   at boolean com.android.launcher3.Launcher.dispatchTouchEvent(android.view.MotionEvent) (SourceFile:-1)
09-16 13:39:53.057 14146 14146 I zygote64:   at boolean com.android.internal.policy.DecorView.dispatchTouchEvent(android.view.MotionEvent) (DecorView.java:471)
09-16 13:39:53.057 14146 14146 I zygote64:   at boolean android.view.View.dispatchPointerEvent(android.view.MotionEvent) (View.java:12016)
09-16 13:39:53.057 14146 14146 I zygote64:   at int android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(android.view.ViewRootImpl$QueuedInputEvent) (ViewRootImpl.java:4809)
09-16 13:39:53.057 14146 14146 I zygote64:   at int android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(android.view.ViewRootImpl$QueuedInputEvent) (ViewRootImpl.java:4623)
09-16 13:39:53.057 14146 14146 I zygote64:   at void android.view.ViewRootImpl$InputStage.deliver(android.view.ViewRootImpl$QueuedInputEvent) (ViewRootImpl.java:4161)
09-16 13:39:53.057 14146 14146 I zygote64:   at void android.view.ViewRootImpl$InputStage.onDeliverToNext(android.view.ViewRootImpl$QueuedInputEvent) (ViewRootImpl.java:4214)
09-16 13:39:53.057 14146 14146 I zygote64:   at void android.view.ViewRootImpl$InputStage.forward(android.view.ViewRootImpl$QueuedInputEvent) (ViewRootImpl.java:4180)
09-16 13:39:53.057 14146 14146 I zygote64:   at void android.view.ViewRootImpl$AsyncInputStage.forward(android.view.ViewRootImpl$QueuedInputEvent) (ViewRootImpl.java:4307)
09-16 13:39:53.057 14146 14146 I zygote64:   at void android.view.ViewRootImpl$InputStage.apply(android.view.ViewRootImpl$QueuedInputEvent, int) (ViewRootImpl.java:4188)
09-16 13:39:53.057 14146 14146 I zygote64:   at void android.view.ViewRootImpl$AsyncInputStage.apply(android.view.ViewRootImpl$QueuedInputEvent, int) (ViewRootImpl.java:4364)
09-16 13:39:53.057 14146 14146 I zygote64:   at void android.view.ViewRootImpl$InputStage.deliver(android.view.ViewRootImpl$QueuedInputEvent) (ViewRootImpl.java:4161)
09-16 13:39:53.057 14146 14146 I zygote64:   at void android.view.ViewRootImpl$InputStage.onDeliverToNext(android.view.ViewRootImpl$QueuedInputEvent) (ViewRootImpl.java:4214)
09-16 13:39:53.057 14146 14146 I zygote64:   at void android.view.ViewRootImpl$InputStage.forward(android.view.ViewRootImpl$QueuedInputEvent) (ViewRootImpl.java:4180)
09-16 13:39:53.057 14146 14146 I zygote64:   at void android.view.ViewRootImpl$InputStage.apply(android.view.ViewRootImpl$QueuedInputEvent, int) (ViewRootImpl.java:4188)
09-16 13:39:53.057 14146 14146 I zygote64:   at void android.view.ViewRootImpl$InputStage.deliver(android.view.ViewRootImpl$QueuedInputEvent) (ViewRootImpl.java:4161)
09-16 13:39:53.057 14146 14146 I zygote64:   at void android.view.ViewRootImpl.deliverInputEvent(android.view.ViewRootImpl$QueuedInputEvent) (ViewRootImpl.java:6682)
09-16 13:39:53.057 14146 14146 I zygote64:   at void android.view.ViewRootImpl.doProcessInputEvents() (ViewRootImpl.java:6656)
09-16 13:39:53.057 14146 14146 I zygote64:   at void android.view.ViewRootImpl.enqueueInputEvent(android.view.InputEvent, android.view.InputEventReceiver, int, boolean) (ViewRootImpl.java:6617)
09-16 13:39:53.058 14146 14146 I zygote64:   at void android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(android.view.InputEvent, int) (ViewRootImpl.java:6785)
09-16 13:39:53.058 14146 14146 I zygote64:   at void android.view.InputEventReceiver.dispatchInputEvent(int, android.view.InputEvent, int) (InputEventReceiver.java:187)
09-16 13:39:53.058 14146 14146 I zygote64:   at boolean android.view.InputEventReceiver.nativeConsumeBatchedInputEvents(long, long) (InputEventReceiver.java:-2)
09-16 13:39:53.058 14146 14146 I zygote64:   at boolean android.view.InputEventReceiver.consumeBatchedInputEvents(long) (InputEventReceiver.java:178)
09-16 13:39:53.058 14146 14146 I zygote64:   at void android.view.ViewRootImpl.doConsumeBatchedInput(long) (ViewRootImpl.java:6756)
09-16 13:39:53.058 14146 14146 I zygote64:   at void android.view.ViewRootImpl$ConsumeBatchedInputRunnable.run() (ViewRootImpl.java:6808)
09-16 13:39:53.058 14146 14146 I zygote64:   at void android.view.Choreographer$CallbackRecord.run(long) (Choreographer.java:966)
09-16 13:39:53.058 14146 14146 I zygote64:   at void android.view.Choreographer.doCallbacks(int, long) (Choreographer.java:778)
09-16 13:39:53.058 14146 14146 I zygote64:   at void android.view.Choreographer.doFrame(long, int) (Choreographer.java:707)
09-16 13:39:53.058 14146 14146 I zygote64:   at void android.view.Choreographer$FrameDisplayEventReceiver.run() (Choreographer.java:952)
09-16 13:39:53.058 14146 14146 I zygote64:   at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:790)
09-16 13:39:53.058 14146 14146 I zygote64:   at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:99)
09-16 13:39:53.058 14146 14146 I zygote64:   at void android.os.Looper.loop() (Looper.java:164)
09-16 13:39:53.058 14146 14146 I zygote64:   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6518)
09-16 13:39:53.058 14146 14146 I zygote64:   at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
09-16 13:39:53.058 14146 14146 I zygote64:   at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:438)
09-16 13:39:53.058 14146 14146 I zygote64:   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:807)
09-16 13:39:53.058 14146 14146 I zygote64:
09-16 13:39:53.060 14146 14146 D b/279059025: Notifying 3 listeners for end transition for state: AllApps
09-16 13:39:53.061 14146 14165 D LoaderTask: loadWorkspace: loading default favorites
09-16 13:39:53.062 14146 14165 D LoaderTask: loadWorkspace: Packages with active install sessions: []
09-16 13:39:53.074 14146 14165 I Launcher.IconCache: Database bulk icon loading failed, using fallback bulk icon loading for: ComponentInfo{com.android.settings/com.android.settings.Settings}
09-16 13:39:53.076  1162  3391 W ActivityManager: Unable to start service Intent { act=com.android.launcher3.WINDOW_OVERLAY dat=app://app.lawnchair:10037?v=7&cv=9 pkg=com.google.android.googlequicksearchbox } U=0: not found
MlgmXyysd commented 1 month ago

For users who can't access the settings due to crash, or can't open Lawnchair settings from the app info, launch this activity to turn off the option: app.lawnchair/.ui.preferences.PreferenceActivity

s0m3th1ng-r4nd0m commented 1 month ago

The feature is experimental right now. They forgot to mark it as experimental in beta 3. It will be marked as experimental in future builds.