Store checksum in non-volatile store to detect corruption.

Store 2-byte checksum in the first two bytes of the non-volatile store.
If corruption is detected, delete all content in non-volatile store.

Change-Id: I79ca57796da1950a430064e50752c4a9fae6d05e
7 files changed
tree: bddcccfbc6009df2f8d9b4b8b237f52de28a98e1
  1. halimpl/
  2. src/
  3. Android.mk
  4. CleanSpec.mk