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

Commit 01a99e3d authored by Łukasz Rymanowski's avatar Łukasz Rymanowski
Browse files

Remove leaudio_mcs_tbs_authorization_rebond_fix flag

Bug: 315206239
Bug: 323339440
Test: atest LeAudioServiceTest
Flag: com.android.bluetooth.flags.leaudio_mcs_tbs_authorization_rebond_fix
Change-Id: I2c0c7e946220f3e849c844100bd45bac2a32d5dd
parent b21ce97e
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -4382,11 +4382,6 @@ public class LeAudioService extends ProfileService {
    }

    void removeAuthorizationInfoForRelatedProfiles(BluetoothDevice device) {
        if (!Flags.leaudioMcsTbsAuthorizationRebondFix()) {
            Log.i(TAG, "leaudio_mcs_tbs_authorization_rebond_fix is disabled");
            return;
        }

        McpService mcpService = getMcpService();
        if (mcpService != null) {
            mcpService.removeDeviceAuthorizationInfo(device);
+0 −1
Original line number Diff line number Diff line
@@ -885,7 +885,6 @@ public class LeAudioServiceTest {
    @Test
    public void testAuthorizationInfoRemovedFromTbsMcsOnUnbondEvents() {
        mSetFlagsRule.enableFlags(Flags.FLAG_AUDIO_ROUTING_CENTRALIZATION);
        mSetFlagsRule.enableFlags(Flags.FLAG_LEAUDIO_MCS_TBS_AUTHORIZATION_REBOND_FIX);

        // Update the device priority so okToConnect() returns true
        when(mDatabaseManager.getProfileConnectionPolicy(mLeftDevice, BluetoothProfile.LE_AUDIO))
+0 −10
Original line number Diff line number Diff line
@@ -90,16 +90,6 @@ flag {
    bug: "323288608"
}

flag {
    name: "leaudio_mcs_tbs_authorization_rebond_fix"
    namespace: "bluetooth"
    description: "Removes authorization data for unbonded devices in MCS and TBS service"
    bug: "323339440"
    metadata {
        purpose: PURPOSE_BUGFIX
    }
}

flag {
    name: "leaudio_multiple_vocs_instances_api"
    is_exported: true