Merge "BugFix:GnssConfiguration change parseInt to decode"
This commit is contained in:
committed by
Android (Google) Code Review
commit
31a1bb239a
@@ -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