Skip to content

Commit

Permalink
Update NotificationReceiveActivity.java
Browse files Browse the repository at this point in the history
  • Loading branch information
zond authored Apr 17, 2020
1 parent e8070fe commit 9432873
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ public static void sendNotification(Context context, Intent intent, String title
@Override
protected void onPostCreate(Bundle savedInstanceState) {
super.onPostCreate(savedInstanceState);
if (getIntent().getAction().equals(MessagingService.FCM_NOTIFY_ACTION)) {
if (MessagingService.FCM_NOTIFY_ACTION.equals(getIntent().getAction())) {
handleDiplicityJSON();
} else if (getIntent().getAction().equals(Alarm.DEADLINE_WARNING_ACTION)) {
} else if (Alarm.DEADLINE_WARNING_ACTION.equals(getIntent().getAction())) {
handleAlarm();
}
}
Expand Down

0 comments on commit 9432873

Please sign in to comment.