prepares release 2.13.0

This commit is contained in:
tom79 2019-08-05 16:02:54 +02:00
parent 08d33d0a39
commit bf328b11e1
1 changed files with 3 additions and 1 deletions

View File

@ -1068,7 +1068,9 @@ public class Helper {
final SharedPreferences sharedpreferences = context.getSharedPreferences(Helper.APP_PREFS, Context.MODE_PRIVATE);
// prepare intent which is triggered if the user click on the notification
NotificationManagerCompat notificationManager = NotificationManagerCompat.from(context);
int notificationId = Integer.parseInt(account.getId());
String val = account.getId().replaceAll("[^A-Za-z]", "");
int notificationId = Integer.parseInt(val);
PendingIntent pIntent = PendingIntent.getActivity(context, notificationId, intent, PendingIntent.FLAG_ONE_SHOT);
intent.setFlags(Intent.FLAG_ACTIVITY_BROUGHT_TO_FRONT | Intent.FLAG_ACTIVITY_CLEAR_TOP);