Problem
All feature toggles on the main dashboard (FeatureDashboardScreen.kt) only flip local UI state variables (e.g. systemTunerEnabled, powerManagerEnabled). The onToggle callbacks do not call FeatureFlagsService, SystemTunerService, or any other backend service.
This means every toggle in the dashboard is currently a no-op — tapping them changes the switch appearance but has no actual effect on the device.
Evidence
- Multiple features share the same state variable (e.g.
systemTunerEnabled is used for Circle to Search, Vertical App Drawer, Enhanced Processing — they all toggle together)
FeatureFlagsService.toggleFlag() and SystemTunerService exist and are properly implemented using Shizuku shell commands, but nothing calls them from the UI
What needs to happen
Each FeatureCard onToggle should:
- Call the appropriate service (e.g.
FeatureFlagsService for flag-based features)
- Persist the state via
PrefsManager
- Read initial state from
PrefsManager on load (not hardcode false)
- Give each feature its own state variable mapped to the correct flag key
Example fix pattern
var circleToSearchEnabled by remember { mutableStateOf(prefs.circleToSearchEnabled) }
FeatureCard(
title = "Circle to Search",
isEnabled = circleToSearchEnabled,
onToggle = {
circleToSearchEnabled = it
prefs.circleToSearchEnabled = it
FeatureFlagsService.toggleFlag("circle_to_search_enabled", it)
}
)
Affected features
All FeatureCard entries in FeatureDashboardScreen.kt
Problem
All feature toggles on the main dashboard (
FeatureDashboardScreen.kt) only flip local UI state variables (e.g.systemTunerEnabled,powerManagerEnabled). TheonTogglecallbacks do not callFeatureFlagsService,SystemTunerService, or any other backend service.This means every toggle in the dashboard is currently a no-op — tapping them changes the switch appearance but has no actual effect on the device.
Evidence
systemTunerEnabledis used for Circle to Search, Vertical App Drawer, Enhanced Processing — they all toggle together)FeatureFlagsService.toggleFlag()andSystemTunerServiceexist and are properly implemented using Shizuku shell commands, but nothing calls them from the UIWhat needs to happen
Each
FeatureCardonToggleshould:FeatureFlagsServicefor flag-based features)PrefsManagerPrefsManageron load (not hardcodefalse)Example fix pattern
Affected features
All
FeatureCardentries inFeatureDashboardScreen.kt