diff options
author | Kyunglyul Hyun <klhyun@google.com> | 2022-02-18 16:17:24 +0900 |
---|---|---|
committer | Kyunglyul Hyun <klhyun@google.com> | 2022-02-18 16:21:50 +0900 |
commit | a03d1727fe76697d071b1b8830285cfea1c8f87e (patch) | |
tree | 678cb5236e62551a85dda2514faa21a60aa6d9c4 /framework/java/android/bluetooth/BluetoothFrameworkInitializer.java | |
parent | 030236f8383777f90290cdb32a2e8afe1078b6cf (diff) |
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
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothFrameworkInitializer.java')
0 files changed, 0 insertions, 0 deletions