fixed legacy translation of image received

This commit is contained in:
iNPUTmice 2015-01-19 12:14:30 +01:00
parent e5dffcfb07
commit 4cbf8120f5
1 changed files with 3 additions and 1 deletions

View File

@ -296,7 +296,9 @@ public class NotificationService {
bigPictureStyle.setSummaryText(getMergedBodies(tmp));
builder.setContentText(UIHelper.getMessagePreview(mXmppConnectionService,tmp.get(0)).first);
} else {
builder.setContentText(mXmppConnectionService.getString(R.string.image_file));
builder.setContentText(mXmppConnectionService.getString(
R.string.received_x_file,
UIHelper.getFileDescriptionString(mXmppConnectionService,message)));
}
builder.setStyle(bigPictureStyle);
} catch (final FileNotFoundException e) {