commit | 5a2be3f40125af8b25fbbd9d55dc968168c76ed7 | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Mon Feb 16 13:51:51 2015 +0000 |
committer | Narayan Kamath <narayan@google.com> | Sat Feb 21 11:19:07 2015 +0000 |
tree | 070b920e71c927f112a6922f5e7b59668392f762 | |
parent | d98ff78976696fdde1e7868d4687719a0439544b [diff] |
Implement a simple count based boot marker. We write the number of failed boots to the marker and only prune the dalvik cache if the number of consecutive failed boots is higher than a predefined threshold. Note that the code is forgiving of errors related to boot markers; we continue the boot process even if we're unable to create / write or flush the boot marker. bug: 19360096 Change-Id: Ia17c3b783318ddf43c9199d0f7f09c54a4176667