element-hq / element-hq/element-android

Disatance sensor are still occupied in specific cases.

Open
#8,209 0 comments 0 reactions 0 assignees View on GitHub
A-Call O-Uncommon S-Minor T-Defect
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

### Steps to reproduce

1. Make a voice call;
2. Make the call UI displayed on the screen;
3. Immediately switch to other apps;
4. Block the distance sensor.

### Outcome

#### What did you expect?
When I hold a call and switch to another app, don't turn off the screen because I accidentally touch the disatance sensor. Unless I return to the call UI.

#### What happened instead?
After switching to other apps, the screen is turned off after touching the distance sensor.

**If you click the arrow in the upper left corner of the call UI, or press the back key, go back to the timeline, and then switch to other apps, this problem will not occur.**

### Your phone model

HMD TA-1054; Mi 9T

### Operating system version

Android 8.1; MIUI 12.5 by xiaomi.eu (based on Android 11)

### Application version and app store

Element 1.5.26 (Google Play)

### Homeserver

Synapse 1.78.0

### Will you send logs?

No

### Are you willing to provide a PR?

No

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.