Skip to content

Commit

Permalink
One last pair of fixes for release builds
Browse files Browse the repository at this point in the history
If only Android Studio would analyze files
in the *release* variant, not just debug (etc)
  • Loading branch information
jensck committed Oct 4, 2018
1 parent f176420 commit c40bd98
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public static void onApplicationCreated(Application app) {
@Override
public void doReport(@NotNull Throwable exception) {
if (coveredByGDPR) {
return
return;
}
Log.e("ParticleApp", "Sending error to Crashlytics:", exception);
Crashlytics.logException(exception);
Expand All @@ -43,7 +43,7 @@ public void doReport(@NotNull Throwable exception) {
@Override
public void doLog(@NotNull String msg) {
if (coveredByGDPR) {
return
return;
}
Crashlytics.log(msg);
}
Expand Down

0 comments on commit c40bd98

Please sign in to comment.