Uninstall the test package before installing it

Uninstall the test package before installing it in case it was not properly cleaned between retries. This CL also removes the command to reset the package as it is no longer necessary. This also fixes a bug, as previously we were reseting the package after installation which causes granted permissions getting revoked. The permission can be fixed by move the reset command before the install command but uninstalling is better than reset as uninstalling can unblock the installation if a higher version of the apk has already been installed.

Test: presubmit
Bug: 238972145
Change-Id: Id1fd2d4c6ede9352f14c22d2c8cc92d86a1c9364
1 file changed
tree: 151eb2e23a5304a02acf3bd8921876d6173c79fc
  1. config/
  2. harness/
  3. integration_tests/
  4. pylib/
  5. test_scripts/
  6. test_targets/
  7. tools/
  8. Android.bp
  9. OWNERS
  10. PREUPLOAD.cfg
  11. pylintrc
  12. README.md
  13. TEST_MAPPING
README.md

Android App Compatibility Test Suite (C-Suite)

C-Suite consists of the testing framework and test cases, designed to detect and report app compatibility issues.