code: @TargetApi(Build.VERSION_CODES.HONEYCOMB)
      public static PendingIntent getActivities(Context context, int requestCode, Intent[] intents, int flags) {
          PendingIntent.getActivities(context, requestCode, intents, flags).cancel();
          return PendingIntent.getActivities(context, requestCode, intents, flags);
      }
docs: Create a new {@link PendingIntent} clearing previously created {@link PendingIntent} that does not work properly due to application's re-installation.
  Bugfix utility for this issue: https://code.google.com/p/android/issues/detail?id=61850