android / android/car-samples

Unavailable, for your safety. This activity is not available while driving.

Open
#6 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
464
Forks
191
PR merge metrics
No merged PRs in 30d

Description

I just create sample project for android automotive OS in which i just display "Hello World" text, but the issue is when i install my apk on emulator (Polestar 2) and increase the speed (from 0 to 3, 4 any number) it shows me this text, **"Unavailable, for your safety. This activity is not available while driving."** I also create config.xml file in which i make my activity white listed also add meta-data tag in manifest but still got this message. Below is my config.xml and manifest.

```


mypackage/mypackage.myapplication.TestActivity

```

--Manifest

```
















```
I also tried your sample application, but the behaviour is same.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the behavior in the Polestar 2 Android Automotive emulator while changing the simulated speed. Inspect the supplied config.xml allowlist and AndroidManifest.xml metadata, then compare the result with the repository's sample application; done means identifying the configuration or platform cause and documenting a verified resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.