Skip to content

Commit ec4db36

Browse files
committed
Merge pull request #57 from Leanplum/feature/fix-LP-5057
fix(Push): add null checker at LeanplumPushService.openNotification m…
1 parent 31322fb commit ec4db36

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

AndroidSDK/src/com/leanplum/LeanplumPushService.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,9 @@ static void openNotification(Context context, final Bundle notification) {
383383

384384
if (shouldStartActivity) {
385385
Intent actionIntent = getActionIntent(context);
386+
if (actionIntent == null) {
387+
return;
388+
}
386389
actionIntent.putExtras(notification);
387390
actionIntent.addFlags(
388391
Intent.FLAG_ACTIVITY_CLEAR_TOP |

0 commit comments

Comments
 (0)