Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7f7f25f9 authored by Sailesh Nepal's avatar Sailesh Nepal Committed by android-build-merger
Browse files

Set camera to null when disabling IMS video transmission

am: d40e05b9

Change-Id: I083c9e03f38eacd2cb4eff67b07b302e67196add
parents 8b80f2b6 d40e05b9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -183,6 +183,8 @@ public class ImsVideoTech implements VideoTech {
  public void stopTransmission() {
    LogUtil.enterBlock("ImsVideoTech.stopTransmission");

    setCamera(null);

    int unpausedVideoState = getUnpausedVideoState(call.getDetails().getVideoState());
    call.getVideoCall()
        .sendSessionModifyRequest(