Merge "Fix bug when bluetooth profile is not in more settings" into main

This commit is contained in:
Treehugger Robot
2024-10-14 11:26:33 +00:00
committed by Android (Google) Code Review

View File

@@ -139,7 +139,7 @@ class DeviceDetailsFragmentFormatterImpl(
viewModel
.getItems(fragmentType)
?.filterIsInstance<DeviceSettingConfigItemModel.BuiltinItem.BluetoothProfilesItem>()
?.first()
?.firstOrNull()
?.invisibleProfiles
}