forked from organicmaps/organicmaps
[android] Added userAgent for bookmarks download manager
This commit is contained in:
parent
4b62d73f88
commit
a65763f678
1 changed files with 2 additions and 2 deletions
|
@ -1043,10 +1043,10 @@ Java_com_mapswithme_maps_Framework_nativeDisableFollowing(JNIEnv * env, jclass)
|
|||
frm()->GetRoutingManager().DisableFollowMode();
|
||||
}
|
||||
|
||||
JNIEXPORT void JNICALL
|
||||
JNIEXPORT jstring JNICALL
|
||||
Java_com_mapswithme_maps_Framework_nativeGetUserAgent(JNIEnv * env, jclass)
|
||||
{
|
||||
return static_cast<jstring>(GetPlatform().GetAppUserAgent());
|
||||
return jni::ToJavaString(env, GetPlatform().GetAppUserAgent());
|
||||
}
|
||||
|
||||
JNIEXPORT jobjectArray JNICALL
|
||||
|
|
Loading…
Add table
Reference in a new issue