Remove unnecessary null check for wifiLock.
Use the enhanced for-loop syntax.
Add a unit test for ImageCache.hashKeyForDisk().
Use Guava's MD5 hash and hash-to-string functions.