diff options
author | Treehugger Robot | 2017-04-27 18:06:52 -0500 |
---|---|---|
committer | Gerrit Code Review | 2017-04-27 18:06:53 -0500 |
commit | 9ebee6d5b42f48b5db9fc67ebfd6828a6b673dd8 (patch) | |
tree | eebaa3b3b49e9f65124a07a4711b74c8316fbcfc | |
parent | 9af336425e2172a9639480a5399ad0e55e3f43c1 (diff) | |
parent | ce89d5816ff1a891bf3b701f471dc60c65d8ccbe (diff) | |
download | platform-hardware-interfaces-9ebee6d5b42f48b5db9fc67ebfd6828a6b673dd8.tar.gz platform-hardware-interfaces-9ebee6d5b42f48b5db9fc67ebfd6828a6b673dd8.tar.xz platform-hardware-interfaces-9ebee6d5b42f48b5db9fc67ebfd6828a6b673dd8.zip |
Merge "stop bluetooth service while VTS test is running"
-rw-r--r-- | bluetooth/1.0/default/android.hardware.bluetooth@1.0-service.rc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bluetooth/1.0/default/android.hardware.bluetooth@1.0-service.rc b/bluetooth/1.0/default/android.hardware.bluetooth@1.0-service.rc index 0f76c39f..47cc13e3 100644 --- a/bluetooth/1.0/default/android.hardware.bluetooth@1.0-service.rc +++ b/bluetooth/1.0/default/android.hardware.bluetooth@1.0-service.rc | |||
@@ -3,3 +3,12 @@ service bluetooth-1-0 /vendor/bin/hw/android.hardware.bluetooth@1.0-service | |||
3 | user bluetooth | 3 | user bluetooth |
4 | group bluetooth | 4 | group bluetooth |
5 | writepid /dev/stune/foreground/tasks | 5 | writepid /dev/stune/foreground/tasks |
6 | |||
7 | on property:vts.native_server.on=1 && property:ro.build.type=userdebug | ||
8 | stop bluetooth-1-0 | ||
9 | on property:vts.native_server.on=1 && property:ro.build.type=eng | ||
10 | stop bluetooth-1-0 | ||
11 | on property:vts.native_server.on=0 && property:ro.build.type=userdebug | ||
12 | start bluetooth-1-0 | ||
13 | on property:vts.native_server.on=0 && property:ro.build.type=eng | ||
14 | start bluetooth-1-0 | ||