LibreOfficeKit's Android binding: add Document.paintPartTile.

The engine sends LOK_CALLBACK_INVALIDATE_TILES only for areas a client has painted, and it records painted areas
only in paintPartTile (desktop/source/lib/init.cxx, CallbackFlushHandler::tilePainted). The Java binding offered
paintTile only, so after an edit no invalidation was ever sent and a client could not know what to draw again.
Used by Mkoma (studio.xplosion.mkoma) together with LOK_FEATURE_PART_IN_INVALIDATION_CALLBACK. MPL 2.0, as the file.

--- a/desktop/source/lib/lokandroid.cxx
+++ b/desktop/source/lib/lokandroid.cxx
@@ -267,6 +267,18 @@ extern "C" SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Document_paintTileNative
     pDocument->pClass->paintTile(pDocument, buffer, nCanvasWidth, nCanvasHeight, nTilePosX, nTilePosY, nTileWidth, nTileHeight);
 }

+extern "C" SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Document_paintPartTileNative
+    (JNIEnv* pEnv, jobject aObject, jobject aByteBuffer, jint nPart, jint nMode,
+    jint nCanvasWidth, jint nCanvasHeight, jint nTilePosX, jint nTilePosY,
+    jint nTileWidth, jint nTileHeight)
+{
+    LibreOfficeKitDocument* pDocument = getHandle<LibreOfficeKitDocument>(pEnv, aObject);
+
+    unsigned char* buffer = (unsigned char*) pEnv->GetDirectBufferAddress(aByteBuffer);
+    pDocument->pClass->paintPartTile(pDocument, buffer, nPart, nMode, nCanvasWidth, nCanvasHeight,
+                                     nTilePosX, nTilePosY, nTileWidth, nTileHeight);
+}
+
 extern "C" SAL_JNI_EXPORT jlong JNICALL Java_org_libreoffice_kit_Document_getDocumentHeight
     (JNIEnv* pEnv, jobject aObject)
 {
