-
Notifications
You must be signed in to change notification settings - Fork 11
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
ec66742
commit 8d3ff08
Showing
10 changed files
with
108 additions
and
110 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
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
23 changes: 0 additions & 23 deletions
23
...id-features/src/main/kotlin/io/embrace/android/embracesdk/internal/ndk/NdkDelegateImpl.kt
This file was deleted.
Oops, something went wrong.
24 changes: 0 additions & 24 deletions
24
...features/src/main/kotlin/io/embrace/android/embracesdk/internal/ndk/NdkServiceDelegate.kt
This file was deleted.
Oops, something went wrong.
21 changes: 21 additions & 0 deletions
21
...id-features/src/main/kotlin/io/embrace/android/embracesdk/internal/ndk/jni/JniDelegate.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,21 @@ | ||
package io.embrace.android.embracesdk.internal.ndk.jni | ||
|
||
internal interface JniDelegate { | ||
fun installSignalHandlers( | ||
reportPath: String?, | ||
markerFilePath: String?, | ||
sessionId: String?, | ||
appState: String?, | ||
reportId: String?, | ||
apiLevel: Int, | ||
is32bit: Boolean, | ||
devLogging: Boolean, | ||
) | ||
fun updateMetaData(metadata: String?) | ||
fun updateSessionId(sessionId: String?) | ||
fun updateAppState(appState: String?) | ||
fun getCrashReport(path: String?): String? | ||
fun getErrors(path: String?): String? | ||
fun checkForOverwrittenHandlers(): String? | ||
fun reinstallSignalHandlers(): Boolean | ||
} |
22 changes: 22 additions & 0 deletions
22
...eatures/src/main/kotlin/io/embrace/android/embracesdk/internal/ndk/jni/JniDelegateImpl.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,22 @@ | ||
package io.embrace.android.embracesdk.internal.ndk.jni | ||
|
||
class JniDelegateImpl : JniDelegate { | ||
external override fun installSignalHandlers( | ||
reportPath: String?, | ||
markerFilePath: String?, | ||
sessionId: String?, | ||
appState: String?, | ||
reportId: String?, | ||
apiLevel: Int, | ||
is32bit: Boolean, | ||
devLogging: Boolean, | ||
) | ||
|
||
external override fun updateMetaData(metadata: String?) | ||
external override fun updateSessionId(sessionId: String?) | ||
external override fun updateAppState(appState: String?) | ||
external override fun getCrashReport(path: String?): String? | ||
external override fun getErrors(path: String?): String? | ||
external override fun checkForOverwrittenHandlers(): String? | ||
external override fun reinstallSignalHandlers(): Boolean | ||
} |
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
Oops, something went wrong.