Added in API level 35
PersistentDataBlockManager
open class PersistentDataBlockManager
kotlin.Any | |
↳ | android.service.persistentdata.PersistentDataBlockManager |
Interface to the persistent data partition. Provides access to information about the state of factory reset protection.
Summary
Public methods | |
---|---|
open Boolean |
Returns true if FactoryResetProtection (FRP) is active, meaning the device rebooted and has not been able to deactivate FRP because the deactivation secrets were wiped by an untrusted factory reset. |
Public methods
isFactoryResetProtectionActive
Added in API level 35
open fun isFactoryResetProtectionActive(): Boolean
Returns true if FactoryResetProtection (FRP) is active, meaning the device rebooted and has not been able to deactivate FRP because the deactivation secrets were wiped by an untrusted factory reset.