element-hq / riot-android

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

Calls do not return android sound channel back #1710

Open asmfreak opened 7 years ago

asmfreak commented 7 years ago

This bug is polluting all my devices. Say before call I was listening to music. When I change volume while playing music, the volume changer has a little note icon like the one in the middle: It corresponds to "multimedia" channel. When a call goes through the music will stop. During the call the volume chager has another icon. It's like an old phone. and it changes volume ony during this call. Normally, when a call ends music will start again and so is the volume changer, but it isn't the case with riot.im. The sound goes back to normal if riot.im app is killed from task manager. Also, if I use a bluetooth headset, it doesn't work either. The app uses phone's speakers an mic. I have android 5.0 on my phone and 5.1.1 on tablet. May be related to #1709 and #1699.

ylecollen commented 7 years ago

@ASMfreaK could you test the latest develop version ? i improved the calls management

asmfreak commented 7 years ago

@ylecollen I sure can. Which branch should I use? Latest master?

asmfreak commented 7 years ago

I tried building latest master. Both debug and release fail with:

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':vector:processAppfdroidDebugGoogleServices'.
> File google-services.json is missing. The Google Services Plugin cannot function without it. 
   Searched Location: 
  /home/user/projects/riot-android/vector/src/appfdroid/debug/google-services.json
  /home/user/projects/riot-android/vector/src/debug/appfdroid/google-services.json
  /home/user/projects/riot-android/vector/src/appfdroid/google-services.json
  /home/user/projects/riot-android/vector/src/debug/google-services.json
  /home/user/projects/riot-android/vector/google-services.json
asmfreak commented 7 years ago

This problem persists in last Play Market release (0.7.03). Also sometimes in event of two consecutive missed calls the gui for answering a call wont pop up.

ylecollen commented 7 years ago

it is fixed on develop version. @ASMfreaK COuld you test the build versions on https://matrix.org/jenkins/job/VectorAndroidDevelop/ ?