Google is committed to advancing racial equity for Black communities. See how.

fuchsia.recovery.policy

PROTOCOLS

Device

Defined in fuchsia.recovery.policy/device.fidl

A protocol for controlling whether factory reset can be triggered by holding the physical button. This protocol will be used by Settings service to make root_presenter aware of a new FactoryReset policy.

SetIsLocalResetAllowed

Sets whether local factory reset is enabled, and persists the setting after reboot. If this function has never been called on this device, then local factory reset is allowed by default.

Request

NameType
allowed bool

FactoryReset

Defined in fuchsia.recovery.policy/factoryreset.fidl

A protocol for determining whether factory reset can be triggered.

GetEnabled

A hanging-get style api that returns whether local factory reset is enabled.

Request

NameType

Response

NameType
fdr_enabled bool

STRUCTS