Skip to content

Commit 4427db8

Browse files
committed
clarify web install text for unlock/lock success
This doesn't wait until the user interacts with the prompt to approve unlocking or locking on modern Pixel devices.
1 parent 05a25b7 commit 4427db8

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

static/js/web-install.js

+2-5
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ async function unlockBootloader(setProgress) {
217217
}
218218
}
219219

220-
return "Bootloader unlocked.";
220+
return "Bootloader unlocking triggered successfully.";
221221
}
222222

223223
const supportedDevices = ["comet", "komodo", "caiman", "tokay", "akita", "husky", "shiba", "felix", "tangorpro", "lynx", "cheetah", "panther", "bluejay", "raven", "oriole", "barbet", "redfin", "bramble", "sunfish", "coral", "flame"];
@@ -366,10 +366,7 @@ async function lockBootloader(setProgress) {
366366
}
367367
}
368368

369-
// We can't explicitly validate the bootloader lock state because it reboots
370-
// to recovery after locking. Assume that the device would've replied with
371-
// FAIL if if it wasn't locked.
372-
return "Bootloader locked.";
369+
return "Bootloader locking triggered successfully.";
373370
}
374371

375372
function addButtonHook(id, callback) {

0 commit comments

Comments
 (0)