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

Skip to content
Commit a03d1727 authored by Kyunglyul Hyun's avatar Kyunglyul Hyun
Browse files

mcp: reset MediaControlProfile instance in stop()

When McpService was reused (e.g. stop() and start())
MediaControlProfile was not initialized so GMCS is not created.
It could happen even when McpService is recreated since it is
a static variable.

This CL ensures clear MediaControlProfile instance so that
next time McpService is started, GMCS is created again.

Tag: #feature
Bug: 209606901
Test: atest McpServiceTest
Change-Id: Ibcc6cdad7224e3c363b30510fdfcf228828014f6
parent 030236f8
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