My wallpaper app keeps crashing when I try to change the wallpaper. On a different user it seems to work, here is the log. Thanks for helping ! (:
type: crash
osVersion: google/lynx/lynx:16/BP2A.250805.005/2025102801:user/release-keys
flags: dev options enabled
package: com.android.wallpaper:36, targetSdk 30
process: com.android.wallpaper
processUptime: 2267 + 287 ms
android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.PICK typ=image/* xflg=0x4 }
at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2442)
at android.app.Instrumentation.execStartActivity(Instrumentation.java:2011)
at android.app.Activity.startActivityForResult(Activity.java:6043)
at androidx.activity.ComponentActivity.startActivityForResult(ComponentActivity.kt:675)
at androidx.core.app.ActivityCompat.startActivityForResult(ActivityCompat.java:243)
at androidx.activity.ComponentActivity$activityResultRegistry$1.onLaunch(ComponentActivity.kt:223)
at androidx.activity.result.ActivityResultRegistry$register$2.launch(ActivityResultRegistry.kt:130)
at androidx.fragment.app.Fragment$10.launch(Fragment.java:3579)
at androidx.activity.result.ActivityResultLauncher.launch(ActivityResultLauncher.kt:37)
at com.android.wallpaper.picker.category.ui.view.MyPhotosStarterImpl.showCustomPhotoPicker(MyPhotosStarterImpl.kt:92)
at com.android.wallpaper.picker.category.ui.view.MyPhotosStarterImpl.requestCustomPhotoPicker(MyPhotosStarterImpl.kt:65)
at com.android.wallpaper.picker.category.ui.view.CategoriesFragment.onCreateView$lambda$4(CategoriesFragment.kt:155)
at com.android.wallpaper.picker.category.ui.view.CategoriesFragment.$r8$lambda$dqA-N3PIkmNTSJns-mSaUymMGRc(Unknown Source:0)
at com.android.wallpaper.picker.category.ui.view.CategoriesFragment$$ExternalSyntheticLambda3.invoke(D8$$SyntheticClass:0)
at com.android.wallpaper.picker.category.ui.binder.CategoriesBinder$bind$1$1$4$1.emit(CategoriesBinder.kt:91)
at com.android.wallpaper.picker.category.ui.binder.CategoriesBinder$bind$1$1$4$1.emit(CategoriesBinder.kt:82)
at kotlinx.coroutines.flow.SharedFlowImpl.collect$suspendImpl(SharedFlow.kt:397)
at kotlinx.coroutines.flow.SharedFlowImpl$collect$1.invokeSuspend(Unknown Source:14)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.EventLoop.processUnconfinedEvent(EventLoop.common.kt:65)
at kotlinx.coroutines.internal.DispatchedContinuationKt.resumeCancellableWith(DispatchedContinuation.kt:383)
at kotlinx.coroutines.intrinsics.CancellableKt.startCoroutineCancellable(Cancellable.kt:26)
at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:358)
at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:134)
at kotlinx.coroutines.BuildersKtBuilders_commonKt.launch(Builders.common.kt:52)
at kotlinx.coroutines.BuildersKt.launch(Unknown Source:1)
at kotlinx.coroutines.BuildersKtBuilders_commonKt.launch$default(Builders.common.kt:43)
at kotlinx.coroutines.BuildersKt.launch$default(Unknown Source:1)
at com.android.wallpaper.picker.category.ui.viewmodel.CategoriesViewModel.navigateToPhotosPicker(CategoriesViewModel.kt:142)
at com.android.wallpaper.picker.category.ui.viewmodel.CategoriesViewModel.access$navigateToPhotosPicker(CategoriesViewModel.kt:54)
at com.android.wallpaper.picker.category.ui.viewmodel.CategoriesViewModel$myPhotosSectionViewModel$2$1.invoke(CategoriesViewModel.kt:346)
at com.android.wallpaper.picker.category.ui.viewmodel.CategoriesViewModel$myPhotosSectionViewModel$2$1.invoke(CategoriesViewModel.kt:338)
at com.android.wallpaper.picker.category.ui.view.viewholder.TileViewHolder$bind$2.onClick(TileViewHolder.kt:114)
at android.view.View.performClick(View.java:8083)
at android.view.View.performClickInternal(View.java:8060)
at android.view.View.-$$Nest$mperformClickInternal(Unknown Source:0)
at android.view.View$PerformClick.run(View.java:31549)
at android.os.Handler.handleCallback(Handler.java:995)
at android.os.Handler.dispatchMessage(Handler.java:103)
at android.os.Looper.loopOnce(Looper.java:248)
at android.os.Looper.loop(Looper.java:338)
at android.app.ActivityThread.main(ActivityThread.java:9111)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:593)
at com.android.internal.os.ExecInit.main(ExecInit.java:50)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:371)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@45824b, Dispatchers.Main.immediate]