Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b503f1ee authored by Jeff Brown's avatar Jeff Brown
Browse files

Don't throw on EPIPE in consumeBatchedInputEvents.

Bug: 6014825
Change-Id: I59bd98a1fba5d86f9793fd6e9d9f0a271ac1c789
parent e0dbd002
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -275,7 +275,7 @@ static void nativeConsumeBatchedInputEvents(JNIEnv* env, jclass clazz, jint rece
    sp<NativeInputEventReceiver> receiver =
            reinterpret_cast<NativeInputEventReceiver*>(receiverPtr);
    status_t status = receiver->consumeEvents(true /*consumeBatches*/);
    if (status) {
    if (status && status != DEAD_OBJECT) {
        String8 message;
        message.appendFormat("Failed to consume batched input event.  status=%d", status);
        jniThrowRuntimeException(env, message.string());