mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 23:28:42 +03:00
Progress on fixing persistance disk sync
This commit is contained in:
parent
2be9cec609
commit
54545a9337
1 changed files with 1 additions and 1 deletions
|
@ -135,6 +135,7 @@ public class MainApp extends Application {
|
|||
@Override
|
||||
public void onActivityPaused(Activity activity) {
|
||||
Log_OC.d(activity.getClass().getSimpleName(), "onPause() ending");
|
||||
MainApp.getSyncedFolderObserverService().syncToDisk(false);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -151,7 +152,6 @@ public class MainApp extends Application {
|
|||
@Override
|
||||
public void onActivityDestroyed(Activity activity) {
|
||||
Log_OC.d(activity.getClass().getSimpleName(), "onDestroy() ending" );
|
||||
MainApp.getSyncedFolderObserverService().syncToDisk(false);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue