Skip to content
Commit 4312f778 authored by Hyundo Moon's avatar Hyundo Moon
Browse files

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
"3ff5777c: Introduce MediaSessionEngine".

Bug: 119749862
Test: make -j;
Change-Id: Iea12a77e7edd51ef3cee7e83c057f39e5528c3b6
parent ca626b63
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