Kiran | Added DrishtiSyncScheduler to schedule sync using alarm service at specific intervals. Added a SyncBroadcaseReceiver which triggers sync when the alarm triggers. Saved the sync progress status so that everytime home activity loads it will show the correct status. Changed LockingBackgroundTask to call setVisible only if lock is acquired. Upon login starting the sync scheduler. Deleted some unused classes.
Kiran | Added a receiver to Connectivity_Change which stops and starts sync scheduler based on connectivity. On schefuler stop not listening to ON_LOGOUT event. On login if connectivity is not there not starting scheduler. Changed initial sync delay to 5 seconds and sync interval to 1 minute.
Kiran | Fixed the version of drishti-app dependency in drishti-app-it pom
Kiran | Fixed the issue of trying to sync when user is not logged in.
Kiran | Fixied another instance where drishti-app version was wrongly referred in it pom.