| Index: build/android/adb_install_apk.py
|
| diff --git a/build/android/adb_install_apk.py b/build/android/adb_install_apk.py
|
| index 7601a3fc623601f44a51d72b2963e2352586bf7d..8728c089931028c6f19b50d27bbcaf9ce7966746 100755
|
| --- a/build/android/adb_install_apk.py
|
| +++ b/build/android/adb_install_apk.py
|
| @@ -16,9 +16,9 @@ from pylib.utils import test_options_parser
|
|
|
|
|
| def _InstallApk(args):
|
| - apk_path, apk_package, device = args
|
| + apk_path, apk_package, keep_data, device = args
|
| result = android_commands.AndroidCommands(device=device).ManagedInstall(
|
| - apk_path, False, apk_package)
|
| + apk_path, keep_data, apk_package)
|
| print '----- Installed on %s -----' % device
|
| print result
|
|
|
| @@ -42,6 +42,7 @@ def main(argv):
|
| # Send a tuple (apk_path, apk_package, device) per device.
|
| pool.map(_InstallApk, zip([options.apk] * len(devices),
|
| [options.apk_package] * len(devices),
|
| + [options.keep_data] * len(devices),
|
| devices))
|
|
|
|
|
|
|