Merge "media Utils: remove parse integer logspam" into mnc-dev
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