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

Commit b8a64f66 authored by Pawit Pornkitprasan's avatar Pawit Pornkitprasan
Browse files

GsmSS: Use data tech in isConcurrentVoiceAndDataAllowed

Voice technology is not properly supported in older RILs

When using RIL blobs, the value would be set to UNKNOWN,
resulting in data being disconnecting during call despite
being on 3G.

When using source-built RIL, the value would be set to
UMTS regardless of 2G/3G status. (At least from reading
the source.)

Change-Id: I12738abc1736165e92aa7f4530ca043cc1acc44d
parent 553635e8
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1403,7 +1403,7 @@ final class GsmServiceStateTracker extends ServiceStateTracker {
     */
     */
    @Override
    @Override
    public boolean isConcurrentVoiceAndDataAllowed() {
    public boolean isConcurrentVoiceAndDataAllowed() {
        return (mSS.getRilVoiceRadioTechnology() >= ServiceState.RIL_RADIO_TECHNOLOGY_UMTS);
        return (mSS.getRilDataRadioTechnology() >= ServiceState.RIL_RADIO_TECHNOLOGY_UMTS);
    }
    }


    /**
    /**