如何防止在 Android Auto 处于活动状态时在 phone 上显示信息?

How to prevent displaying information on phone while Android Auto is active?

Google Play Store team 在审核 Android Auto 应用程序时进行了一项测试,该测试禁止应用程序在 phone 上显示视觉信息,而该应用程序在 Android Auto 上处于活动状态].

通过此测试的最佳方法是什么?我可以只覆盖一个黑色屏幕,上面有一个 TextView 说 "Android Auto Mode is ON" 吗?

这个不用写额外的overlay,由Android Auto帮你处理。这将在 运行 连接到车辆主机时自动应用。

这里是关于 Testing apps for Android Auto 的 link 文档以获取更多信息(以防万一)。当我使用一个简单的示例应用程序连接到 DHU 时,这是从移动设备上看到的内容的屏幕截图。

将您的应用程序提交到 Beta 或 Alpha 渠道也会启动审核。如果有任何需要更正或更新的内容,您将收到一封电子邮件,其中包含有关您需要采取哪些措施的更多信息。