Android: Add missing 'L' prefix and ';' postfix in areaToRect()

While it works just fine without the post-/prefix, they are suppose
to be there...

Change-Id: I99365d37c70c65ccf0713d6b2d8330030b265e8e
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
This commit is contained in:
Christian Strømme
2013-12-02 17:05:44 +01:00
committed by The Qt Project
parent 14f31c29cf
commit 186aca3ba7

View File

@@ -54,7 +54,7 @@ static QMap<int, JCamera*> g_objectMap;
static QRect areaToRect(jobject areaObj)
{
QJNIObjectPrivate area(areaObj);
QJNIObjectPrivate rect = area.getObjectField("rect", "android/graphics/Rect");
QJNIObjectPrivate rect = area.getObjectField("rect", "Landroid/graphics/Rect;");
return QRect(rect.getField<jint>("left"),
rect.getField<jint>("top"),