commit | 0d92f1f13ad89bf8ffbb75764bbe83452612792a | [log] [tgz] |
---|---|---|
author | Doug Zongker <dougz@android.com> | Mon Jun 03 12:07:12 2013 -0700 |
committer | Doug Zongker <dougz@android.com> | Mon Jun 03 12:07:12 2013 -0700 |
tree | 127501629bde6c208518bc3c13aa95f0e7fa068e | |
parent | 8216f3228fbe5343b38e19f51fb91584946024cc [diff] |
improve OTA failure messages Replace OTA script constructs of the form: assert(foo); with foo || abort("sensible message"); so that the log and the on-screen display is somewhat more accessible to non-experts. (assert() displays the source code of the false expression 'foo'.) Change-Id: Ic99448e4466561d305b167cd4d5c1f0f2dbadcce