aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Googler <noreply@google.com>2017-03-16 18:00:31 +0000
committerGravatar Yun Peng <pcloudy@google.com>2017-03-16 19:51:47 +0000
commit1c7e5815c8a5af38f7c8bf3b764cfa51158f7247 (patch)
tree279646bf2f58b3c85c710ed1447226dd30506e0d
parent6f4bf51c1392e18a11fb7792045f44fb8878a3e1 (diff)
*** Reason for rollback *** this flag isn't needed with unknown commit *** Original change description *** Add --activity_name_file flag and modify --start flag in incremental_install. This is a first step to add the ability for mobile-install to wait for the debugger before starting the app. -- PiperOrigin-RevId: 150340712 MOS_MIGRATED_REVID=150340712
-rw-r--r--tools/android/incremental_install.py11
1 files changed, 4 insertions, 7 deletions
diff --git a/tools/android/incremental_install.py b/tools/android/incremental_install.py
index ff33c22eb1..bef9246d09 100644
--- a/tools/android/incremental_install.py
+++ b/tools/android/incremental_install.py
@@ -46,18 +46,15 @@ gflags.DEFINE_integer("adb_jobs", 2,
"The number of instances of adb to use in parallel to "
"update files on the device",
lower_bound=1)
-gflags.DEFINE_enum("start", "no", ["no", "cold", "warm", "debug"],
- "Whether/how to start the app after installing it. 'cold' "
- "and 'warm' will both cause the app to be started, 'warm' "
- "will start it with previously saved application state, "
- "'debug' will wait for the debugger before a clean start.")
+gflags.DEFINE_enum("start", "no", ["no", "cold", "warm"], "Whether/how to "
+ "start the app after installing it. 'cold' and 'warm' will "
+ "both cause the app to be started, 'warm' will start it "
+ "with previously saved application state.")
gflags.DEFINE_boolean("start_app", False, "Deprecated, use 'start'.")
gflags.DEFINE_string("user_home_dir", None, "Path to the user's home directory")
gflags.DEFINE_string("flagfile", None,
"Path to a file to read additional flags from")
gflags.DEFINE_string("verbosity", None, "Logging verbosity")
-gflags.DEFINE_string("activity_name_file", None, "Path to the file that "
- "contains the name of the main activity to start")
FLAGS = gflags.FLAGS