Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 07e23a13 authored by Dowon Park's avatar Dowon Park
Browse files

AVRCP: Reset mActivePlayerId on cleanup



Sets mActivePlayerId to NO_ACTIVE_PLAYER on cleanup,
to avoid a NullPointerException on callbacks after cleanup.
This has been observed when AVRCP is stopped but the
media button session has just been changed. This leads
to the session callback being called on the active player,
which has just been cleaned and this is NULL.

Test: manual
Change-Id: I23aefb1f3ac47dbfdb2b934e5224f8da0f6cb8c8
Signed-off-by: default avatarDowon Park <dowon.park@samsung.com>
parent f5ff124f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment