[android] Upload osm changes when application is hidden.

This commit is contained in:
Dmitry Yunitsky 2016-01-29 20:15:55 +03:00 committed by Sergey Yershov
parent 295f7587dc
commit d0057f1336

View file

@ -38,6 +38,7 @@ public final class Editor
Editor.nativeIsNameEditable();
}
@WorkerThread
public static void uploadChanges()
{
if (nativeHasSomethingToUpload() &&
@ -64,5 +65,5 @@ public final class Editor
public static native boolean nativeHasSomethingToUpload();
@WorkerThread
public static native void nativeUploadChanges(String token, String secret);
private static native void nativeUploadChanges(String token, String secret);
}