stop bluetooth service while VTS test is running

Test: run VTS HAL BT test
Bug: 37153328
Change-Id: I615d96daff496096122cd18158c205073f4623a6
This commit is contained in:
Keun Soo Yim
2017-04-24 14:49:30 -07:00
parent 1fd47b29b3
commit 1965f73bac

View File

@@ -3,3 +3,12 @@ service bluetooth-1-0 /vendor/bin/hw/android.hardware.bluetooth@1.0-service
user bluetooth
group bluetooth
writepid /dev/stune/foreground/tasks
on property:vts.native_server.on=1 && property:ro.build.type=userdebug
stop bluetooth-1-0
on property:vts.native_server.on=1 && property:ro.build.type=eng
stop bluetooth-1-0
on property:vts.native_server.on=0 && property:ro.build.type=userdebug
start bluetooth-1-0
on property:vts.native_server.on=0 && property:ro.build.type=eng
start bluetooth-1-0