summaryrefslogtreecommitdiff
path: root/static/install/web.html
diff options
context:
space:
mode:
authorDanny Lin <danny@kdrag0n.dev>2021-01-29 17:46:08 -0800
committerDaniel Micay <danielmicay@gmail.com>2021-01-29 22:15:04 -0500
commite582d6ca4577767ab1c869b71fc0103e2706f96f (patch)
treec801c2e8fe698406c512fa8cc2245900240e9092 /static/install/web.html
parent3f76cf5942dd9609a7a32ec2343471406d8c4785 (diff)
web-install: Implement Android reconnection callback
On Android, Chromium does not support automatic reconnection. The user must manually pair the device after every reboot in order for fastboot.js to reconnect to it. Unfortunately, this requires the user of the library to get involved because USB device connction requests are only allowed as the result of explicit user action, so we need to add a reconnect request callback for the user to handle.
Diffstat (limited to 'static/install/web.html')
-rw-r--r--static/install/web.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/static/install/web.html b/static/install/web.html
index dc04ad3a..0ee9ea82 100644
--- a/static/install/web.html
+++ b/static/install/web.html
@@ -179,7 +179,11 @@
Then, proceed to <a href="#locking-the-bootloader">locking the bootloader</a>
before using the device as locking wipes the data again.</p>
- <p><strong id="flash-release-status"></strong></p>
+ <p>
+ <strong id="flash-release-status"></strong>
+ <!-- This appears as part of the status -->
+ <button id="flash-reconnect-button" style="display: none;"><strong>Reconnect device</strong></button>
+ </p>
</section>
<section id="locking-the-bootloader">