You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2014/01/13 18:08:06 UTC
android commit: Silence excessive logging from scroll events
Updated Branches:
refs/heads/master 0777a660b -> 1cee6e309
Silence excessive logging from scroll events
Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/1cee6e30
Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/1cee6e30
Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/1cee6e30
Branch: refs/heads/master
Commit: 1cee6e309ba247d84e5252cc8d626bbf9c73d256
Parents: 0777a66
Author: Andrew Grieve <ag...@chromium.org>
Authored: Mon Jan 13 12:07:14 2014 -0500
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Mon Jan 13 12:07:54 2014 -0500
----------------------------------------------------------------------
framework/src/org/apache/cordova/CordovaActivity.java | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/1cee6e30/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 a8ea6b6..9f8b020 100755
--- a/framework/src/org/apache/cordova/CordovaActivity.java
+++ b/framework/src/org/apache/cordova/CordovaActivity.java
@@ -1131,7 +1131,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();
@@ -1178,4 +1181,3 @@ public class CordovaActivity extends Activity implements CordovaInterface {
}
}
}
-