Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b56fd64a authored by Vincent Bourgmayer's avatar Vincent Bourgmayer
Browse files

fix userQuota variable type

parents c5f2c70a 7de41354
Loading
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -52,7 +52,6 @@ public class EdriveApplication extends Application {
            Log.d(TAG, "Account already registered");
            startRecursiveFileObserver();


            Intent SynchronizationServiceIntent = new Intent(getApplicationContext(), SynchronizationService.class);
            startService(SynchronizationServiceIntent);

+1 −1
Original line number Diff line number Diff line
@@ -153,7 +153,7 @@ public class SynchronizationService extends Service implements OnRemoteOperation
        } else {
            String operationClassName = callerOperation.getClass().getSimpleName();
            if (callerOperation instanceof UploadFileOperation) {
                final Double relativeQuota = (Double) result.getData().get(1);
                final Float relativeQuota = (Float) result.getData().get(1);
                if (relativeQuota >= 99.0) {
                    addNotification(getString(R.string.notif_quota_nearlyReached_title), getString(R.string.notif_quota_99Plus_text));
                } else if (relativeQuota >= 90.0) {