
The session activity is already sent to the controller with the `ConnectionState` when it connects. This change adds the ability to update the activity. This allows an app to change the intent that is used to open an activity for the notification. An app is likely to want to change the session activity just before the session is released. This allows to use a different activity or more importantly the back stack of the activity for while the app is running and when used for the playback resumption notification. PiperOrigin-RevId: 530627102
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