element-hq / riot-android

A glossy Matrix collaboration client for Android
Apache License 2.0
1.4k stars 394 forks source link

Screen remains locked on incoming Riot phone call #2799

Open bennypr0fane opened 5 years ago

bennypr0fane commented 5 years ago

On Sony Xperia X (F5121), an incoming voice call rings, but fails to unlock the screen. Same on Jolla phone and Samsung Galaxy J6(2016). This also applies to video calls.

ghost commented 5 years ago

Same for Samsung Galaxy S III. Also for Nexus 5X I think (but here not 100% sure as it was a while ago when I used it.)

szimszon commented 5 years ago

Same here with LinageOS (Android 9) and also with Samsung Galaxy A3 2017 stock android 8... very irritating... It means for me. I had to type the password first to unlock the phone screen then I can try to pick up the phone until the caller do not give up...

BloodyIron commented 4 years ago

When a call comes in to my android phone (7.0.1) I have to unlock my phone to accept the call (riot) and this really should match the experience of a real call, where I can just pick up.

Can we get this moved to P1?

murat-aksoy commented 4 years ago

Hi, is there any progress on this issue?

edroot commented 4 years ago

How to implement it?

immanuelfodor commented 3 years ago

This issue has the solution: https://github.com/vector-im/riot-android/issues/3491#issuecomment-687703149

BloodyIron commented 3 years ago

An application forcefully unlocking a device because it receives a phone call is a security threat. That is, if I'm reading that correctly.

immanuelfodor commented 3 years ago

What I would like to see is displaying the call over the lock screen with the display on. When the call ends, the lockscreen is displayed as it should.

BloodyIron commented 3 years ago

I would actually say once the call is picked up elsewhere it should go back to lock screen and put the device in sleep at the timeout the device has set. Not when the call ends, as some calls can go for hours. Right now, whenever I receive a call my devices never shut their screens down until I go to each device (android) manually and tell them to turn their screens off.

bennypr0fane commented 3 years ago

An application forcefully unlocking a device because it receives a phone call is a security threat. That is, if I'm reading that correctly.

If that's the case, then how do other apps like Whatsapp, Signal, Skype do it? How about the phone app?

bennypr0fane commented 3 years ago

Also, how is Element handling it? Is the issue fixed there?