Merge "When config is changed, update the profile's visibility" into udc-d1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
a210c84eb8
@@ -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