Disable adb sideloading settings if powerwash is needed
On device initialized before M74 (when boot lockbox was first introduced), it requires a powerwash first to use boot lockbox. In such case, disable the toggle and show sublabel to explain the situation. 1) still see login screen warning indicator 2) see settings toggle disabled, with a sublabel Test: Force to return NEED_POWERWASH from session_manager Test: No change if not forced Bug: chromium:893332 Change-Id: Idf75884404769ff724be0225aa9a674e03d978ee Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1918335 Commit-Queue: Victor Hsieh <victorhsieh@chromium.org> Reviewed-by:Toni Baržić <tbarzic@chromium.org> Reviewed-by:
Kyle Horimoto <khorimoto@chromium.org> Cr-Commit-Position: refs/heads/master@{#715877}
Showing
Please register or sign in to comment