public class

RecoverySystemExtended

extends Object
java.lang.Object
   ↳ masonamerica.platform.RecoverySystemExtended

Summary

Public Constructors
RecoverySystemExtended()
Public Methods
static void rebootRefurbish(Context context, String reason)
This method is deprecated. Replaced in favor of RecoverySystemPrivileged#rebootRefurbish() Reboot and refurbish the the device. This will delete all user data, and all persisted data.
static void rebootWipeMasonConfiguration(Context context, String reason)
Reboot and wipe the mason configuration on the device.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public RecoverySystemExtended ()

Public Methods

public static void rebootRefurbish (Context context, String reason)

This method is deprecated.
Replaced in favor of RecoverySystemPrivileged#rebootRefurbish() Reboot and refurbish the the device. This will delete all user data, and all persisted data.

Parameters
context Context: Context
reason String: String a given reason for the refurbish.

public static void rebootWipeMasonConfiguration (Context context, String reason)

Reboot and wipe the mason configuration on the device. On a user build, this wipes data and cache as well.

Parameters
context Context: Context
reason String: String a given reason for the wipe.