commit | 4312f7784bc9daefbac4be881c51f79408508c7f | [log] [tgz] |
---|---|---|
author | Hyundo Moon <hdmoon@google.com> | Wed Jan 23 16:27:05 2019 +0900 |
committer | Hyundo Moon <hdmoon@google.com> | Wed Jan 23 16:31:43 2019 +0900 |
tree | bd85210a179b37617e3d7fd5fea18407303b2e30 | |
parent | ca626b63195bf5dc196069a9d5b307911b33517b [diff] |
Set MediaSession.mCallback as non-null when a callback is set In order to avoid regression, this CL sets a dummy object to MediaSession.mCallback when a callback is set. Since the previous versions of MediaSessionCompat checks the nullity of mCallback by reflection, this needs to be set. This was slipped in previous merged CL "3ff5777: Introduce MediaSessionEngine". Bug: 119749862 Test: make -j; Change-Id: Iea12a77e7edd51ef3cee7e83c057f39e5528c3b6