Skip to content
Commit 3a1e082c authored by Kyunglyul Hyun's avatar Kyunglyul Hyun
Browse files

[Media ML] Add @JavaOnlyStableParcelable to media classes

For mainline module to receive parcelable classes not part of
the module (i.e. framework class) as argument,
they should be either structured parcelable or public/system api.

For the latter case, we need to mark them as @JavaOnlyStableParcelable
to ensure that they can be referenced safely.

This CL adds the annotation to AudioAttributes and MediaMetadata,
which are used by ISession, ISessionController,
and ISessionControllerCallback.

Bug: 169046322
Test: build successful
Change-Id: Id2abb9f6b31e5432a631cc11aa65eb7c356451eb
parent 0667e270
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment