Remove SHA1 check from AndroidDevice.isAppInstalled() (#8290)
* Remove SHA1 check from AndroidDevice.isAppInstalled() The docs for isAppInstalled say 'check if a version of the given app is already installed', however the current code returns true only if it's the latest build that's installed. This made sense in the past, when the use pattern was: if (!isAppInstalled(...)) installApp(...); but now the usage is: if (isAppInstalled(...)) uninstallApp(...); installApp(...); This has the probably unintended consequence that if you run `flutter install` or `flutter run` two times in a row with no source changes, the second invocation will uninstall the app, but the first invocation might not. Removing the SHA1 check makes us always uninstall the app if it's installed. Fixes #8172
J
Jakob Andersen committed
421258baea8d2102ae92f93c59f982f188e2aad8
Parent: 2888139
Committed by GitHub <noreply@github.com>
on 2/21/2017, 9:18:12 AM