Loading packages/SystemUI/src/com/android/systemui/media/MediaDataManager.kt +1 −1 Original line number Diff line number Diff line Loading @@ -572,7 +572,7 @@ class MediaDataManager( val source = ImageDecoder.createSource(context.getContentResolver(), uri) return try { ImageDecoder.decodeBitmap(source) { decoder, info, source -> decoder.isMutableRequired = true decoder, info, source -> decoder.allocator = ImageDecoder.ALLOCATOR_SOFTWARE } } catch (e: IOException) { Log.e(TAG, "Unable to load bitmap", e) Loading Loading
packages/SystemUI/src/com/android/systemui/media/MediaDataManager.kt +1 −1 Original line number Diff line number Diff line Loading @@ -572,7 +572,7 @@ class MediaDataManager( val source = ImageDecoder.createSource(context.getContentResolver(), uri) return try { ImageDecoder.decodeBitmap(source) { decoder, info, source -> decoder.isMutableRequired = true decoder, info, source -> decoder.allocator = ImageDecoder.ALLOCATOR_SOFTWARE } } catch (e: IOException) { Log.e(TAG, "Unable to load bitmap", e) Loading