summaryrefslogtreecommitdiff
path: root/base/errors_unix.cpp
diff options
context:
space:
mode:
authorBowgo Tsai <bowgotsai@google.com>2018-03-12 16:26:23 +0800
committerBowgo Tsai <bowgotsai@google.com>2018-03-16 15:06:23 +0800
commit45a00fdccefc059112e43be690411ece655f2ed1 (patch)
treec6dc9d93e21c659112440c7f790d250a129045ca /base/errors_unix.cpp
parent4031e1a46ed69dc84ec86596dc4ff0a5e47aced9 (diff)
adb: checks device state when using adb disable-verity for AVB
adb disable-verity will toggle a flag in /vbmeta and introduce AVB verification error on next boot. If the device is LOCKED, it will make the device unbootable because verification error isn't allowed when the device is locked. Also indicating 'adb root' when failed to get verity state. Bug: 70969453 Test: adb disable-verity should pop-up warning if the device is locked. Change-Id: I1ed705e34334ea2231c96b16ddb8d225067af2f0 Merged-In: I1ed705e34334ea2231c96b16ddb8d225067af2f0 (cherry picked from commit 8cc9c3835a7052621b4829324b30f21f0307510e)
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions