
This imports all the classes and resources needed by our code. We still have the nominal dependency on the artifact as we need to access the Parcelable CREATORs of MediaSessionCompat.Token, MediaDescriptionCompat, RatingCompat and MediaBrowserCompat.MediaItem. Mechanical import steps: - Put all files under a new 'legacy' package and change all import statements accordingly. - Reformat to adhere to Media3 java style guide - Remove all existing @RestrictTo annotations and replace them with top-level @RestrictTo(LIBRARY) on all classes in the new package. - Remove @NonNull annotations and fixed nullability test errors - Fix HTML javadoc build errors - Fix Lint errors (but not warnings) The code still contains many lint warnings that will be fixed separately. PiperOrigin-RevId: 627999285
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