mirror of
https://github.com/apache/cordova-android.git
synced 2025-03-16 08:21:04 +08:00
Silence excessive logging from scroll events
This commit is contained in:
parent
0777a660bf
commit
1cee6e309b
@ -1131,7 +1131,10 @@ public class CordovaActivity extends Activity implements CordovaInterface {
|
|||||||
* @return Object or null
|
* @return Object or null
|
||||||
*/
|
*/
|
||||||
public Object onMessage(String id, Object data) {
|
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 ("splashscreen".equals(id)) {
|
||||||
if ("hide".equals(data.toString())) {
|
if ("hide".equals(data.toString())) {
|
||||||
this.removeSplashScreen();
|
this.removeSplashScreen();
|
||||||
@ -1178,4 +1181,3 @@ public class CordovaActivity extends Activity implements CordovaInterface {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user