Merge "Media - Fix sysui crash on media image load" into rvc-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
0ac2f4e4f7
@@ -486,7 +486,10 @@ class MediaDataManager(
|
|||||||
decoder, info, source -> decoder.isMutableRequired = true
|
decoder, info, source -> decoder.isMutableRequired = true
|
||||||
}
|
}
|
||||||
} catch (e: IOException) {
|
} 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
|
null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user