File tree Expand file tree Collapse file tree 3 files changed +16
-5
lines changed
src/main/java/com/google/firebase/crashlytics/internal
firebase-sessions/src/main/kotlin/com/google/firebase/sessions Expand file tree Collapse file tree 3 files changed +16
-5
lines changed Original file line number Diff line number Diff line change 1
1
# Unreleased
2
+ * [ fixed] Fixed NoSuchMethodError when getting process info on Android 13 [ #6720 ]
3
+
4
+ # 19.4.1
2
5
* [ changed] Updated ` firebase-sessions ` dependency to v2.0.9
3
6
7
+
8
+ ## Kotlin
9
+ The Kotlin extensions library transitively includes the updated
10
+ ` firebase-crashlytics ` library. The Kotlin extensions library has no additional
11
+ updates.
12
+
4
13
# 19.4.0
5
14
* [ feature] Added an overload for ` recordException ` that allows logging additional custom
6
15
keys to the non fatal event [ #3551 ]
@@ -324,10 +333,10 @@ updates.
324
333
325
334
# 18.2.10
326
335
* [ fixed] Fixed a bug that could prevent unhandled exceptions from being
327
- propogated to the default handler when the network is unavailable.
336
+ propagated to the default handler when the network is unavailable.
328
337
* [ changed] Internal changes to support on-demand fatal crash reporting for
329
338
Flutter apps.
330
- * [ fixed] Fixed a bug that prevented [ crashlytics] from initalizing on some
339
+ * [ fixed] Fixed a bug that prevented [ crashlytics] from initializing on some
331
340
devices in some cases. (#3269 )
332
341
333
342
Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ import com.google.firebase.crashlytics.internal.model.CrashlyticsReport.Session.
29
29
* @hide
30
30
*/
31
31
internal object ProcessDetailsProvider {
32
+ // TODO(mrober): Merge this with [com.google.firebase.sessions.ProcessDetailsProvider].
33
+
32
34
/* * Gets the details for all of this app's running processes. */
33
35
fun getAppProcessDetails (context : Context ): List <ProcessDetails > {
34
36
val appUid = context.applicationInfo.uid
@@ -70,7 +72,7 @@ internal object ProcessDetailsProvider {
70
72
processName : String ,
71
73
pid : Int = 0,
72
74
importance : Int = 0,
73
- isDefaultProcess : Boolean = false
75
+ isDefaultProcess : Boolean = false,
74
76
) =
75
77
ProcessDetails .builder()
76
78
.setProcessName(processName)
@@ -81,7 +83,7 @@ internal object ProcessDetailsProvider {
81
83
82
84
/* * Gets the app's current process name. If the API is not available, returns an empty string. */
83
85
private fun getProcessName (): String =
84
- if (Build .VERSION .SDK_INT >= Build .VERSION_CODES .TIRAMISU ) {
86
+ if (Build .VERSION .SDK_INT > Build .VERSION_CODES .TIRAMISU ) {
85
87
Process .myProcessName()
86
88
} else if (Build .VERSION .SDK_INT >= Build .VERSION_CODES .P ) {
87
89
Application .getProcessName() ? : " "
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ internal object ProcessDetailsProvider {
74
74
75
75
/* * Gets the app's current process name. If it could not be found, returns an empty string. */
76
76
internal fun getProcessName (): String {
77
- if (Build .VERSION .SDK_INT >= Build .VERSION_CODES .TIRAMISU ) {
77
+ if (Build .VERSION .SDK_INT > Build .VERSION_CODES .TIRAMISU ) {
78
78
return Process .myProcessName()
79
79
}
80
80
You can’t perform that action at this time.
0 commit comments