(Reland) [Android] Get package_info by using apk_under_test package.

Currently, the package_info used by the test apk is looked up by
by looking at the test_apk package in the list of package_infos.
Instead, we can just look at the package entries in the list
of package_infos and compare it to the package of the apk_under_test.

This makes things much nicer, when for instance you have multiple
test apks targeting the same package.

BUG=

Review URL: https://codereview.chromium.org/1894233002

Cr-Commit-Position: refs/heads/master@{#388042}


CrOS-Libchrome-Original-Commit: 9454d5d5b562cce1186b398d6afe9cf3b42c08a1
1 file changed
tree: 8b9ae482b55c72bd2ec7d9afbefe8c7fb025d22c
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/