mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-23 18:02:15 -05:00
Show account name in certificate error notifications
getName() shows the user's name from the first identity for the account. What we really want is getDescription(), which is the account name that shows in the account list.
This commit is contained in:
parent
d67c054d4d
commit
c8150a12fa
@ -2647,7 +2647,7 @@ public class MessagingController implements Runnable {
|
||||
final PendingIntent pi = PendingIntent.getActivity(context,
|
||||
account.getAccountNumber(), i, PendingIntent.FLAG_UPDATE_CURRENT);
|
||||
final String title = context.getString(
|
||||
R.string.notification_certificate_error_title, account.getName());
|
||||
R.string.notification_certificate_error_title, account.getDescription());
|
||||
|
||||
final NotificationCompat.Builder builder = new NotificationBuilder(context);
|
||||
builder.setSmallIcon(R.drawable.ic_notify_new_mail);
|
||||
|
Loading…
Reference in New Issue
Block a user