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

Commit d223132d authored by Pankaj Kanwar's avatar Pankaj Kanwar Committed by android-build-merger
Browse files

Merge "Create Public API which exposes if the device is in a state where...

Merge "Create Public API which exposes if the device is in a state where simultaneous voice and data are possible."
am: 601e3e6f

Change-Id: I169fecacb4d4182b40511e1f63d7502af11f3e33
parents 867573a1 601e3e6f
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -1821,6 +1821,15 @@ public abstract class Phone extends Handler implements PhoneInternalInterface {
        }
    }

    /**
     * @return true, if the device is in a state where both voice and data
     * are supported simultaneously. This can change based on location or network condition.
     */
    public boolean isConcurrentVoiceAndDataAllowed() {
        ServiceStateTracker sst = getServiceStateTracker();
        return sst == null ? false : sst.isConcurrentVoiceAndDataAllowed();
    }

    /**
     *  Requests to set the CDMA roaming preference
     * @param cdmaRoamingType one of  CDMA_RM_*