Use checksum to determine if config has been modified
Using a timestamp is not reliable as some partitions on Android reset
the modification timestamp in certain partitions on all files. This
leads to the NFC chip configuration not being loaded in some instances,
even so it has been modified.
This patch switches the file modification check from a timestamp to
calculate a simple CRC32 checksum instead.
Test: manual; Verify configuration is loaded when modified
(cherry picked from commit 72a75cc248a13dfcda481efdc0f284d59149b058)
3 files changed