Index: build/android/adb_kill_chrome_public |
diff --git a/build/android/adb_kill_android_webview_shell b/build/android/adb_kill_chrome_public |
similarity index 67% |
copy from build/android/adb_kill_android_webview_shell |
copy to build/android/adb_kill_chrome_public |
index 5f287f0826642b4c61fbd1c319a01ee8e09d7f75..5b539a043d4d910834f00c45b49112c89ec7bb17 100755 |
--- a/build/android/adb_kill_android_webview_shell |
+++ b/build/android/adb_kill_chrome_public |
@@ -4,14 +4,14 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
# |
-# Kill a running android webview shell. |
+# Kill a running instance of ChromePublic. |
# |
# Assumes you have sourced the build/android/envsetup.sh script. |
-SHELL_PID_LINES=$(adb shell ps | grep ' org.chromium.android_webview.shell') |
+SHELL_PID_LINES=$(adb shell ps | grep -w 'org.chromium.chrome') |
VAL=$(echo "$SHELL_PID_LINES" | wc -l) |
if [ $VAL -lt 1 ] ; then |
- echo "Not running android webview shell." |
+ echo "Not running ChromePublic." |
else |
SHELL_PID=$(echo $SHELL_PID_LINES | awk '{print $2}') |
if [ "$SHELL_PID" != "" ] ; then |
@@ -19,6 +19,6 @@ else |
adb shell kill $SHELL_PID |
set - |
else |
- echo "Android webview shell does not appear to be running." |
+ echo "ChromePublic does not appear to be running." |
fi |
fi |