Commit 181e81b
committed
Format and render
According to [Android Auto's docs](https://developer.android.com/training/cars/media#metadata-indicators) for metadata indicators, there are a few more extras that should be exposed for a complete UI rendering that `android-media-controller` doesn't take in account.
I'm updating the code to consider `DOWNLOAD_STATUS`, `BT_FOLDER_TYPE` and `METADATA_KEY_ADVERTISEMENT`, and render them as `Long` values in the "test" screen. See screenshots.android.media.extra metadata1 parent f42add3 commit 181e81b
File tree
1 file changed
+10
-1
lines changed- mediacontroller/src/main/java/com/example/android/mediacontroller
1 file changed
+10
-1
lines changedLines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
262 | 264 | | |
263 | 265 | | |
264 | 266 | | |
265 | | - | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
266 | 273 | | |
267 | 274 | | |
268 | 275 | | |
| |||
302 | 309 | | |
303 | 310 | | |
304 | 311 | | |
| 312 | + | |
| 313 | + | |
305 | 314 | | |
306 | 315 | | |
307 | 316 | | |
| |||
0 commit comments