Commit 856b369
DemoPlaybackService: catch exception when loading an artwork bitmap
When there is an error loading the bitmap we want to skip the
bitmap population instead of throwing an error that crashes the app.
PiperOrigin-RevId: 7619959891 parent 6440344 commit 856b369
File tree
1 file changed
+10
-4
lines changed- demos/session_service/src/main/java/androidx/media3/demo/session
1 file changed
+10
-4
lines changedLines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
200 | 206 | | |
201 | 207 | | |
202 | 208 | | |
| |||
0 commit comments