Implement automated login (Google Account).

This commit is contained in:
Valverde Antonio
2014-07-10 12:02:50 +09:00
parent 87a51ef76d
commit d398b7e5fb
8 changed files with 252 additions and 6 deletions

View File

@@ -223,7 +223,14 @@ module.exports = function ControlServiceFactory(
}
this.addAccountMenu = function() {
return sendTwoWay('account.add')
return sendTwoWay('account.addmenu')
}
this.addAccount = function(user, password) {
return sendTwoWay('account.add', {
user: user
, password: password
})
}
this.setRingerMode = function(mode) {