1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-26 14:21:16 +00:00
syncthing-android/app
Catfriend1 976d9f9bad
Add option to trigger sync every hour (fixes #15) (#387)
* AndroidManifest: Add SyncTriggerJobService

* Add Constants#isRunningOnEmulator

* Add Constants: WAIT_FOR_NEXT_SYNC_DELAY_SECS, TRIGGERED_SYNC_DURATION_SECS

* WIP: Schedule Job in BootReceiver

* Add Util/JobUtils

* Util/JobUtils: Improve log text

* Add service/SyncTriggerJobService

scheduled by JobScheduler. See JobUtils#scheduleSyncTriggerServiceJob for more details.

* RunConditionMonitor: Add SyncTriggerReceiver

via LocalBroadcastReceiver.

* BootReceiver: Add ToDo

* Add pref: PREF_RUN_ON_TIME_SCHEDULE

* Fine tune debug constants - time intervals

* JobUtils: In seconds please

* Add strings: en-GB

* RunConditionMonitor: Implement hourly sync time frames (fixes #15)

* Imported translation: de

* Fix lint: .JOB_SCHEDULER_SERVICE, API 21 instead of 23

* JobUtils: Noop on Android API level before 21 (L)

* Fix lint: RequiresApi(21) for SyncTriggerJobService

* Hide pref "run on time schedule" on Android < 5.x

* JobUtils: Show time of grace in brackets when logged

* BootReceiver: Realign comment, remove unnecessary code
2019-03-29 01:07:56 +01:00
..
src Add option to trigger sync every hour (fixes #15) (#387) 2019-03-29 01:07:56 +01:00
.gitignore Revert "Revert build script changes" 2017-10-24 14:55:28 +09:00
build.gradle Update APK version to 1.1.0.6 / 1010006 2019-03-25 10:38:12 +01:00
lint.xml Ignore notices about updating gradle dependencies 2019-01-26 22:00:15 +01:00
postbuild.py postbuild script - Improve cross-platform compatibility (#208) 2019-01-06 21:12:23 +01:00