commit | 36baafe92cdf9139ec9c2215cbe62d6df1b32b3f | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Mon Mar 14 17:11:05 2016 -0700 |
committer | Tao Bao <tbao@google.com> | Tue Mar 15 10:36:19 2016 -0700 |
tree | 377dc0687b72ab1631547fe03b3a6b693dda0e53 | |
parent | 658e4c5eceefcb2f0d070d478fb1ab0af27a1bbe [diff] |
Don't reboot into recovery if block map file is missing. We added a third parameter to RecoverySystem.installPackage() to let the caller to indicate the package has been processed (uncrypt'd). We need to ensure the caller's claim is true by checking the existence of the block map. Otherwise the device will fail for sure when booting into recovery. Bug: 27620932 Change-Id: I6325455253480055f14eb0cf020689ac37328602