Skip to content

Commit 6109022

Browse files
authored
Merge pull request #413 from Iterable/fix-mob-3769
Test Fix for PR - Allowed Protocols
2 parents 9e0a29f + a278c7d commit 6109022

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

iterableapi/src/main/java/com/iterable/iterableapi/IterableApi.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ public static void initialize(@NonNull Context context, @NonNull String apiKey,
299299

300300
if (sharedInstance.inAppManager == null) {
301301
sharedInstance.inAppManager = new IterableInAppManager(sharedInstance, sharedInstance.config.inAppHandler,
302-
sharedInstance.config.inAppDisplayInterval, config.allowedProtocols);
302+
sharedInstance.config.inAppDisplayInterval, sharedInstance.config.allowedProtocols);
303303
}
304304

305305
loadLastSavedConfiguration(context);

iterableapi/src/main/java/com/iterable/iterableapi/IterableNotificationBuilder.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public void createNotificationActionButton(Context context, IterableNotification
119119
buttonIntent.putExtra(IterableConstants.ACTION_IDENTIFIER, button.identifier);
120120

121121
PendingIntent pendingButtonIntent = PendingIntent.getBroadcast(context, buttonIntent.hashCode(),
122-
buttonIntent, PendingIntent.FLAG_UPDATE_CURRENT | PendingIntent.FLAG_IMMUTABLE);
122+
buttonIntent, PendingIntent.FLAG_UPDATE_CURRENT);
123123

124124
NotificationCompat.Action.Builder actionBuilder = new NotificationCompat.Action
125125
.Builder(NotificationCompat.BADGE_ICON_NONE, button.title, pendingButtonIntent);

iterableapi/src/main/java/com/iterable/iterableapi/IterableNotificationHelper.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ public IterableNotificationBuilder createNotification(Context context, Bundle ex
193193
}
194194

195195
PendingIntent notificationClickedIntent = PendingIntent.getBroadcast(context, notificationBuilder.requestCode,
196-
pushContentIntent, PendingIntent.FLAG_UPDATE_CURRENT | PendingIntent.FLAG_IMMUTABLE);
196+
pushContentIntent, PendingIntent.FLAG_UPDATE_CURRENT);
197197

198198
notificationBuilder.setContentIntent(notificationClickedIntent);
199199
notificationBuilder.setIsGhostPush(isGhostPush(extras));

0 commit comments

Comments
 (0)