diff options
| author | Hyundo Moon <hdmoon@google.com> | 2019-06-19 15:47:54 +0900 |
|---|---|---|
| committer | Hyundo Moon <hdmoon@google.com> | 2019-06-21 15:21:07 +0900 |
| commit | 6cddbe14e1ff67dc4691a013fe38a2eb0893fe03 (patch) | |
| tree | 2121007848a253e2411b8528ec642adf23f56ed3 /docs/html/sdk/api_diff/15/changes | |
| parent | 762aa842ae7fee5d483b0400c1f04bc3d80d3af1 (diff) | |
Do not allow adding custom Parcelable in Bundles
This CL prevents the API users from passing any Bundles with
custom Parcelable to following APIs:
- MediaSession2.Builder#setExtras()
- MediaController2.Builder#setConnectionHints()
- MediaSession constructor
Bug: 135572812
Test: Passed followings tests
atest CtsMediaTestCases:android.media.cts.MediaSessionTest;
atest CtsMediaTestCases:android.media.cts.MediaControllerTest;
atest CtsMediaTestCases:android.media.cts.MediaBrowserTest;
atest CtsMediaTestCases:android.media.cts.MediaSessionManagerTest;
atest CtsMediaTestCases:android.media.cts.MediaSession2Test;
atest CtsMediaTestCases:android.media.cts.MediaController2Test;
atest CtsMediaTestCases:android.media.cts.MediaSession2ServiceTest;
Change-Id: I703c9fc0b180fb7bb3bf9bbec677f01a2a128c7a
Diffstat (limited to 'docs/html/sdk/api_diff/15/changes')
0 files changed, 0 insertions, 0 deletions
