diff options
author | Kyunglyul Hyun <klhyun@google.com> | 2020-09-21 23:17:17 +0900 |
---|---|---|
committer | Kyunglyul Hyun <klhyun@google.com> | 2020-09-22 11:17:43 +0900 |
commit | 3a1e082c0deefd241508496c3931a411915e27b5 (patch) | |
tree | 9c6827466a4dac68e5eeb44ba522e26e01fe662a /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 0667e2701316e0d150db963b346b428829e68856 (diff) |
[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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions