From 744ad501afd19da8853002d63265b6b1cc28577d Mon Sep 17 00:00:00 2001
From: Pawel Andruszkiewicz
Date: Thu, 16 Apr 2015 09:59:01 +0200
Subject: [PATCH] [Account] Fixed native call.
Change-Id: I91f4509459c7351ccf905939718ca0f8f9cd80f0
---
src/account/account_api.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/account/account_api.js b/src/account/account_api.js
index fde5a784..00aeee9b 100644
--- a/src/account/account_api.js
+++ b/src/account/account_api.js
@@ -378,7 +378,7 @@ AccountListeners.prototype.removeListener = function(accountListenerId) {
if (T_.isEmptyObject(this.instances)) {
native_.removeListener(ACCOUNT_LISTENER, this.appCallback);
- var result = native_.callSync('AccountManager_removeListener');
+ var result = native_.callSync('AccountManager_removeAccountListener');
if (native_.isFailure(result)) {
throw native_.getErrorObject(result);
--
2.34.1