android: remove camera control

accessibility service kept on disabling automatically
This commit is contained in:
Kavish Devar
2026-04-22 23:57:42 +05:30
parent 9355a0cef1
commit 3346221569

View File

@@ -254,18 +254,18 @@ fun AirPodsSettingsScreen(viewModel: AirPodsViewModel, navController: NavControl
}) })
} }
if (capabilities.contains(Capability.STEM_CONFIG) && !BuildConfig.PLAY_BUILD) { // if (capabilities.contains(Capability.STEM_CONFIG) && !BuildConfig.PLAY_BUILD) {
item(key = "spacer_camera") { Spacer(modifier = Modifier.height(16.dp)) } // item(key = "spacer_camera") { Spacer(modifier = Modifier.height(16.dp)) }
item(key = "camera_control") { // item(key = "camera_control") {
NavigationButton( // NavigationButton(
to = "camera_control", // to = "camera_control",
name = stringResource(R.string.camera_remote), // name = stringResource(R.string.camera_remote),
description = stringResource(R.string.camera_control_description), // description = stringResource(R.string.camera_control_description),
title = stringResource(R.string.camera_control), // title = stringResource(R.string.camera_control),
navController = navController // navController = navController
) // )
} // }
} // }
item(key = "upgrade_button") { item(key = "upgrade_button") {
if (!state.isPremium) { if (!state.isPremium) {