| Index: build/android/pylib/uiautomator/test_package.py
|
| diff --git a/build/android/pylib/uiautomator/test_package.py b/build/android/pylib/uiautomator/test_package.py
|
| index fd9120e4642d7de88dc3d3cde6ef72f24721f2d0..cb51fdfd65aeb28210052bd14cd30ad28f09f643 100644
|
| --- a/build/android/pylib/uiautomator/test_package.py
|
| +++ b/build/android/pylib/uiautomator/test_package.py
|
| @@ -11,6 +11,11 @@ from pylib.instrumentation import test_jar
|
|
|
|
|
| class TestPackage(test_jar.TestJar):
|
| +
|
| + UIAUTOMATOR_PATH = 'uiautomator/'
|
| + UIAUTOMATOR_DEVICE_DIR = os.path.join(constants.TEST_EXECUTABLE_DIR,
|
| + UIAUTOMATOR_PATH)
|
| +
|
| def __init__(self, jar_path, jar_info_path):
|
| test_jar.TestJar.__init__(self, jar_info_path)
|
|
|
| @@ -24,4 +29,5 @@ class TestPackage(test_jar.TestJar):
|
|
|
| # Override.
|
| def Install(self, device):
|
| - device.PushChangedFiles([(self._jar_path, constants.TEST_EXECUTABLE_DIR)])
|
| + device.PushChangedFiles([(self._jar_path, self.UIAUTOMATOR_DEVICE_DIR +
|
| + self.GetPackageName())])
|
|
|