Add ICU message format support
[chromium-blink-merge.git] / build / android / pylib / restart_adbd.sh
blob393b2ebac04528d64eb7b5a29f6a2087afcf3a57
1 #!/system/bin/sh
3 # Copyright 2014 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
7 # Android shell script to restart adbd on the device. This has to be run
8 # atomically as a shell script because stopping adbd prevents further commands
9 # from running (even if called in the same adb shell).
11 trap '' HUP
12 trap '' TERM
13 trap '' PIPE
15 function restart() {
16 stop adbd
17 start adbd
20 restart &