| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 # | 2 # |
| 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
| 5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
| 6 | 6 |
| 7 if [ $# -gt 0 ] ; then | 7 if [ $# -gt 0 ] ; then |
| 8 INTENT_ARGS="-d $1" # e.g. a URL | 8 INTENT_ARGS='-d "$1"' # e.g. a URL |
| 9 fi | 9 fi |
| 10 | 10 |
| 11 adb shell am start \ | 11 adb shell am start \ |
| 12 -a android.intent.action.VIEW \ | 12 -a android.intent.action.VIEW \ |
| 13 -n org.chromium.content_shell/.ContentShellActivity \ | 13 -n org.chromium.content_shell/.ContentShellActivity \ |
| 14 $INTENT_ARGS | 14 $INTENT_ARGS |
| OLD | NEW |