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

Commit 1d73da1c authored by Dheeraj Shetty's avatar Dheeraj Shetty Committed by Brad Ebinger
Browse files

Do not consider service state for video enablement.

Do not check for STATE_IN_SERVICE to report that video feature is
enabled.

Test: Manual VT call
Bug: 62575792
Change-Id: I6a8efddcf211f73c5bf3a60982626f27430d774f
parent 474e64b2
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -3315,8 +3315,7 @@ public abstract class Phone extends Handler implements PhoneInternalInterface {
     */
    public boolean isVideoEnabled() {
        Phone imsPhone = mImsPhone;
        if ((imsPhone != null)
                && (imsPhone.getServiceState().getState() == ServiceState.STATE_IN_SERVICE)) {
        if (imsPhone != null) {
            return imsPhone.isVideoEnabled();
        }
        return false;