Repository: cordova-plugin-device-motion
Updated Branches:
  refs/heads/master ae7d473cc -> 6b417a1cb


revert wp8 commit: 90ef274


Project: 
http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/commit/6b417a1c
Tree: 
http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/tree/6b417a1c
Diff: 
http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/diff/6b417a1c

Branch: refs/heads/master
Commit: 6b417a1cbbcc77ce2fa9b0bb5e100df133fabcf6
Parents: ae7d473
Author: Jesse MacFadyen <[email protected]>
Authored: Wed Oct 28 09:39:23 2015 -0700
Committer: Jesse MacFadyen <[email protected]>
Committed: Wed Oct 28 09:39:23 2015 -0700

----------------------------------------------------------------------
 src/wp/Accelerometer.cs | 5 -----
 1 file changed, 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/blob/6b417a1c/src/wp/Accelerometer.cs
----------------------------------------------------------------------
diff --git a/src/wp/Accelerometer.cs b/src/wp/Accelerometer.cs
index d7a95b5..33c5434 100644
--- a/src/wp/Accelerometer.cs
+++ b/src/wp/Accelerometer.cs
@@ -93,12 +93,7 @@ namespace WPCordovaClassLib.Cordova.Commands
             {
                 this.SetStatus(ErrorFailedToStart);
                 DispatchCommandResult(new 
PluginResult(PluginResult.Status.IO_EXCEPTION, ErrorFailedToStart), 
watchCallbackId);
-                return;
             }
-            PluginResult result = new PluginResult(PluginResult.Status.OK);
-            result.KeepCallback = true;
-            DispatchCommandResult(result,watchCallbackId);
-
         }
 
         public void stop(string options)


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to