cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From na...@apache.org
Subject [09/32] git commit: Silence excessive logging from scroll events
Date Mon, 03 Feb 2014 20:26:10 GMT
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 <agrieve@chromium.org>
Authored: Mon Jan 13 12:07:14 2014 -0500
Committer: Archana Naik <naika@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();


Mime
View raw message