Merge "When config is changed, update the profile's visibility" into udc-d1-dev am: a210c84eb8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/23599970 Change-Id: I4969b792e002832c372f30e0f5e7694463b569cd Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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