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)
View issue level access limits(Press Alt + Right arrow for more information)
Attachment actions
Unintended behavior
View staffing
Description
Library version used: 1.7.0-rc01 Devices/Android versions reproduced on: Any standard AAOS emulator without Google Automotive Services Sample app used:https://github.com/android/car-samples (Navigation)
Android Auto version reproduced on: N/A
Considering that the AOSP Template Host has been unbundled (https://source.android.com/docs/automotive/hmi/aosp_host ), the current implementation of ErrorMessageView (https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:car/app/app-automotive/src/main/java/androidx/car/app/activity/ui/ErrorMessageView.java ), which is tightly coupled with the GAS ecosystem, makes the user experience inconsistent across AOSP environments.
Play Store's package name
Specific redirect to the Play Store
Google's Template Host
Running the Navigation sample app fromhttps://github.com/android/car-samples will produce an inconsistent behavior comparing an Android Automotive Open Source ecosystem and GAS.
On an Android Automotive Open Source ecosystem, disabling the AOSP Template Host, we will get the following error message.
See image attached - AOSP_PLEASE_CONTACT_CAR_SERVICES.png
String from:https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:car/app/app-automotive/src/main/res/values/strings.xml;l=43
On a GAS environment, without the Play Store, the user is prompted to check for updates.
See image attached - GAS_CHECK_FOR_UPDATESA.png
Attempting to "Check for updates" will result in a crash because the Play Store is not installed on the system.
This raises a few concerns:
Is there a specific reason why this functionality is part of the Android for Cars library rather than the AOSP Template Host? This creates a hard dependency on the Play Store.
If there is a specific reason this must be handled on the library side, the market intents and the acquisition of the Host's package name should be standardized to better support AOSP use cases.
Are there any plans to remove this hard dependency and allow the Host to control the redirect? This seems to have been a concern, at least partially, since version 1.3.0.
Comment from:https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:car/app/app-automotive/src/main/java/androidx/car/app/activity/ui/ErrorMessageView.java;l=62