If your goal is to publish the app on the Google Play Store, you'll need to remove the main activity from your Android Automotive OS version of the app (or, at the very least, remove its launcher intent filter). Activities are only permitted for use in Android Automotive OS media apps for sign-in and settings flows, and any activities used for those purposes must not be usable while driving if you include them.