F-06E doesn't find the STFService if we don't tell it which component to use.

This commit is contained in:
Simo Kinnunen
2014-05-30 00:00:24 +09:00
parent f09fb07606
commit 36f62f3276
2 changed files with 9 additions and 3 deletions

View File

@@ -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)