Added in API level 35

PersistentDataBlockManager


public class PersistentDataBlockManager
extends Object

java.lang.Object
   ↳ android.service.persistentdata.PersistentDataBlockManager


Interface to the persistent data partition. Provides access to information about the state of factory reset protection.

Summary

Public methods

boolean isFactoryResetProtectionActive()

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.

Inherited methods

Public methods

isFactoryResetProtectionActive

Added in API level 35
public boolean isFactoryResetProtectionActive ()

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.

Returns
boolean