BugFix:GnssConfiguration change parseInt to decode
Bug: 124134653 Test: Current Tests Pass. Change-Id: I512ca4fb4bc4d231ebe5320cd1c323cb9fcecf5c
This commit is contained in:
@@ -367,7 +367,7 @@ class GnssConfiguration {
|
||||
return defaultValue;
|
||||
}
|
||||
try {
|
||||
return Integer.parseInt(valueString);
|
||||
return Integer.decode(valueString);
|
||||
} catch (NumberFormatException e) {
|
||||
Log.e(TAG, "Unable to parse config parameter " + configParameter + " value: "
|
||||
+ valueString + ". Using default value: " + defaultValue);
|
||||
|
||||
Reference in New Issue
Block a user