// END TWRP WORKER
        async void _flashRecoveryWorker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
        {
            RunFlyout(4);
            RunFlyout(5);
            File.Delete("recovery.img");
            await Task.Factory.StartNew(() => _fastboot.RebootRecovery(_createWindow));

            RunFlyout(5);
            _flashRecoveryWorker.Dispose();
        }
Beispiel #2
0
 void _rebootRecoveryWorker_DoWork(object sender, DoWorkEventArgs e)
 {
     e.Result = _fastboot.RebootRecovery(_createWindow);
 }