mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 19:10:11 +01:00
Android 5 Lollipop compatibility
This commit is contained in:
@@ -808,7 +808,7 @@ public class FragmentAccount extends FragmentEx {
|
||||
ServiceSynchronize.reload(getContext(), "save account");
|
||||
|
||||
if (!synchronize) {
|
||||
NotificationManager nm = getContext().getSystemService(NotificationManager.class);
|
||||
NotificationManager nm = (NotificationManager) getContext().getSystemService(Context.NOTIFICATION_SERVICE);
|
||||
nm.cancel("receive", account.id.intValue());
|
||||
}
|
||||
|
||||
@@ -1138,6 +1138,7 @@ public class FragmentAccount extends FragmentEx {
|
||||
null,
|
||||
null,
|
||||
new String[]{provider.type},
|
||||
false,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
|
||||
Reference in New Issue
Block a user