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

Commit 7dc3cf0b authored by SongFerngWang's avatar SongFerngWang Committed by SongFerng Wang
Browse files

When config is changed, update the profile's visibility

Bug: 286328464
Test: build pass
Change-Id: I2beef587a71f9fdc1b1e8a97b9b5656dbb52a9f3
parent c0338e5d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -145,8 +145,8 @@ public class BluetoothDetailsProfilesController extends BluetoothDetailsControll
            profilePref.setEnabled(!mCachedDevice.isBusy());
        }

        if (profile instanceof LeAudioProfile && !mIsLeAudioToggleEnabled) {
            profilePref.setVisible(false);
        if (profile instanceof LeAudioProfile) {
            profilePref.setVisible(mIsLeAudioToggleEnabled);
        }

        if (profile instanceof MapProfile) {