mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 08:53:30 +02:00
F-06E doesn't find the STFService if we don't tell it which component to use.
This commit is contained in:
@@ -147,7 +147,11 @@ module.exports = syrup.serial()
|
||||
// So, we should be good to go.
|
||||
function openService() {
|
||||
log.info('Launching service')
|
||||
return callService(util.format("-a '%s'", apk.startAction))
|
||||
return callService(util.format(
|
||||
"-a '%s' -n '%s'"
|
||||
, apk.startIntent.action
|
||||
, apk.startIntent.component
|
||||
))
|
||||
.then(function() {
|
||||
return devutil.waitForPort(adb, options.serial, service.port)
|
||||
.timeout(15000)
|
||||
|
||||
@@ -22,8 +22,10 @@ module.exports = syrup.serial()
|
||||
, wire: ProtoBuf.loadProtoFile(
|
||||
pathutil.vendor('STFService/wire.proto')
|
||||
).build().jp.co.cyberagent.stf.proto
|
||||
, startAction: 'jp.co.cyberagent.stf.ACTION_START'
|
||||
, stopAction: 'jp.co.cyberagent.stf.ACTION_STOP'
|
||||
, startIntent: {
|
||||
action: 'jp.co.cyberagent.stf.ACTION_START'
|
||||
, component: 'jp.co.cyberagent.stf/.Service'
|
||||
}
|
||||
}
|
||||
|
||||
function getPath() {
|
||||
|
||||
Reference in New Issue
Block a user