You shouldn't run the fastboot flashing comamnds on the UI thread, since this causes the application to hang (unable to resize or move window, etc) while flashing.
Instead, run this on a background thread, and keep the main thread for the UI, while forwarding the logs to the this thread.
You shouldn't run the fastboot flashing comamnds on the UI thread, since this causes the application to hang (unable to resize or move window, etc) while flashing.
Instead, run this on a background thread, and keep the main thread for the UI, while forwarding the logs to the this thread.