Skip to content

Commit

Permalink
remove typo null check on client
Browse files Browse the repository at this point in the history
  • Loading branch information
fractalwrench committed Jan 9, 2018
1 parent 9332793 commit acf41b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/src/main/java/com/bugsnag/android/SessionTracker.java
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ private Session generateSession(@NonNull Date date, @Nullable User user, boolean
*/
private void trackSessionIfNeeded(boolean autoCaptured, Session session) {
String releaseStage = getReleaseStage();
boolean notifyForRelease = client != null && configuration.shouldNotifyForReleaseStage(releaseStage);
boolean notifyForRelease = configuration.shouldNotifyForReleaseStage(releaseStage);

if ((configuration.shouldAutoCaptureSessions() || !autoCaptured) && notifyForRelease) {
sessionQueue.add(session);
Expand Down

0 comments on commit acf41b0

Please sign in to comment.