Function flipperzero_sys::gui_set_lockdown
source · pub unsafe extern "C" fn gui_set_lockdown(
gui: *mut Gui,
lockdown: bool
)Expand description
Set lockdown mode When lockdown mode is enabled, only GuiLayerDesktop is shown. This feature prevents services from showing sensitive information when flipper is locked.
Arguments
gui- Gui instancelockdown- bool, true if enabled