App crashes after picking an icon in icon picker mode
Reproduction Steps
Edit icon in your launcher
Choose option to pick icons from the app
Tap any icon
Expected behavior
Launcher receives picked icon.
Logcat
java.lang.IllegalStateException:
at android.graphics.Bitmap.checkRecycled (Bitmap.java:394)
at android.graphics.Bitmap.writeToParcel (Bitmap.java:1599)
at android.os.Parcel.writeParcelable (Parcel.java:1496)
at android.os.Parcel.writeValue (Parcel.java:1402)
at android.os.Parcel.writeArrayMapInternal (Parcel.java:724)
at android.os.BaseBundle.writeToParcelInner (BaseBundle.java:1423)
at android.os.Bundle.writeToParcel (Bundle.java:1157)
at android.os.Parcel.writeBundle (Parcel.java:764)
at android.content.Intent.writeToParcel (Intent.java:8697)
at android.app.ActivityManagerProxy.finishActivity (ActivityManagerNative.java:3481)
at android.app.Activity.finish (Activity.java:5384)
at android.app.Activity.finish (Activity.java:5402)
at jahirfiquitiva.libs.blueprint.ui.fragments.IconsFragment$pickIcon$1.invoke (Unknown Source)
at jahirfiquitiva.libs.blueprint.ui.fragments.IconsFragment$pickIcon$1.invoke (Unknown Source)
at jahirfiquitiva.libs.kext.extensions.FragmentKt.activity (Unknown Source)
at jahirfiquitiva.libs.kext.extensions.FragmentKt.activity$default (Unknown Source)
at jahirfiquitiva.libs.blueprint.ui.fragments.IconsFragment.pickIcon (Unknown Source)
at jahirfiquitiva.libs.blueprint.ui.fragments.IconsFragment.onItemClicked (Unknown Source)
at jahirfiquitiva.libs.blueprint.ui.fragments.IconsFragment$adapter$2$2.invoke (Unknown Source)
at jahirfiquitiva.libs.blueprint.ui.fragments.IconsFragment$adapter$2$2.invoke (Unknown Source)
at jahirfiquitiva.libs.blueprint.ui.adapters.viewholders.IconViewHolder$bind$$inlined$with$lambda$2.onClick (Unknown Source)
at android.view.View.performClick (View.java:5647)
at android.view.View$PerformClick.run (View.java:22465)
at android.os.Handler.handleCallback (Handler.java:754)
at android.os.Handler.dispatchMessage (Handler.java:95)
at android.os.Looper.loop (Looper.java:163)
at android.app.ActivityThread.main (ActivityThread.java:6396)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:904)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:794)
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.
Device/App info:
1.1.8
4.4, 5.1, 7.0, 7.1, 8.0, 8.1
Various
HM 2LTE-IN, Redmi Note 4, Galaxy S9+, Redmi 5 Plus, PH-1, OnePlus5, Moto G, Galaxy J1
Describe the bug
App crashes after picking an icon in icon picker mode
Reproduction Steps
Expected behavior
Launcher receives picked icon.
Logcat