commit | fc3422ad3697b5d83adfb69133f66e1623416b18 | [log] [tgz] |
---|---|---|
author | Tianjie Xu <xunchang@google.com> | Tue Dec 15 11:53:59 2015 -0800 |
committer | Tianjie Xu <xunchang@google.com> | Fri Dec 18 11:05:34 2015 -0800 |
tree | a98cc26869cd1d04e89e0bc63bc705b0a3656ed3 | |
parent | 421d84f911218387dc638dd7ef897aa3199b96b6 [diff] |
Check block0 for remounting partition R/W Add a function check_first_block to read block0 and output a message on screen if the device has been remounted. The function is called for version >= 4 only; it executes after a failing block verification and before recovery attempts. Bug: 21124327 Change-Id: I49dc0b861c702698896a2495ca094215705d4650 (cherry picked from commit 9dac79701304cc466ea67c754233487f755dd97a)