forked from organicmaps/organicmaps
[android] Upload osm changes when application is hidden.
This commit is contained in:
parent
295f7587dc
commit
d0057f1336
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue