Index: build/android/pylib/instrumentation/instrumentation_test_instance.py |
diff --git a/build/android/pylib/instrumentation/instrumentation_test_instance.py b/build/android/pylib/instrumentation/instrumentation_test_instance.py |
index 34ce1320a174cb79346708a3dbe75c1edccd1105..cd8617cfc15f7bb84fa79a60caa1a71261dd2de9 100644 |
--- a/build/android/pylib/instrumentation/instrumentation_test_instance.py |
+++ b/build/android/pylib/instrumentation/instrumentation_test_instance.py |
@@ -276,9 +276,8 @@ |
self._test_runner = self._test_apk.GetInstrumentationName() |
self._package_info = None |
- package_under_test = self._apk_under_test.GetPackageName() |
for package_info in constants.PACKAGE_INFO.itervalues(): |
- if package_under_test == package_info.package: |
+ if self._test_package == package_info.test_package: |
self._package_info = package_info |
if not self._package_info: |
logging.warning('Unable to find package info for %s', self._test_package) |