-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c8ea126
commit 8169c3e
Showing
14 changed files
with
83 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
...-api/src/main/kotlin/io/embrace/android/embracesdk/annotation/CustomLoadTracedActivity.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package io.embrace.android.embracesdk.annotation | ||
|
||
/** | ||
* The loading of Activities annotated with this will generate UI Load traces when the SDK is manually notified | ||
* that their loading has finished unless the feature is disabled. | ||
* | ||
* This works similarly to [LoadTracedActivity] except the trace will only be recorded if the appropriate API method | ||
* is called to signal the end of the load. | ||
*/ | ||
@Target(AnnotationTarget.CLASS) | ||
@Retention(AnnotationRetention.RUNTIME) | ||
public annotation class CustomLoadTracedActivity |
9 changes: 0 additions & 9 deletions
9
...roid-api/src/main/kotlin/io/embrace/android/embracesdk/annotation/CustomTracedActivity.kt
This file was deleted.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
...ndroid-api/src/main/kotlin/io/embrace/android/embracesdk/annotation/LoadTracedActivity.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package io.embrace.android.embracesdk.annotation | ||
|
||
/** | ||
* The loading of Activities annotated with this will generate UI Load traces unless the feature is disabled. | ||
*/ | ||
@Target(AnnotationTarget.CLASS) | ||
@Retention(AnnotationRetention.RUNTIME) | ||
public annotation class LoadTracedActivity |
9 changes: 0 additions & 9 deletions
9
...ce-android-api/src/main/kotlin/io/embrace/android/embracesdk/annotation/TracedActivity.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...est-fakes/src/main/kotlin/io/embrace/android/embracesdk/fakes/FakeCustomTracedActivity.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
package io.embrace.android.embracesdk.fakes | ||
|
||
import android.app.Activity | ||
import io.embrace.android.embracesdk.annotation.CustomTracedActivity | ||
import io.embrace.android.embracesdk.annotation.CustomLoadTracedActivity | ||
|
||
@CustomTracedActivity | ||
@CustomLoadTracedActivity | ||
class FakeCustomTracedActivity : Activity() |
4 changes: 2 additions & 2 deletions
4
embrace-test-fakes/src/main/kotlin/io/embrace/android/embracesdk/fakes/FakeTracedActivity.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
package io.embrace.android.embracesdk.fakes | ||
|
||
import android.app.Activity | ||
import io.embrace.android.embracesdk.annotation.TracedActivity | ||
import io.embrace.android.embracesdk.annotation.LoadTracedActivity | ||
|
||
@TracedActivity | ||
@LoadTracedActivity | ||
class FakeTracedActivity : Activity() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters