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

Commit 9b879a13 authored by Shareef Ali's avatar Shareef Ali Committed by Gerrit Code Review
Browse files

Merge "Revert "SamsungQualcommRIL: always convert hex to int."" into cm-10.1

parents 61aa925f 94987a5f
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -536,10 +536,14 @@ 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;
    }