am 0c9fccf1: Merge "media Utils: remove parse integer logspam" into mnc-dev
* commit '0c9fccf1ed07bc957a215f035f2559dcc08069f3': media Utils: remove parse integer logspam
This commit is contained in:
@@ -209,6 +209,9 @@ class Utils {
|
||||
}
|
||||
|
||||
static int parseIntSafely(Object o, int fallback) {
|
||||
if (o == null) {
|
||||
return fallback;
|
||||
}
|
||||
try {
|
||||
String s = (String)o;
|
||||
return Integer.parseInt(s);
|
||||
|
||||
Reference in New Issue
Block a user