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

Commit dd5252cc authored by Ricardo Cerqueira's avatar Ricardo Cerqueira
Browse files

RadioInfo: Make the LTE selections actually work

Change-Id: I6208f06dec7ed3fd1d8572ce4f854fc83a89d459
parent 7237f6ca
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1011,7 +1011,7 @@ public class RadioInfo extends Activity {
            mPreferredNetworkHandler = new AdapterView.OnItemSelectedListener() {
        public void onItemSelected(AdapterView parent, View v, int pos, long id) {
            Message msg = mHandler.obtainMessage(EVENT_SET_PREFERRED_TYPE_DONE);
            if (pos>=0 && pos<=7) { //IS THIS NEEDED to extend to the entire range of values
            if (pos>=0 && pos<=11) { //IS THIS NEEDED to extend to the entire range of values
                phone.setPreferredNetworkType(pos, msg);
            }
        }