diff --git a/app/src/main/java/foundation/e/drive/services/SynchronizationService.java b/app/src/main/java/foundation/e/drive/services/SynchronizationService.java
index afc77d70aec182aa708f95a36d7d8770011295c2..76574de23abf28fb98cc812985198f5493d4b1b5 100644
--- a/app/src/main/java/foundation/e/drive/services/SynchronizationService.java
+++ b/app/src/main/java/foundation/e/drive/services/SynchronizationService.java
@@ -155,11 +155,11 @@ public class SynchronizationService extends Service implements OnRemoteOperation
if (callerOperation instanceof UploadFileOperation) {
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));
+ addNotification(getString(R.string.notif_quota_99Plus_title), getString(R.string.notif_quota_99Plus_text));
} else if (relativeQuota >= 90.0) {
- addNotification(getString(R.string.notif_quota_nearlyReached_title), getString(R.string.notif_quota_90Plus_text));
+ addNotification(getString(R.string.notif_quota_80plus_title), getString(R.string.notif_quota_90Plus_text));
} else if (relativeQuota >= 80.0) {
- addNotification(getString(R.string.notif_quota_nearlyReached_title), getString(R.string.notif_quota_80Plus_text));
+ addNotification(getString(R.string.notif_quota_80plus_title), getString(R.string.notif_quota_80Plus_text));
}
}
switch (result.getCode()) {
@@ -200,7 +200,7 @@ public class SynchronizationService extends Service implements OnRemoteOperation
case QUOTA_EXCEEDED:
//Case specific to UploadFileOperation
Log.w(TAG, "Quota_EXCEEDED");
- addNotification(getString(R.string.notif_quota_execeeded_title), getString(R.string.notif_quota_execeeded_text));
+ addNotification(getString(R.string.notif_quota_99Plus_title), getString(R.string.notif_quota_execeeded_text));
break;
case FILE_NOT_FOUND:
//Case specific to DownloadFileOperation
@@ -246,7 +246,8 @@ public class SynchronizationService extends Service implements OnRemoteOperation
new NotificationCompat.Builder(this, AppConstants.notificationChannelID)
.setSmallIcon(android.R.drawable.stat_sys_warning)
.setContentTitle(title)
- .setContentText(text+ client.getBaseUri());
+ .setContentText(text)
+ .setStyle(new NotificationCompat.BigTextStyle().bigText(text));
// Add as notification
final NotificationManager manager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
manager.notify(0, builder.build());
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index a53cf3fce79132d863a778a32093d9f9df27262b..d88a99e60f97ab783a5548b9c3918e1707f4ad8d 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -23,10 +23,10 @@
eDrive\'s notification
eDrive\'s notification channel
- /e/ account\'s quota reached
- /e/ account\'s quota nearly reached
- eDrive can\'t upload a file that is bigger than remaining quota at:
- You filled 99% of your /e/\'s account quota. check:
- You filled 90% of your /e/\'s account quota. check:
- You filled 80% of your /e/\'s account quota. check:
+ Your cloud storage is full.
+ Your cloud storage is nearly full.
+ Impossible to upload a file which is bigger than your free alloted cloud storage. Please take action.
+ 99% of your allotted cloud storage is used. Please take action.
+ You\'ve filled your allotted cloud storage up to 90%.
+ You\'ve filled your allotted cloud storage up to 80%.