BelledonneCommunications / linphone-android

Linphone.org mirror for linphone-android (https://gitlab.linphone.org/BC/public/linphone-android)
https://linphone.org
GNU General Public License v3.0
1.11k stars 679 forks source link

Do't get the window for attending the call #1967

Closed asder78 closed 1 month ago

asder78 commented 1 year ago

Hi, my name is Alfredo, spanish developer...

I think i've found a bug in Linphone 5.0.14 (SDK 5.2.77) for Android 13

Environment:

Steps to reproduce the bug: 1.- When i make my first call to tha APP everything is Ok, y get a window letting me attend or reject the call; the phone is also ringing; i can attend the call and everything goes OK (image001.jpg) 2.- After attending and hanging up the call, i close the APP, pushinf the "recent task" button in the phone (the square one of the navigation buttons) and swipping up the APP (image002.jpg) 3.- If i make a new call to the APP the phone rings but i don't get any window letting me attend the call (image003.jpg) 4.- If i open the APP then i can attend the call (image004.jpg)

The expected behaviour would be to get always the "attend or reject" window

SDK logs

https://www.linphone.org:444//tmp/64d4bbb82aec3_c211e88460747c67faee.gz

Adb logcat logs

Not applicable

  1. Screenshots (optionnal)

image001 image002 image003 image004

  1. Additional context (optionnal)

Regards

asder78 commented 1 year ago

Seems to be related with activating "Autostart" in "App info" windows

Viish commented 1 year ago

Hi,

Seems to be related with activating "Autostart" in "App info" windows

I don't know about that Android setting. Can you screen the whole page please?

asder78 commented 1 year ago

It's in SETTINGS --> APPS/PERMISSIONS/BACKGROUND AUTOSTART

image006

Viish commented 1 year ago

Thanks. And the issue appears when that settings is turned on or turned off?

asder78 commented 1 year ago

Thanks. And the issue appears when that settings is turned on or turned off?

It appears when it's turned on

asder78 commented 9 months ago

Any news regarding this issue?

Thanks in advance

Viish commented 9 months ago

Hi @asder78,

Sorry I forgot to update you.

I can't reproduce it on my wife's smartphone (the only Xiaomi I have at hand), but it's not the same version as MIUI as yours because I don't find the same menus you screenshoot (it's 14.0.3).

Also I tested using the latest version on the PlayStore (5.1.4) and not the 5.0.14.

I also found under "Apps -> Linphone -> Other permissions" a toggle named "Show pop-up window during background browsing" that was disabled but it worked nonetheless.

I hope either updating your device or Linphone version will solve your issue.

Cheers,

Viish commented 8 months ago

Hi @asder78,

Does the issue still happens with 5.2.0 release (currently being published on Play Store, in the meantime you can use our APK here)?

Thanks in advance.