Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
Needs more info comment that > 10 days [ID: 963198]
Comment such as: SPAM, non-actionable [ID: 963127]
Resolved actionable follow-up comments [ID: 963027]
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
What steps will reproduce the problem?
We found if there is bad network when using Google Navigation SDK to simulating navigation, it is lag and raise crash.
Crash stack: --------- beginning of crash 11-05 10:36:33.192 E/AndroidRuntime(13269): FATAL EXCEPTION: main 11-05 10:36:33.192 E/AndroidRuntime(13269): Process: com.xxx.xxx, PID: 13269 11-05 10:36:33.192 E/AndroidRuntime(13269): java.lang.UnsupportedOperationException: Empty collection can't be reduced. 11-05 10:36:33.192 E/AndroidRuntime(13269): at com.xxx.xxx.xxx.gui.ude.googleNav.GoogleMapNavViewModel$init$1$4.onLocationChanged(GoogleMapNavViewModel.kt:1509) 11-05 10:36:33.192 E/AndroidRuntime(13269): at com.google.android.libraries.navigation.internal.we.fq.a(PG:5) 11-05 10:36:33.192 E/AndroidRuntime(13269): at com.google.android.libraries.navigation.internal.ux.e.a(PG:14) 11-05 10:36:33.192 E/AndroidRuntime(13269): at com.google.android.libraries.navigation.internal.iq.k.b(PG:3) 11-05 10:36:33.192 E/AndroidRuntime(13269): at com.google.android.libraries.navigation.internal.iq.i.h(PG:1) 11-05 10:36:33.192 E/AndroidRuntime(13269): at com.google.android.libraries.navigation.internal.iq.n.run(PG:1) 11-05 10:36:33.192 E/AndroidRuntime(13269): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:463) 11-05 10:36:33.192 E/AndroidRuntime(13269): at com.google.android.libraries.navigation.internal.in.a$a.run(PG:3) 11-05 10:36:33.192 E/AndroidRuntime(13269): at android.os.Handler.handleCallback(Handler.java:942) 11-05 10:36:33.192 E/AndroidRuntime(13269): at android.os.Handler.dispatchMessage(Handler.java:99) 11-05 10:36:33.192 E/AndroidRuntime(13269): at android.os.Looper.loopOnce(Looper.java:226) 11-05 10:36:33.192 E/AndroidRuntime(13269): at android.os.Looper.loop(Looper.java:313) 11-05 10:36:33.192 E/AndroidRuntime(13269): at android.app.ActivityThread.main(ActivityThread.java:8810) 11-05 10:36:33.192 E/AndroidRuntime(13269): at java.lang.reflect.Method.invoke(Native Method) 11-05 10:36:33.192 E/AndroidRuntime(13269): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604) 11-05 10:36:33.192 E/AndroidRuntime(13269): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)
Also add the following details: