Merge "Fix bug when bluetooth profile is not in more settings" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
ec14feff81
@@ -139,7 +139,7 @@ class DeviceDetailsFragmentFormatterImpl(
|
||||
viewModel
|
||||
.getItems(fragmentType)
|
||||
?.filterIsInstance<DeviceSettingConfigItemModel.BuiltinItem.BluetoothProfilesItem>()
|
||||
?.first()
|
||||
?.firstOrNull()
|
||||
?.invisibleProfiles
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user