Commit ffec9de5 authored by Denis Kuznetsov's avatar Denis Kuznetsov Committed by Commit Bot

oobe: add more screen states to debug overlay

Bug: 1073095
Change-Id: I1fb8dc3865279f34be2fbb7bc7012dfb0e12d456
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2262953
Auto-Submit: Denis Kuznetsov [CET] <antrim@chromium.org>
Reviewed-by: default avatarRenato Silva <rrsilva@google.com>
Commit-Queue: Denis Kuznetsov [CET] <antrim@chromium.org>
Cr-Commit-Position: refs/heads/master@{#781787}
parent 4ee0c803
...@@ -173,6 +173,14 @@ Polymer({ ...@@ -173,6 +173,14 @@ Polymer({
this.$.resetDialog.focus(); this.$.resetDialog.focus();
}, },
reset() {
this.screenState_ = RESET_SCREEN_STATE.RESTART_REQUIRED;
this.thispowerwashMode_ = POWERWASH_MODE.POWERWASH_ONLY;
this.tpmUpdateAvailable_ = false;
this.isRollbackAvailable_ = false;
this.isRollbackRequested_ = false;
},
/* ---------- EXTERNAL API BEGIN ---------- */ /* ---------- EXTERNAL API BEGIN ---------- */
/** @param {boolean} rollbackAvailable */ /** @param {boolean} rollbackAvailable */
setIsRollbackAvailable(rollbackAvailable) { setIsRollbackAvailable(rollbackAvailable) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment