android / android/wear-os-samples

Freezes when opened from recent apps

Open
#1,209 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
1.4k
Forks
639
Avg merge
2d 12h
Merged PRs (30d)
2

Description

Hello, I’m experiencing an issue with the Compose-Starter Wear OS app where it freezes when I try to re-open it from the recent apps list after the device has been idle and the screen has turned off. Here’s the sequence of events that leads to the freeze:

1. My Wear OS device goes to sleep after about 15 seconds of inactivity. (when app closed manually everything works fine)
2. If I wait around 2 minutes and 30 seconds, then attempt to re-open the app from the recent apps menu, the app appears frozen.
3. No interactions are possible within the app during this freeze.

Oddly enough, if I leave the app in this frozen state and the device goes to sleep again after the usual 15-second timeout, logs appear and the frozen state seems to be gone.

I'm experiencing it with other apps (including my own app) too, maybe a Wear OS Bug? Just wanted to check if anyone knows what's the problem.

Contributor guide

Open the contributing guide

Research direction

Start with the Compose-Starter Wear OS app entry point and reproduce the reported sequence: let the device sleep, wait about 2 minutes and 30 seconds, then reopen the app from recent apps. Inspect the logs that appear after the next sleep cycle; done would mean identifying whether the sample can reproduce and resolve the freeze, or documenting that it is a broader Wear OS issue.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.