Skip to content

Commit fd450bb

Browse files
committed
Merge branch 'feat/app-start-extension-core' into feat/app-start-extension-android
2 parents 92f61ab + 064d3f1 commit fd450bb

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

sentry/src/main/java/io/sentry/IAppStartExtender.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,17 @@
1212
@ApiStatus.Internal
1313
public interface IAppStartExtender {
1414

15+
/**
16+
* Begins extending the app start. Intended to be called from {@code Application.onCreate} right
17+
* after SDK init. No-ops if the app start already finished, none is in progress, or it was
18+
* already extended (first call wins).
19+
*/
1520
void extendAppStart();
1621

22+
/**
23+
* Finishes the extended app start, allowing the app start transaction to complete. No-ops if the
24+
* app start was not extended or this was already called.
25+
*/
1726
void finishAppStart();
1827

1928
/**

0 commit comments

Comments
 (0)