
Having a default icon available allows apps to only specify the icon constant without having to define an icon drawable themselves as Media3 can fill in the icon resource for backwards compatibility. The switch util method allows R8 to easily remove unused icons, so having default icons won't affect APK size unless the constants are used to set up the CommandButtons. PiperOrigin-RevId: 614623909
Session test module
Tests cross-process use of the session module. To run the tests:
- Prepare a device (either an emulator or a real device) to run the tests on.
- Run
./gradlew :test-session-current:cAT