OLD | NEW |
1 #!/bin/bash | 1 #!/bin/bash |
2 # | 2 # |
3 # Copyright 2016 The Chromium Authors. All rights reserved. | 3 # Copyright 2016 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 no flags are given, prints the current cast shell flags. | 7 # If no flags are given, prints the current cast shell flags. |
8 # | 8 # |
9 # Otherwise, the given flags are used to REPLACE (not modify) the cast shell | 9 # Otherwise, the given flags are used to REPLACE (not modify) the cast shell |
10 # flags. For example: | 10 # flags. For example: |
11 # apk_command_line --enable-media-thread-for-media-playback | 11 # adb_cast_shell_command_line --enable-media-thread-for-media-playback |
12 # | 12 # |
13 # If multiple devices are connected, use the --device argument to specify the | 13 # If multiple devices are connected, use the --device argument to specify the |
14 # device ID. You can use | 14 # device ID. You can use |
15 # adb devices | 15 # adb devices |
16 # ... to find the device's ID. | 16 # ... to find the device's ID. |
17 # | 17 # |
18 # To remove all content shell flags, pass an empty string for the flags: | 18 # To remove all content shell flags, pass an empty string for the flags: |
19 # apk_command_line "" | 19 # adb_cast_shell_command_line "" |
20 | 20 |
21 exec $(dirname $0)/../../build/android/adb_command_line.py -e cast_shell \ | 21 exec $(dirname $0)/adb_command_line.py --name castshell-command-line "$@" |
22 --device-path /data/local/tmp/castshell-command-line "$@" | |
OLD | NEW |