[Filesystem] Start numering callbacks with 1.
authorPawel Andruszkiewicz <p.andruszkie@samsung.com>
Wed, 29 Jul 2015 08:55:21 +0000 (10:55 +0200)
committerPawel Andruszkiewicz <p.andruszkie@samsung.com>
Wed, 29 Jul 2015 08:55:30 +0000 (10:55 +0200)
Fixes: UTC_filesystem_remove_listener_invalid_param_N_001
[Verification] [Verification] Wearable service UTC: 92/94
               Mobile TCT: 289/289

Change-Id: I7d64e0a125033d62a881c427d8c6a0f40073df74
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
src/filesystem/js/file_system_manager.js

index 836a4ccb9971519d93538b4aa01c8d2efad6e241..161a51f97ceaa9e9082d9300a83be972b828948e 100755 (executable)
@@ -145,7 +145,7 @@ var callbackId = 0;
 var callbacks = {};
 
 function nextCallbackId() {
-  return callbackId++;
+  return ++callbackId;
 }
 
 function _StorageStateChangeListener(result) {