1 package org.robolectric.shadows; 2 3 import android.view.InputEventReceiver; 4 import org.robolectric.annotation.Implementation; 5 import org.robolectric.annotation.Implements; 6 7 @Implements(value = InputEventReceiver.class, isInAndroidSdk = false) 8 public class ShadowInputEventReceiver { 9 @Implementation 10 public void consumeBatchedInputEvents(long frameTimeNanos) { 11 // The real implementation of this calls a JNI method, and logs a statement if the native 12 // object isn't present. Since the native object will never be present in Robolectric tests, it 13 // ends up being rather spammy in test logs, so we no-op it. 14 } 15 } 16