Silence excessive logging from scroll events

This commit is contained in:
Andrew Grieve 2014-01-13 12:07:14 -05:00
parent 0777a660bf
commit 1cee6e309b

View File

@ -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 {
}
}
}