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

Commit 30a49d06 authored by Shareef Ali's avatar Shareef Ali
Browse files

SamsungQualcommRIL: fix power on and off state

 remove obsolete code

Change-Id: Ib7b288e50e603ff91ac715113db9dc1769a3a09f
parent 7cd11710
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -231,7 +231,7 @@ public class SamsungQualcommRIL extends RIL implements CommandsInterface {
    @Override
    protected RadioState getRadioStateFromInt(int stateInt) {
        if(!oldRilState)
            super.getRadioStateFromInt(stateInt);
             return super.getRadioStateFromInt(stateInt);
        RadioState state;

        /* RIL_RadioState ril.h */
@@ -288,10 +288,7 @@ public class SamsungQualcommRIL extends RIL implements CommandsInterface {
                ret = responseInts(p);
                setRadioPower(false, null);
                setPreferredNetworkType(mPreferredNetworkType, null);
                int cdmaSubscription = Settings.Global.getInt(mContext.getContentResolver(), Settings.Global.CDMA_SUBSCRIPTION_MODE, -1);
                if(cdmaSubscription != -1) {
                setCdmaSubscriptionSource(mCdmaSubscription, null);
                }
                if(mRilVersion >= 8)
                    setCellInfoListRate(Integer.MAX_VALUE, null);
                notifyRegistrantsRilConnectionChanged(((int[])ret)[0]);