Skip to content

Commit de0fc16

Browse files
committed
rename intent variable
1 parent c82cb08 commit de0fc16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

android/src/main/java/com/dieam/reactnativepushnotification/modules/RNPushNotificationHelper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -499,8 +499,8 @@ public void sendToNotificationCentreWithPicture(Bundle bundle, Bitmap largeIconB
499499
notification.setContentIntent(pendingIntent);
500500

501501
if (bundle.getBoolean("fullScreenIntent")) {
502-
PendingIntent pendingIntent = PendingIntent.getActivity(context, 0, new Intent(), 0);
503-
notification.setFullScreenIntent(pendingIntent, true);
502+
PendingIntent dummyPendingIntent = PendingIntent.getActivity(context, 0, new Intent(), 0);
503+
notification.setFullScreenIntent(dummyPendingIntent, true);
504504
}
505505
if (bundle.getString("categoryAndroid") != null) {
506506
notification.setCategory(bundle.getString("categoryAndroid"));

0 commit comments

Comments
 (0)