mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 23:28:42 +03:00
Fix empty notification
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
b3a3d25186
commit
913e8659a9
3 changed files with 5 additions and 0 deletions
|
@ -129,6 +129,7 @@ public class FileDownloader extends Service
|
|||
|
||||
mNotification = new NotificationCompat.Builder(this).setContentTitle(getApplicationContext().
|
||||
getResources().getString(R.string.app_name))
|
||||
.setContentText(getApplicationContext().getResources().getString(R.string.foreground_service_download))
|
||||
.setSmallIcon(R.drawable.notification_icon)
|
||||
.setLargeIcon(BitmapFactory.decodeResource(getResources(), R.drawable.notification_icon))
|
||||
.setColor(ThemeUtils.primaryColor())
|
||||
|
|
|
@ -420,6 +420,7 @@ public class FileUploader extends Service
|
|||
|
||||
mNotification = new NotificationCompat.Builder(this).setContentTitle(getApplicationContext().
|
||||
getResources().getString(R.string.app_name))
|
||||
.setContentText(getApplicationContext().getResources().getString(R.string.foreground_service_upload))
|
||||
.setSmallIcon(R.drawable.notification_icon)
|
||||
.setLargeIcon(BitmapFactory.decodeResource(getResources(), R.drawable.notification_icon))
|
||||
.setColor(ThemeUtils.primaryColor())
|
||||
|
|
|
@ -695,4 +695,7 @@
|
|||
<string name="whats_new_fingerprint_content">Use your fingerprint to unlock the app</string>
|
||||
<string name="fallback_weblogin_back">BACK</string>
|
||||
<string name="fallback_weblogin_text">Go back to old login method</string>
|
||||
|
||||
<string name="foreground_service_upload">Uploading files...</string>
|
||||
<string name="foreground_service_download">Downloading files...</string>
|
||||
</resources>
|
||||
|
|
Loading…
Reference in a new issue