Edrive fix issue 69
Remove delay of 30 minutes before first sync after /e/ account creation. Also add a small fix for nougat
But before I need to test fresh install on Oreo and nougat
Before Fix:
When you add your /e/ account,eDrive's initializer service is run and at its end it schedules a synchro in 31 minutes (with flex time of 5 min). As this is the Scheduled job which start ObserverService and ScreenOffReciever, you can't sync in the first 30 minutes of eDrive.
After fix:
At end of initialization, the screenOffReciever is already registered and the ObserverService is started.
How to test:
Take a photo. Create /e/ account on your phone. wait 2-3 minutes and check if you photo is in the cloud. If yes it is a success.