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

Commit 94987a5f authored by Shareef Ali's avatar Shareef Ali Committed by Gerrit Code Review
Browse files

Revert "SamsungQualcommRIL: always convert hex to int."

This reverts commit ef61f363.

Change-Id: Ia374a84cfdb8afdea9776e8cce5ad4e23409fe68
parent ef61f363
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -521,10 +521,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;
    }