Trail-Sense icon indicating copy to clipboard operation
Trail-Sense copied to clipboard

NavigationUtils.pendingIntent crash

Open kylecorry31 opened this issue 2 years ago • 0 comments

Reported in Google Play by 1 user. This may be because it is loading the navgraph on the main thread.

at android.content.res.AssetManager.nativeApplyStyle (Native method) at android.content.res.AssetManager.applyStyle (AssetManager.java:1205) at android.content.res.ResourcesImpl$ThemeImpl.obtainStyledAttributes (ResourcesImpl.java:1520) at android.content.res.Resources$Theme.obtainStyledAttributes (Resources.java:1767) at android.content.Context.obtainStyledAttributes (Context.java:905) at androidx.navigation.NavInflater.inflateAction (NavInflater.java:300) at androidx.navigation.NavInflater.inflate (NavInflater.java:300) at androidx.navigation.NavInflater.inflate (NavInflater.java:606) at androidx.navigation.NavInflater.inflate (NavInflater.java:1) at androidx.navigation.NavDeepLinkBuilder.setGraph (NavDeepLinkBuilder.java:27) at com.kylecorry.trail_sense.shared.NavigationUtils.pendingIntent (NavigationUtils.java:27) at com.kylecorry.trail_sense.shared.NavigationUtils.pendingIntent$default (NavigationUtils.java:27) at com.kylecorry.trail_sense.tools.pedometer.infrastructure.StepCounterService.getNotification (StepCounterService.java:55) at com.kylecorry.trail_sense.tools.pedometer.infrastructure.StepCounterService.onPedometer (StepCounterService.java:103) at com.kylecorry.trail_sense.tools.pedometer.infrastructure.StepCounterService.access$onPedometer (StepCounterService.java:103) at com.kylecorry.trail_sense.tools.pedometer.infrastructure.StepCounterService$onStartCommand$1.invoke (StepCounterService.java:5) at com.kylecorry.trail_sense.tools.pedometer.infrastructure.StepCounterService$onStartCommand$1.invoke (StepCounterService.java:5)

kylecorry31 avatar Sep 25 '23 19:09 kylecorry31