When config is changed, update the profile's visibility
Bug: 286328464 Test: build pass Change-Id: I2beef587a71f9fdc1b1e8a97b9b5656dbb52a9f3
This commit is contained in:
committed by
SongFerng Wang
parent
c0338e5dc3
commit
7dc3cf0b32
@@ -145,8 +145,8 @@ public class BluetoothDetailsProfilesController extends BluetoothDetailsControll
|
|||||||
profilePref.setEnabled(!mCachedDevice.isBusy());
|
profilePref.setEnabled(!mCachedDevice.isBusy());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (profile instanceof LeAudioProfile && !mIsLeAudioToggleEnabled) {
|
if (profile instanceof LeAudioProfile) {
|
||||||
profilePref.setVisible(false);
|
profilePref.setVisible(mIsLeAudioToggleEnabled);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (profile instanceof MapProfile) {
|
if (profile instanceof MapProfile) {
|
||||||
|
Reference in New Issue
Block a user