Skip to content

Commit

Permalink
chore(android): Remove dead code, cold start bool is now always prese…
Browse files Browse the repository at this point in the history
…nt (#1861)

* chore(android): Remove dead code, cold start bool is now always present

* Update CHANGELOG.md

---------

Co-authored-by: Giancarlo Buenaflor <giancarlo_buenaflor@yahoo.com>
  • Loading branch information
krystofwoldrich and buenaflor authored Feb 6, 2024
1 parent cdd9dbd commit ba9c106
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### Fixes

- Remove dead code, cold start bool is now always present ([#1861](https://github.com/getsentry/sentry-dart/pull/1861))

### Dependencies

- Bump Cocoa SDK from v8.19.0 to v8.20.0 ([#1856](https://github.com/getsentry/sentry-dart/pull/1856))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,6 @@ class SentryFlutterPlugin : FlutterPlugin, MethodCallHandler, ActivityAware {
if (appStartTime == null) {
Log.w("Sentry", "App start won't be sent due to missing appStartTime")
result.success(null)
} else if (isColdStart == null) {
Log.w("Sentry", "App start won't be sent due to missing isColdStart")
result.success(null)
} else {
val appStartTimeMillis = DateUtils.nanosToMillis(appStartTime.nanoTimestamp().toDouble())
val item = mapOf<String, Any?>(
Expand Down

0 comments on commit ba9c106

Please sign in to comment.