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
|
viewModel
|
||||||
.getItems(fragmentType)
|
.getItems(fragmentType)
|
||||||
?.filterIsInstance<DeviceSettingConfigItemModel.BuiltinItem.BluetoothProfilesItem>()
|
?.filterIsInstance<DeviceSettingConfigItemModel.BuiltinItem.BluetoothProfilesItem>()
|
||||||
?.first()
|
?.firstOrNull()
|
||||||
?.invisibleProfiles
|
?.invisibleProfiles
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user