Bug P2
Status Update
Comments
ra...@googlemail.com <ra...@googlemail.com> #2
Hi samsadch,
In the AndroidX PDF library, the search view is animated using the
Without this, the callback might be consumed at an upper level, preventing it from being received by the PdfViewerFragment's container.
Description
Devices/Android versions reproduced on: Automotive 1024p landscape emulator
Android Auto version reproduced on: 1.4.0 & 1.7.0-beta02
We are experiencing issues with navigation on Automotive (All of this works fine on Android Auto)
When we start navigation on Automotive, most of the times, the navigation appears to stop after a few seconds.
I believe I have narrowed it down to carContext.getCarService(NavigationManager::class.java) updateTrip function.
When we try to call updateTrip here we get an exception: Not running on main thread when it is required to. If I catch this exception then the navigation continues, but naturally we dont get updates to a cluster display for route navigation then.
If I then force this to be executed on the main thread, as the exception says is required, onStopNavigation from NavigationManagerCallback is triggered and we naturally stop the navigation, as is required to do so.
My question is then, should updateTrip from carContext.getCarService(NavigationManager::class.java) just never be executed if it is Automotive? Or is this a bug?
Again our implementation works fine on Android Auto.
Best regards
Michael