Merge "Media - Fix sysui crash on media image load" into rvc-qpr-dev am: 0ac2f4e4f7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12494612 Change-Id: I96ad8addcaf23193d5044c2bc1233af646bcd27f
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user