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

Commit 69292881 authored by codeworkx's avatar codeworkx
Browse files

fix build: add missing instance variable mRilVer

Fixes commit 4b785569

Change-Id: Id239285aff6997eaa42521b695b6812029f580c1
parent 4b785569
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -232,6 +232,9 @@ public class RIL extends BaseCommands implements CommandsInterface {
    // WAKE_LOCK_TIMEOUT occurs.
    int mRequestMessagesWaiting;

    // RIL version
    int mRilVer = -1;

    //I'd rather this be LinkedList or something
    ArrayList<RILRequest> mRequestsList = new ArrayList<RILRequest>();

@@ -2901,7 +2904,9 @@ public class RIL extends BaseCommands implements CommandsInterface {
                setRadioPower(false, null);
                setPreferredNetworkType(mPreferredNetworkType, null);
                setCdmaSubscriptionSource(mCdmaSubscription, null);
                notifyRegistrantsRilConnectionChanged(((int[])ret)[0]);
                mRilVer = ((int[])ret)[0];
                if (RILJ_LOGD) riljLog("RIL version: " + mRilVer);
                notifyRegistrantsRilConnectionChanged(mRilVer);
                break;
            }