Bug P2
Status Update
Comments
em...@gmail.com <em...@gmail.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
Description: According to the documentation for the
invalidate()
method, UI throttling is expected in driving mode, which makes sense. However, I am encountering a consistent 10-second delay between calls toinvalidate()
and the subsequent response inonGetTemplate()
, even when the car is parked. This issue has been reproducible across multiple apps on the Google Play Store, both on a physical Polestar 2 vehicle and in emulator environments.In addition, the transition from
setLoading(true)
tosetLoading(false)
—intended to display loaded data—is also being throttled, which impacts the UI’s responsiveness and makes the app appear sluggish.Steps to Reproduce:
onGetTemplate()
is called withsetLoading(true)
to show a loading template when a new template is displayed.invalidate()
once the data is ready.onGetTemplate()
is called again, updating the template by settingsetLoading(false)
and filling it with the loaded information.Expected Behavior:
invalidate()
andonGetTemplate()
.setLoading(true)
tosetLoading(false)
should occur smoothly, with no unnecessary delays.Actual Behavior:
invalidate()
andonGetTemplate()
, contrary to documented behavior.setLoading(true)
tosetLoading(false)
is also throttled, further delaying the UI response and affecting app usability.Environment:
This persistent throttling in parked mode severely affects user experience, rendering the apps nearly unusable. Resolution of this issue would significantly improve the platform’s usability across Android Automotive apps. Thank you for your attention to this matter.
Thank you for your help.