[Account] Fixed native call.
authorPawel Andruszkiewicz <p.andruszkie@samsung.com>
Thu, 16 Apr 2015 07:59:01 +0000 (09:59 +0200)
committerPawel Andruszkiewicz <p.andruszkie@samsung.com>
Tue, 21 Apr 2015 08:39:48 +0000 (17:39 +0900)
Change-Id: I91f4509459c7351ccf905939718ca0f8f9cd80f0

src/account/account_api.js

index fde5a78448ce6a80a2d3359db4a0200fdc1b3b70..00aeee9babb4a25174adbd50b65f810d0e48df35 100644 (file)
@@ -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);