Skip to content

Commit ba9c106

Browse files
chore(android): Remove dead code, cold start bool is now always present (#1861)
* chore(android): Remove dead code, cold start bool is now always present * Update CHANGELOG.md --------- Co-authored-by: Giancarlo Buenaflor <[email protected]>
1 parent cdd9dbd commit ba9c106

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Unreleased
44

5+
### Fixes
6+
7+
- Remove dead code, cold start bool is now always present ([#1861](https://github.com/getsentry/sentry-dart/pull/1861))
8+
59
### Dependencies
610

711
- Bump Cocoa SDK from v8.19.0 to v8.20.0 ([#1856](https://github.com/getsentry/sentry-dart/pull/1856))

flutter/android/src/main/kotlin/io/sentry/flutter/SentryFlutterPlugin.kt

-3
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,6 @@ class SentryFlutterPlugin : FlutterPlugin, MethodCallHandler, ActivityAware {
147147
if (appStartTime == null) {
148148
Log.w("Sentry", "App start won't be sent due to missing appStartTime")
149149
result.success(null)
150-
} else if (isColdStart == null) {
151-
Log.w("Sentry", "App start won't be sent due to missing isColdStart")
152-
result.success(null)
153150
} else {
154151
val appStartTimeMillis = DateUtils.nanosToMillis(appStartTime.nanoTimestamp().toDouble())
155152
val item = mapOf<String, Any?>(

0 commit comments

Comments
 (0)