Add default file for command line arguments.
Mojo Shell on Android will now look at
/data/local/tmp/{package_name}.cmd for default arguments. This file must
contain one argument per line. Moreover, this file must not be writeable
by the application to prevent other application modifying it.
R=ppi@chromium.org
BUG=Fixes https://github.com/domokit/mojo/issues/550
Review URL: https://codereview.chromium.org/1460213002 .
Cr-Mirrored-From: https://github.com/domokit/mojo
Cr-Mirrored-Commit: 10bef82afdc342c0118564d8afb35c9c2f83313e
diff --git a/devtoolslib/android_shell.py b/devtoolslib/android_shell.py
index 5e70013..bda59c9 100644
--- a/devtoolslib/android_shell.py
+++ b/devtoolslib/android_shell.py
@@ -25,9 +25,8 @@
_LOGCAT_JAVA_TAGS = [
'AndroidHandler',
'MojoFileHelper',
- 'MojoMain',
- 'MojoShellActivity',
'MojoShellApplication',
+ 'ShellService',
]
_MOJO_SHELL_PACKAGE_NAME = 'org.chromium.mojo.shell'