You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by na...@apache.org on 2014/02/03 21:26:10 UTC

[09/32] git commit: Silence excessive logging from scroll events

Silence excessive logging from scroll events


Project: http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/commit/8b5da02f
Tree: http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/tree/8b5da02f
Diff: http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/diff/8b5da02f

Branch: refs/heads/3.4.x
Commit: 8b5da02f53d0bdeacdd036b783c0727bf31c1c92
Parents: 8712bc9
Author: Andrew Grieve <ag...@chromium.org>
Authored: Mon Jan 13 12:07:14 2014 -0500
Committer: Archana Naik <na...@lab126.com>
Committed: Mon Feb 3 11:09:46 2014 -0800

----------------------------------------------------------------------
 framework/src/org/apache/cordova/CordovaActivity.java | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/blob/8b5da02f/framework/src/org/apache/cordova/CordovaActivity.java
----------------------------------------------------------------------
diff --git a/framework/src/org/apache/cordova/CordovaActivity.java b/framework/src/org/apache/cordova/CordovaActivity.java
index 28c51e2..6368b0d 100755
--- a/framework/src/org/apache/cordova/CordovaActivity.java
+++ b/framework/src/org/apache/cordova/CordovaActivity.java
@@ -1199,7 +1199,10 @@ public class CordovaActivity extends Activity implements CordovaInterface {
      * @return              Object or null
      */
     public Object onMessage(String id, Object data) {
-        LOG.d(TAG, "onMessage(" + id + "," + data + ")");
+        if (!"onScrollChanged".equals(id)) {
+            LOG.d(TAG, "onMessage(" + id + "," + data + ")");
+        }
+
         if ("splashscreen".equals(id)) {
             if ("hide".equals(data.toString())) {
                 this.removeSplashScreen();