File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
sentry-android-core/src/main/java/io/sentry/android/core/cache Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -126,9 +126,9 @@ public static boolean hasStartupCrashMarker(final @NotNull SentryOptions options
126126 final File crashMarkerFile = new File (outboxPath , STARTUP_CRASH_MARKER_FILE );
127127 try {
128128 final boolean exists =
129- options .getRuntimeManager ().runWithRelaxedPolicy (crashMarkerFile :: exists );
129+ options .getRuntimeManager ().runWithRelaxedPolicy (() -> crashMarkerFile . exists () );
130130 if (exists ) {
131- if (!options .getRuntimeManager ().runWithRelaxedPolicy (crashMarkerFile :: delete )) {
131+ if (!options .getRuntimeManager ().runWithRelaxedPolicy (() -> crashMarkerFile . delete () )) {
132132 options
133133 .getLogger ()
134134 .log (
@@ -260,10 +260,10 @@ void handle(
260260 AnrV2Integration .AnrV2Hint .class ,
261261 LAST_ANR_MARKER_LABEL ,
262262 LAST_ANR_REPORT ,
263- AnrV2Integration . AnrV2Hint :: timestamp ),
263+ anrV2Hint -> anrV2Hint . timestamp () ),
264264 new TimestampMarkerHandler <>(
265265 TombstoneIntegration .TombstoneHint .class ,
266266 LAST_TOMBSTONE_MARKER_LABEL ,
267267 LAST_TOMBSTONE_REPORT ,
268- TombstoneIntegration . TombstoneHint :: timestamp ));
268+ tombstoneHint -> tombstoneHint . timestamp () ));
269269}
You can’t perform that action at this time.
0 commit comments