cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From macdo...@apache.org
Subject android commit: CB-1829: Online/Offline events do not fire on subsequent pages of an app
Date Fri, 09 Nov 2012 16:29:01 GMT
Updated Branches:
  refs/heads/master e51b4897a -> dc459c84a


CB-1829: Online/Offline events do not fire on subsequent pages of an app


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/commit/dc459c84
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/tree/dc459c84
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/diff/dc459c84

Branch: refs/heads/master
Commit: dc459c84a36f90f2383203ceab56a47341360937
Parents: e51b489
Author: Simon MacDonald <simon.macdonald@gmail.com>
Authored: Fri Nov 9 11:28:50 2012 -0500
Committer: Simon MacDonald <simon.macdonald@gmail.com>
Committed: Fri Nov 9 11:28:50 2012 -0500

----------------------------------------------------------------------
 .../src/org/apache/cordova/NetworkManager.java     |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/dc459c84/framework/src/org/apache/cordova/NetworkManager.java
----------------------------------------------------------------------
diff --git a/framework/src/org/apache/cordova/NetworkManager.java b/framework/src/org/apache/cordova/NetworkManager.java
index 5d87918..af2fc7d 100755
--- a/framework/src/org/apache/cordova/NetworkManager.java
+++ b/framework/src/org/apache/cordova/NetworkManager.java
@@ -147,13 +147,6 @@ public class NetworkManager extends CordovaPlugin {
         }
     }
 
-    /**
-     * Stop the network receiver on navigation.
-     */
-    public void onReset() {
-        this.onDestroy();
-    }
-
     //--------------------------------------------------------------------------
     // LOCAL METHODS
     //--------------------------------------------------------------------------


Mime
View raw message