
This makes testing of the function easier, as the method previously expected a real file to exist on disk for which it could then hash. This instead allows mock hash values to be inserted when under test. Other than this, the semantics remain exactly the same as before, and the expensive hashing is still done on a worker thread as part of the `IntentService`.