[Android] Only reinstall test apk if needed

When running tests, we should only be reinstalling the test apk if it
is different than the one currently installed. So, before reinstalling,
query the package manager for the path to the installed apk, and then
only reinstall if the md5sum of the installed apk differs from the one
we are about to install.

NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/14601004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199835 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: deb39715c4f5298c92941f6408d61ec2353eeb56
1 file changed
tree: 4922862cbd03311ea7c6ba7dfcb5494f957c4994
  1. base/
  2. build/
  3. dbus/
  4. ipc/
  5. testing/
  6. third_party/