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

Commit 37141b0e authored by Łukasz Rymanowski's avatar Łukasz Rymanowski
Browse files

LeAudioService: Clear mTmapGattServer if not started

Bug: 284910575
Tag: #feature
Test: atest BluetoothInstrumentationTests
Change-Id: I07a2d8ed00ce07ecdb49347281d8d387d04a4103
parent 735d2e40
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -245,6 +245,7 @@ public class LeAudioService extends ProfileService {
            mTmapGattServer.start(mTmapRoleMask);
        } catch (IllegalStateException e) {
            Log.e(TAG, "Fail to start TmapGattServer", e);
            mTmapGattServer = null;
            return false;
        }