Loading .idea/caches/build_file_checksums.ser −7 B (532 B) File changed.No diff preview for this file type. View original file View changed file app/build.gradle +0 −10 Original line number Diff line number Diff line buildscript { /*repositories { maven { url 'https://maven.fabric.io/public' } } dependencies { classpath 'io.fabric.tools:gradle:1.+' }*/ } import java.text.SimpleDateFormat; apply plugin: 'com.android.application' //apply plugin: 'io.fabric' def versionMajor = 1 def buildTime() { Loading @@ -24,7 +15,6 @@ android { defaultConfig { applicationId "io.eelo.drive" minSdkVersion 26 targetSdkVersion 26 versionCode 1 //versionName "1.0" versionName "alpha-${versionMajor}-build-${buildTime()}" Loading app/src/main/java/io/eelo/drive/services/InitializerService.java +0 −5 Original line number Diff line number Diff line Loading @@ -289,11 +289,6 @@ public class InitializerService extends Service implements OnRemoteOperationList .apply(); //all folder have been created JobUtils.scheduleScannerJob(this, 120000); NotificationManager nM = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE); nM.createNotificationChannel(new NotificationChannel(AppConstants.notificationChannelID, AppConstants.notificationChannelName, NotificationManager.IMPORTANCE_DEFAULT)); //JobUtils.stopScheduledJob(appContext, JobUtils.InitializerJobId); stopSelf(); Loading app/src/main/java/io/eelo/drive/services/OperationManagerService.java +6 −0 Original line number Diff line number Diff line Loading @@ -48,6 +48,7 @@ import io.eelo.drive.operations.UploadFileOperation; import io.eelo.drive.utils.AppConstants; import io.eelo.drive.utils.CommonUtils; import io.eelo.drive.utils.IGetOCClient; import io.eelo.drive.utils.JobUtils; /** * @author Vincent Bourgmayer Loading Loading @@ -106,6 +107,11 @@ public class OperationManagerService extends Service implements OnRemoteOperatio this.mStartedOperations = new Hashtable<RemoteOperation, Integer>(); this.lockedfilePath = new ArrayList<String>(); JobUtils.scheduleScannerJob(this, 120000); NotificationManager nM = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE); nM.createNotificationChannel(new NotificationChannel(AppConstants.notificationChannelID, AppConstants.notificationChannelName, NotificationManager.IMPORTANCE_DEFAULT)); //Get Account name and type then ask for OwnCloudClient. //The following step is the method "onOCClientReceived(...)". SharedPreferences prefs = this.getSharedPreferences(AppConstants.SHARED_PREFERENCE_NAME, Context.MODE_PRIVATE); Loading Loading
.idea/caches/build_file_checksums.ser −7 B (532 B) File changed.No diff preview for this file type. View original file View changed file
app/build.gradle +0 −10 Original line number Diff line number Diff line buildscript { /*repositories { maven { url 'https://maven.fabric.io/public' } } dependencies { classpath 'io.fabric.tools:gradle:1.+' }*/ } import java.text.SimpleDateFormat; apply plugin: 'com.android.application' //apply plugin: 'io.fabric' def versionMajor = 1 def buildTime() { Loading @@ -24,7 +15,6 @@ android { defaultConfig { applicationId "io.eelo.drive" minSdkVersion 26 targetSdkVersion 26 versionCode 1 //versionName "1.0" versionName "alpha-${versionMajor}-build-${buildTime()}" Loading
app/src/main/java/io/eelo/drive/services/InitializerService.java +0 −5 Original line number Diff line number Diff line Loading @@ -289,11 +289,6 @@ public class InitializerService extends Service implements OnRemoteOperationList .apply(); //all folder have been created JobUtils.scheduleScannerJob(this, 120000); NotificationManager nM = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE); nM.createNotificationChannel(new NotificationChannel(AppConstants.notificationChannelID, AppConstants.notificationChannelName, NotificationManager.IMPORTANCE_DEFAULT)); //JobUtils.stopScheduledJob(appContext, JobUtils.InitializerJobId); stopSelf(); Loading
app/src/main/java/io/eelo/drive/services/OperationManagerService.java +6 −0 Original line number Diff line number Diff line Loading @@ -48,6 +48,7 @@ import io.eelo.drive.operations.UploadFileOperation; import io.eelo.drive.utils.AppConstants; import io.eelo.drive.utils.CommonUtils; import io.eelo.drive.utils.IGetOCClient; import io.eelo.drive.utils.JobUtils; /** * @author Vincent Bourgmayer Loading Loading @@ -106,6 +107,11 @@ public class OperationManagerService extends Service implements OnRemoteOperatio this.mStartedOperations = new Hashtable<RemoteOperation, Integer>(); this.lockedfilePath = new ArrayList<String>(); JobUtils.scheduleScannerJob(this, 120000); NotificationManager nM = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE); nM.createNotificationChannel(new NotificationChannel(AppConstants.notificationChannelID, AppConstants.notificationChannelName, NotificationManager.IMPORTANCE_DEFAULT)); //Get Account name and type then ask for OwnCloudClient. //The following step is the method "onOCClientReceived(...)". SharedPreferences prefs = this.getSharedPreferences(AppConstants.SHARED_PREFERENCE_NAME, Context.MODE_PRIVATE); Loading