exitBootloader

abstract suspend fun exitBootloader(resetApplicationToDefaults: Boolean = false, updateProgress: suspend (progress: Progress) -> Unit = {})

Exit bootloader.

Parameters

resetApplicationToDefaults

true to reset application to factory defaults after exiting bootloader, false otherwise Note: This feature may not be available for all devices. In such case, plain reset will be performed.

updateProgress

of the operation