Skip to content

Commit

Permalink
docs: add changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
fractalwrench committed May 4, 2021
1 parent a27c2af commit c08e2a4
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## TBD

### Enhancements

* Unity: add methods for setting autoNotify and autoDetectAnrs
[#1233](https://github.com/bugsnag/bugsnag-android/pull/1233)

## 5.9.1 (2021-04-22)

### Bug fixes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public class Client implements MetadataAware, CallbackAware, UserAware {
final LastRunInfoStore lastRunInfoStore;
final LaunchCrashTracker launchCrashTracker;
final BackgroundTaskService bgTaskService = new BackgroundTaskService();
private ExceptionHandler exceptionHandler;
private final ExceptionHandler exceptionHandler;

/**
* Initialize a Bugsnag client
Expand Down Expand Up @@ -264,7 +264,8 @@ public Unit invoke(String activity, Map<String, ?> metadata) {
Logger logger,
DeliveryDelegate deliveryDelegate,
LastRunInfoStore lastRunInfoStore,
LaunchCrashTracker launchCrashTracker
LaunchCrashTracker launchCrashTracker,
ExceptionHandler exceptionHandler
) {
this.immutableConfig = immutableConfig;
this.metadataState = metadataState;
Expand All @@ -289,6 +290,7 @@ public Unit invoke(String activity, Map<String, ?> metadata) {
this.lastRunInfoStore = lastRunInfoStore;
this.launchCrashTracker = launchCrashTracker;
this.lastRunInfo = null;
this.exceptionHandler = exceptionHandler;
}

private LastRunInfo loadLastRunInfo() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ public class ClientFacadeTest {
@Mock
LaunchCrashTracker launchCrashTracker;

@Mock
ExceptionHandler exceptionHandler;

private Client client;
private InterceptingLogger logger;

Expand Down Expand Up @@ -129,7 +132,8 @@ public void setUp() {
logger,
deliveryDelegate,
lastRunInfoStore,
launchCrashTracker
launchCrashTracker,
exceptionHandler
);

// required fields for generating an event
Expand Down

0 comments on commit c08e2a4

Please sign in to comment.