This commit is contained in:
Gunther Brunner
2014-09-02 12:24:07 +09:00
parent 12eaf5182f
commit a0e0d2228a
14 changed files with 31 additions and 31 deletions

View File

@@ -235,8 +235,8 @@ module.exports = syrup.serial()
.then(function() {
return service.pressKey('enter')
})
case '4.3': // tested: 4.3
case '4.4': // tested: 4.4.2
//case '4.3': // tested: 4.3
//case '4.4': // tested: 4.4.2
default:
return service.pressKey('tab').delay(1000)
.then(function() {

View File

@@ -562,7 +562,8 @@ module.exports = syrup.serial()
var response = apk.wire.GetRingerModeResponse.decode(data)
// Reflection to decode enums to their string values, otherwise
// we only get an integer
var ringerMode = apk.builder.lookup('jp.co.cyberagent.stf.proto.RingerMode')
var ringerMode = apk.builder.lookup(
'jp.co.cyberagent.stf.proto.RingerMode')
.children[response.mode].name
if (response.success) {
return ringerMode