Merge "Media - Fix sysui crash on media image load" into rvc-qpr-dev

This commit is contained in:
TreeHugger Robot
2020-08-31 20:08:26 +00:00
committed by Android (Google) Code Review

View File

@@ -486,7 +486,10 @@ class MediaDataManager(
decoder, info, source -> decoder.isMutableRequired = true
}
} catch (e: IOException) {
e.printStackTrace()
Log.e(TAG, "Unable to load bitmap", e)
null
} catch (e: RuntimeException) {
Log.e(TAG, "Unable to load bitmap", e)
null
}
}