zaguragit / posidon-launcher

a one-page homescreen with a news feed (discontinued)
GNU General Public License v3.0
288 stars 32 forks source link

Crash when scrolling app menu #42

Open jdfight opened 4 years ago

jdfight commented 4 years ago

In version 1.15, posidon launcher always crashes in the main app menu with this error:

java.lang.RuntimeException: Canvas: trying to draw too large(115605504bytes) bitmap.

Device.api: 29 Device.brand: google Device.model: Pixel XL Version.code: 63 Version.name: 1.15

at: android.graphics.RecordingCanvas.throwIfCannotDraw(RecordingCanvas.java:280) at: android.graphics.BaseRecordingCanvas.drawBitmap(BaseRecordingCanvas.java:88) at: posidon.launcher.tools.MaskedDrawable.draw(MaskedDrawable.kt:30) at: android.graphics.drawable.LayerDrawable.draw(LayerDrawable.java:1018) at: android.widget.ImageView.onDraw(ImageView.java:1434) at: android.view.View.draw(View.java:21436) at: android.view.View.updateDisplayListIfDirty(View.java:20313) at: android.view.View.draw(View.java:21168) at: android.view.ViewGroup.drawChild(ViewGroup.java:4388) at: android.view.ViewGroup.dispatchDraw(ViewGroup.java:4149) at: android.view.View.updateDisplayListIfDirty(View.java:20304) at: android.view.View.draw(View.java:21168) at: android.view.ViewGroup.drawChild(ViewGroup.java:4388) at: android.view.ViewGroup.dispatchDraw(ViewGroup.java:4149) at: android.view.View.updateDisplayListIfDirty(View.java:20304) at: android.view.View.draw(View.java:21168) at: android.view.ViewGroup.drawChild(ViewGroup.java:4388) at: android.view.ViewGroup.dispatchDraw(ViewGroup.java:4149) at: android.widget.AbsListView.dispatchDraw(AbsListView.java:2687) at: android.view.View.draw(View.java:21557) at: android.widget.AbsListView.draw(AbsListView.java:4388) at: android.view.View.updateDisplayListIfDirty(View.java:20313) at: android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4372) at: android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4345) at: android.view.View.updateDisplayListIfDirty(View.java:20273) at: android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4372) at: android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4345) at: android.view.View.updateDisplayListIfDirty(View.java:20273) at: android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4372) at: android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4345) at: android.view.View.updateDisplayListIfDirty(View.java:20273) at: android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4372) at: android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4345) at: android.view.View.updateDisplayListIfDirty(View.java:20273) at: android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4372) at: android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4345) at: android.view.View.updateDisplayListIfDirty(View.java:20273) at: android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4372) at: android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4345) at: android.view.View.updateDisplayListIfDirty(View.java:20273) at: android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4372) at: android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4345) at: android.view.View.updateDisplayListIfDirty(View.java:20273) at: android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4372) at: android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4345) at: android.view.View.updateDisplayListIfDirty(View.java:20273) at: android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:575) at: android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:581) at: android.view.ThreadedRenderer.draw(ThreadedRenderer.java:654) at: android.view.ViewRootImpl.draw(ViewRootImpl.java:3610) at: android.view.ViewRootImpl.performDraw(ViewRootImpl.java:3418) at: android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2755) at: android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1721) at: android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7598) at: android.view.Choreographer$CallbackRecord.run(Choreographer.java:966) at: android.view.Choreographer.doCallbacks(Choreographer.java:790) at: android.view.Choreographer.doFrame(Choreographer.java:725) at: android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:951) at: android.os.Handler.handleCallback(Handler.java:883) at: android.os.Handler.dispatchMessage(Handler.java:100) at: android.os.Looper.loop(Looper.java:214) at: android.app.ActivityThread.main(ActivityThread.java:7356) at: java.lang.reflect.Method.invoke(Native Method) at: com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492) at: com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)

jdfight commented 4 years ago

This crash also occurs on v. 1.16. This did not occur on versions prior to 1.15.