diff options
author | Gyumin Sim <gyumin@google.com> | 2021-06-01 13:23:51 +0900 |
---|---|---|
committer | Gyumin Sim <gyumin@google.com> | 2021-06-01 21:20:05 +0900 |
commit | a3aec61861b8d1f8e95454b7411f4181614f07b3 (patch) | |
tree | 5f0c0a53c4d8003da139eeebe0e9d183fe557042 /docs/html/sdk/api_diff/14 | |
parent | a0ecdaafd516b94f59d420a86b3632eaa9de55aa (diff) |
Ensure MediaSession2Record is initialized before used
NPE happens at mController.close() if session is destroyed while the
MediaController2 instance is being created in the constructor of
MediaSession2Record. It ensures the MediaSession2Record instance is
initialized before the instance is used by Controller2Callback.
Bug: 189119798
Fix: 189119798
Test: atest CtsMediaTestCases:android.media.cts.MediaSessionTest
Change-Id: I23ca2f3dbc657ac38f4154a0fb428a4c25e6b5ad
Diffstat (limited to 'docs/html/sdk/api_diff/14')
0 files changed, 0 insertions, 0 deletions