question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Android 12 brings back High Accuracy mode notification lingers issue

See original GitHub issue

Home Assistant Android version: 2021.10.0-full

Android version: 12

Phone model: Pixel 5

Home Assistant version: core-2021.9.7

Last working Home Assistant release (if known):

Description of problem: After upgrading to Android 12 the symptoms of issue #1509 have returned.

Traceback (if applicable, to get the logs you may refer to: https://companion.home-assistant.io/docs/troubleshooting/faqs/#android-crash-logs):


Screenshot of problem:

Additional information: I didn’t change any other settings in the app or Home Assistant itself - just upgraded to Android 12 yesterday. I use BT devices to trigger High Accuracy mode and the notification will remain after the first connection and then go away after the second. This pattern has been consistently repeatable so far but only 24+ hours since I upgraded.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:27 (15 by maintainers)

github_iconTop GitHub Comments

2reactions
dshokouhicommented, Oct 22, 2021

@crowedavid it sounds like you can very easily reproduce it. Can you try this debug APK to see if its still reproducible? https://github.com/home-assistant/android/actions/runs/1366300760 it will install side by side the production version of the app and you can remove once done.

I know google made some changes regarding the behavior of foreground services (the notification) and reading connected bluetooth devices so I wonder if there is a bug in Android 12 about this. Both of the changes I mention should only impact apps once they target android 12, and the current app version you have installed targets android 11. The debug APK up above has the changes that @chriss158 is referring to and once you turn on location tracking it should prompt you to grant the new permission for nearby devices.

1reaction
chriss158commented, Nov 10, 2021

Weird. Since this commit i have no problems at all. Just to make sure: The app is allowed to run in background? maybe for more you need to open a new issue with new logs. Then i will have a closer look at this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

High Accuracy mode notification lingers · Issue #1509 - GitHub
So this setting means that any time another sensor on the device has an update the app will make a new location request...
Read more >
"command_high_accuracy_mode" notification not working ...
I have automations set up that enable High Accuracy Mode on my phone when I leave the Home zone, and disable it when...
Read more >
Behavior changes: Apps targeting Android 12
Android 12 changes the appearance and behavior of fully custom notifications. Previously, custom notifications were able to use the entire notification area and ......
Read more >
Google Pixel Android 12 bugs, problems, & issues tracker ...
IST 06:42 PM: Google Pixel issue where affected Android 12 users can't dismiss missed call notifications gets addressed and a fix is set...
Read more >
Android Enterprise policies - Samsung Knox Documentation
To reset the device, select the Factory reset + Initialized SD card option. Fully Managed — Android 1 and higher. Notifications when an...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found