Commit 0e7364a
Fix Ensure app start type is set, even when ActivityLifecycleIntegration is not running (#4250)
* Fix Ensure app start type is set, even when ActivityLifecycleIntegration is not running (#4216)
* Ensure app start type is set, even when ActivityLifecycleIntegration is not activated
* Update Changelog
* Add proper tests
* Add code comments
* Unify handling
* Move all app start handling to AppStartMetrics
* Make tests happy
* Fix flaky RateLimiter test (#4100)
* changed RateLimiterTest `close cancels the timer` to use reflection
* Update sentry-android-core/src/main/java/io/sentry/android/core/ActivityLifecycleIntegration.java
Co-authored-by: Stefano <[email protected]>
* Address PR feedback
* Fix post-merge conflict
* Format code
* Address PR feedback
* Address PR feedback
* Update sentry-android-core/src/main/java/io/sentry/android/core/performance/AppStartMetrics.java
---------
Co-authored-by: Stefano <[email protected]>
Co-authored-by: Sentry Github Bot <[email protected]>
* Fix properly reset application/content-provider timespans
* Update Changelog
* Fix tests
---------
Co-authored-by: Stefano <[email protected]>
Co-authored-by: Sentry Github Bot <[email protected]>1 parent 1b7c68d commit 0e7364a
File tree
10 files changed
+324
-332
lines changed- sentry-android-core
- api
- src
- main/java/io/sentry/android/core
- performance
- test/java/io/sentry/android/core
- performance
10 files changed
+324
-332
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
471 | 471 | | |
472 | 472 | | |
473 | 473 | | |
474 | | - | |
475 | 474 | | |
| 475 | + | |
| 476 | + | |
476 | 477 | | |
477 | 478 | | |
478 | 479 | | |
479 | 480 | | |
480 | 481 | | |
481 | | - | |
482 | | - | |
| 482 | + | |
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
| |||
Lines changed: 1 addition & 28 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
| |||
83 | 82 | | |
84 | 83 | | |
85 | 84 | | |
86 | | - | |
87 | 85 | | |
88 | 86 | | |
89 | 87 | | |
| |||
400 | 398 | | |
401 | 399 | | |
402 | 400 | | |
403 | | - | |
404 | 401 | | |
405 | 402 | | |
406 | 403 | | |
| |||
411 | 408 | | |
412 | 409 | | |
413 | 410 | | |
414 | | - | |
415 | 411 | | |
416 | 412 | | |
417 | 413 | | |
| |||
516 | 512 | | |
517 | 513 | | |
518 | 514 | | |
519 | | - | |
520 | 515 | | |
521 | 516 | | |
522 | 517 | | |
| |||
577 | 572 | | |
578 | 573 | | |
579 | 574 | | |
580 | | - | |
| 575 | + | |
581 | 576 | | |
582 | 577 | | |
583 | 578 | | |
| |||
586 | 581 | | |
587 | 582 | | |
588 | 583 | | |
589 | | - | |
590 | 584 | | |
591 | 585 | | |
592 | 586 | | |
| |||
728 | 722 | | |
729 | 723 | | |
730 | 724 | | |
731 | | - | |
732 | | - | |
733 | | - | |
734 | | - | |
735 | | - | |
736 | | - | |
737 | | - | |
738 | | - | |
739 | | - | |
740 | | - | |
741 | | - | |
742 | | - | |
743 | | - | |
744 | | - | |
745 | | - | |
746 | | - | |
747 | | - | |
748 | | - | |
749 | | - | |
750 | | - | |
751 | | - | |
752 | 725 | | |
753 | 726 | | |
754 | 727 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
| 159 | + | |
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| |||
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
178 | | - | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
179 | 180 | | |
180 | 181 | | |
181 | 182 | | |
| |||
185 | 186 | | |
186 | 187 | | |
187 | 188 | | |
188 | | - | |
189 | | - | |
190 | | - | |
| 189 | + | |
191 | 190 | | |
192 | 191 | | |
0 commit comments