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

Commit ef61f363 authored by Shareef Ali's avatar Shareef Ali
Browse files

SamsungQualcommRIL: always convert hex to int.

Change-Id: Idc9183c9041f4fb816ff82f428812bcfe7e5fce0
parent 6a8675a7
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -521,14 +521,10 @@ public class SamsungQualcommRIL extends RIL implements CommandsInterface {
                if (response[i]== null){
                    response[i]=Integer.toString(Integer.MAX_VALUE);
                } else {
                    try {
                        Integer.parseInt(response[i]);
                    } catch(NumberFormatException e) {
                    response[i]=Integer.toString(Integer.parseInt(response[i],16));
                }
            }
        }
        }

        return response;
    }