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

Commit dd8f899a authored by The Android Automerger's avatar The Android Automerger
Browse files

Revert "Restore broken CursorWindow.getType behavior."

This reverts commit aa32c30b.
parent f78da994
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -147,10 +147,8 @@ static jint nativeGetType(JNIEnv* env, jclass clazz, jint windowPtr,

    field_slot_t* fieldSlot = window->getFieldSlotWithCheck(row, column);
    if (!fieldSlot) {
        // FIXME: This is really broken but we have CTS tests that depend
        // on this legacy behavior.
        //throwExceptionWithRowCol(env, row, column);
        return FIELD_TYPE_NULL;
        throwExceptionWithRowCol(env, row, column);
        return NULL;
    }
    return fieldSlot->type;
}