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

Commit ffd7f93e authored by Hall Liu's avatar Hall Liu
Browse files

Have isRinging return true when simulated ringing

UI components watch for the return value of isRinging in order to figure
out whether to silence a call on vol-down, so make isRinging return true
when simulated-ringing so that button still works.

Bug: 150320750
Test: atest BackgroundCallAudioTest
Test: manual
Change-Id: I300a789d674e4aa777ac2031f4f7286b4d595614
Merged-In: I300a789d674e4aa777ac2031f4f7286b4d595614
parent 8d58b990
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -855,7 +855,7 @@ public class TelecomServiceImpl {
                    // current state as tracked by PhoneStateBroadcaster, any failure to properly
                    // track the current call state there could result in the wrong ringing state
                    // being reported by this API.
                    return mCallsManager.hasRingingCall();
                    return mCallsManager.hasRingingOrSimulatedRingingCall();
                }
            } finally {
                Log.endSession();