File tree Expand file tree Collapse file tree
profile/src/main/java/no/nordicsemi/android/toolbox/profile/view Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,8 +53,9 @@ import no.nordicsemi.android.ui.view.internal.LoadingView
5353
5454@Composable
5555internal fun ChannelSoundingScreen (isNotificationPermissionGranted : Boolean? ) {
56-
57- if (Build .VERSION .SDK_INT >= Build .VERSION_CODES .BAKLAVA && isNotificationPermissionGranted != null ) {
56+ // Channel Sounding is available from Android 16 (API 36) onward, while better accuracy and
57+ // performance are provided from Android 16 (API 36, minor version 1) and later.
58+ if (Build .VERSION .SDK_INT_FULL >= Build .VERSION_CODES_FULL .BAKLAVA_1 && isNotificationPermissionGranted != null ) {
5859 RequestRangingPermission {
5960 val channelSoundingViewModel = hiltViewModel<ChannelSoundingViewModel >()
6061 val channelSoundingState by channelSoundingViewModel.channelSoundingState.collectAsStateWithLifecycle()
Original file line number Diff line number Diff line change @@ -8,10 +8,10 @@ import androidx.compose.material.icons.Icons
88import androidx.compose.material.icons.filled.ArrowDropDown
99import androidx.compose.material3.DropdownMenuItem
1010import androidx.compose.material3.ExperimentalMaterial3Api
11+ import androidx.compose.material3.ExposedDropdownMenuAnchorType.Companion.PrimaryNotEditable
1112import androidx.compose.material3.ExposedDropdownMenuBox
1213import androidx.compose.material3.Icon
1314import androidx.compose.material3.MaterialTheme
14- import androidx.compose.material3.MenuAnchorType.Companion.PrimaryNotEditable
1515import androidx.compose.material3.OutlinedButton
1616import androidx.compose.material3.Text
1717import androidx.compose.runtime.Composable
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ dependencyResolutionManagement {
5050 }
5151 versionCatalogs {
5252 create(" libs" ) {
53- from(" no.nordicsemi.android.gradle:version-catalog:2.9-6 " )
53+ from(" no.nordicsemi.android.gradle:version-catalog:2.10 " )
5454 }
5555 }
5656}
You can’t perform that action at this time.
0 commit comments