Skip to content

Commit

Permalink
RUM-3793: updating androidx libs, resolving deprecated code, updating…
Browse files Browse the repository at this point in the history
… detekt rules
  • Loading branch information
satween committed Dec 31, 2024
1 parent 19e6eee commit 722a837
Show file tree
Hide file tree
Showing 20 changed files with 273 additions and 224 deletions.
22 changes: 12 additions & 10 deletions dd-sdk-android-core/transitiveDependencies
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
Dependencies List

androidx.annotation:annotation-experimental:1.1.0 : 16 Kb
androidx.annotation:annotation:1.3.0 : 30 Kb
androidx.annotation:annotation-experimental:1.3.0 : 35 Kb
androidx.annotation:annotation-jvm:1.8.2 : 54 Kb
androidx.arch.core:core-common:2.1.0 : 10 Kb
androidx.arch.core:core-runtime:2.1.0 : 5 Kb
androidx.collection:collection:1.1.0 : 41 Kb
androidx.lifecycle:lifecycle-common:2.1.0 : 21 Kb
androidx.lifecycle:lifecycle-livedata-core:2.1.0 : 8 Kb
androidx.lifecycle:lifecycle-livedata:2.1.0 : 10 Kb
androidx.startup:startup-runtime:1.0.0 : 18 Kb
androidx.work:work-runtime:2.8.1 : 1626 Kb
androidx.collection:collection-jvm:1.4.3 : 770 Kb
androidx.lifecycle:lifecycle-common:2.5.1 : 23 Kb
androidx.lifecycle:lifecycle-livedata-core:2.5.1 : 9 Kb
androidx.lifecycle:lifecycle-livedata:2.5.1 : 11 Kb
androidx.startup:startup-runtime:1.1.1 : 18 Kb
androidx.work:work-runtime:2.9.1 : 1795 Kb
com.google.code.gson:gson:2.10.1 : 276 Kb
com.google.guava:listenablefuture:1.0 : 3 Kb
com.lyft.kronos:kronos-android:0.0.1-alpha11 : 5 Kb
Expand All @@ -19,7 +19,9 @@ com.squareup.okio:okio-jvm:3.6.0 : 351 Kb
org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.10 : 959 b
org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.10 : 965 b
org.jetbrains.kotlin:kotlin-stdlib:1.9.24 : 1678 Kb
org.jetbrains:annotations:13.0 : 17 Kb
org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.1 : 20 Kb
org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.7.1 : 1512 Kb
org.jetbrains:annotations:23.0.0 : 28 Kb

Total transitive dependencies size : 4 Mb
Total transitive dependencies size : 7 Mb

2 changes: 2 additions & 0 deletions detekt_custom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,8 @@ datadog:
- "android.view.Choreographer.postFrameCallback(android.view.Choreographer.FrameCallback)"
- "android.view.Display.getSize(android.graphics.Point?)"
- "android.view.FrameMetrics.getMetric(kotlin.Int)"
- "android.view.GestureDetector.constructor(android.content.Context?, android.view.GestureDetector.OnGestureListener)"
- "android.view.GestureDetector.onTouchEvent(android.view.MotionEvent)"
- "android.view.MotionEvent.PointerCoords.constructor()"
- "android.view.MotionEvent.getPointerCoords(kotlin.Int, android.view.MotionEvent.PointerCoords)"
- "android.view.MotionEvent.getPointerId(kotlin.Int)"
Expand Down
6 changes: 3 additions & 3 deletions features/dd-sdk-android-logs/transitiveDependencies
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Dependencies List

androidx.annotation:annotation:1.3.0 : 30 Kb
androidx.annotation:annotation-jvm:1.8.2 : 54 Kb
com.google.code.gson:gson:2.10.1 : 276 Kb
org.jetbrains.kotlin:kotlin-stdlib:1.9.24 : 1678 Kb
org.jetbrains:annotations:13.0 : 17 Kb
org.jetbrains:annotations:23.0.0 : 28 Kb

Total transitive dependencies size : 2003 Kb
Total transitive dependencies size : 2038 Kb

2 changes: 1 addition & 1 deletion features/dd-sdk-android-ndk/transitiveDependencies
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ com.squareup.okio:okio-jvm:3.6.0 : 351 Kb
org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.10 : 959 b
org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.10 : 965 b
org.jetbrains.kotlin:kotlin-stdlib:1.9.24 : 1678 Kb
org.jetbrains:annotations:13.0 : 17 Kb
org.jetbrains:annotations:23.0.0 : 28 Kb

Total transitive dependencies size : 2 Mb

Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@
package com.datadog.android.rum.internal.instrumentation.gestures

import android.content.Context
import android.view.GestureDetector
import android.view.MotionEvent
import androidx.core.view.GestureDetectorCompat

internal class GesturesDetectorWrapper(
private val gestureListener: GesturesListener,
private val defaultGesturesDetector: GestureDetectorCompat
private val defaultGesturesDetector: GestureDetector
) {

constructor(
context: Context,
gestureListener: GesturesListener
) : this(
gestureListener,
GestureDetectorCompat(context, gestureListener)
GestureDetector(context, gestureListener)
)

fun onTouchEvent(event: MotionEvent) {
Expand Down
57 changes: 34 additions & 23 deletions features/dd-sdk-android-rum/transitiveDependencies
Original file line number Diff line number Diff line change
@@ -1,27 +1,36 @@
Dependencies List

androidx.activity:activity:1.1.0 : 13 Kb
androidx.annotation:annotation-experimental:1.1.0 : 16 Kb
androidx.annotation:annotation:1.3.0 : 30 Kb
androidx.arch.core:core-common:2.1.0 : 10 Kb
androidx.arch.core:core-runtime:2.1.0 : 5 Kb
androidx.collection:collection:1.1.0 : 41 Kb
androidx.core:core:1.6.0 : 905 Kb
androidx.customview:customview:1.0.0 : 32 Kb
androidx.fragment:fragment:1.2.4 : 221 Kb
androidx.lifecycle:lifecycle-common:2.2.0 : 21 Kb
androidx.lifecycle:lifecycle-livedata-core:2.2.0 : 8 Kb
androidx.lifecycle:lifecycle-livedata:2.1.0 : 10 Kb
androidx.lifecycle:lifecycle-runtime:2.2.0 : 10 Kb
androidx.lifecycle:lifecycle-viewmodel-savedstate:2.2.0 : 13 Kb
androidx.lifecycle:lifecycle-viewmodel:2.2.0 : 9 Kb
androidx.activity:activity-ktx:1.8.1 : 24 Kb
androidx.activity:activity:1.8.1 : 165 Kb
androidx.annotation:annotation-experimental:1.4.1 : 38 Kb
androidx.annotation:annotation-jvm:1.8.2 : 54 Kb
androidx.arch.core:core-common:2.2.0 : 11 Kb
androidx.arch.core:core-runtime:2.2.0 : 7 Kb
androidx.collection:collection-jvm:1.4.3 : 770 Kb
androidx.collection:collection-ktx:1.4.3 : 261 b
androidx.core:core-ktx:1.15.0 : 171 Kb
androidx.core:core:1.15.0 : 1304 Kb
androidx.customview:customview:1.1.0 : 32 Kb
androidx.fragment:fragment-ktx:1.8.3 : 26 Kb
androidx.fragment:fragment:1.8.3 : 372 Kb
androidx.lifecycle:lifecycle-common:2.6.2 : 51 Kb
androidx.lifecycle:lifecycle-livedata-core-ktx:2.6.2 : 20 Kb
androidx.lifecycle:lifecycle-livedata-core:2.6.2 : 11 Kb
androidx.lifecycle:lifecycle-livedata:2.6.2 : 18 Kb
androidx.lifecycle:lifecycle-runtime-ktx:2.6.2 : 60 Kb
androidx.lifecycle:lifecycle-runtime:2.6.2 : 21 Kb
androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.2 : 4 Kb
androidx.lifecycle:lifecycle-viewmodel-savedstate:2.6.2 : 38 Kb
androidx.lifecycle:lifecycle-viewmodel:2.6.2 : 38 Kb
androidx.loader:loader:1.0.0 : 32 Kb
androidx.metrics:metrics-performance:1.0.0-alpha04 : 47 Kb
androidx.navigation:navigation-common:2.3.0 : 54 Kb
androidx.navigation:navigation-fragment:2.3.0 : 18 Kb
androidx.navigation:navigation-runtime:2.3.0 : 46 Kb
androidx.recyclerview:recyclerview:1.1.0 : 349 Kb
androidx.savedstate:savedstate:1.0.0 : 9 Kb
androidx.metrics:metrics-performance:1.0.0-beta01 : 46 Kb
androidx.navigation:navigation-common:2.8.0 : 277 Kb
androidx.navigation:navigation-fragment:2.8.0 : 95 Kb
androidx.navigation:navigation-runtime:2.8.0 : 148 Kb
androidx.recyclerview:recyclerview:1.3.2 : 399 Kb
androidx.savedstate:savedstate-ktx:1.2.1 : 3 Kb
androidx.savedstate:savedstate:1.2.1 : 19 Kb
androidx.slidingpanelayout:slidingpanelayout:1.2.0 : 37 Kb
androidx.versionedparcelable:versionedparcelable:1.1.1 : 30 Kb
androidx.viewpager:viewpager:1.0.0 : 52 Kb
com.google.code.gson:gson:2.10.1 : 276 Kb
Expand All @@ -30,7 +39,9 @@ com.squareup.okio:okio-jvm:3.6.0 : 351 Kb
org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.10 : 959 b
org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.10 : 965 b
org.jetbrains.kotlin:kotlin-stdlib:1.9.24 : 1678 Kb
org.jetbrains:annotations:13.0 : 17 Kb
org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.1 : 20 Kb
org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.7.1 : 1512 Kb
org.jetbrains:annotations:23.0.0 : 28 Kb

Total transitive dependencies size : 4 Mb
Total transitive dependencies size : 8 Mb

Original file line number Diff line number Diff line change
@@ -1,55 +1,55 @@
Dependencies List

androidx.activity:activity-compose:1.7.0 : 1082 Kb
androidx.activity:activity-ktx:1.7.0 : 25 Kb
androidx.activity:activity:1.7.0 : 139 Kb
androidx.annotation:annotation-experimental:1.3.0 : 35 Kb
androidx.annotation:annotation-jvm:1.6.0 : 53 Kb
androidx.activity:activity-compose:1.8.0 : 1108 Kb
androidx.activity:activity-ktx:1.8.0 : 24 Kb
androidx.activity:activity:1.8.0 : 165 Kb
androidx.annotation:annotation-experimental:1.4.1 : 38 Kb
androidx.annotation:annotation-jvm:1.8.2 : 54 Kb
androidx.arch.core:core-common:2.2.0 : 11 Kb
androidx.collection:collection:1.1.0 : 41 Kb
androidx.compose.animation:animation-android:1.5.4 : 1309 Kb
androidx.compose.animation:animation-core-android:1.5.4 : 1338 Kb
androidx.compose.foundation:foundation-android:1.5.4 : 3 Mb
androidx.compose.foundation:foundation-layout-android:1.5.4 : 525 Kb
androidx.compose.material:material-android:1.5.4 : 2 Mb
androidx.compose.material:material-icons-core-android:1.5.4 : 700 Kb
androidx.compose.material:material-ripple-android:1.5.4 : 73 Kb
androidx.compose.runtime:runtime-android:1.5.4 : 2 Mb
androidx.compose.runtime:runtime-saveable-android:1.5.4 : 1087 Kb
androidx.compose.ui:ui-android:1.5.4 : 4 Mb
androidx.compose.ui:ui-geometry-android:1.5.4 : 36 Kb
androidx.compose.ui:ui-graphics-android:1.5.4 : 1422 Kb
androidx.compose.ui:ui-text-android:1.5.4 : 770 Kb
androidx.compose.ui:ui-tooling-android:1.5.4 : 222 Kb
androidx.compose.ui:ui-tooling-data-android:1.5.4 : 36 Kb
androidx.compose.ui:ui-tooling-preview-android:1.5.4 : 13 Kb
androidx.compose.ui:ui-unit-android:1.5.4 : 64 Kb
androidx.core:core-ktx:1.10.0 : 178 Kb
androidx.core:core:1.10.0 : 1219 Kb
androidx.lifecycle:lifecycle-common-java8:2.6.1 : 261 b
androidx.lifecycle:lifecycle-common:2.6.1 : 51 Kb
androidx.lifecycle:lifecycle-livedata-core:2.6.1 : 11 Kb
androidx.lifecycle:lifecycle-runtime-ktx:2.6.1 : 60 Kb
androidx.lifecycle:lifecycle-runtime:2.6.1 : 21 Kb
androidx.lifecycle:lifecycle-viewmodel-compose:2.6.1 : 21 Kb
androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1 : 4 Kb
androidx.lifecycle:lifecycle-viewmodel-savedstate:2.6.1 : 38 Kb
androidx.lifecycle:lifecycle-viewmodel:2.6.1 : 38 Kb
androidx.navigation:navigation-common-ktx:2.6.0 : 2 Kb
androidx.navigation:navigation-common:2.6.0 : 178 Kb
androidx.navigation:navigation-compose:2.6.0 : 1110 Kb
androidx.navigation:navigation-runtime-ktx:2.6.0 : 2 Kb
androidx.navigation:navigation-runtime:2.6.0 : 125 Kb
androidx.collection:collection-jvm:1.4.4 : 770 Kb
androidx.compose.animation:animation-android:1.7.3 : 1443 Kb
androidx.compose.animation:animation-core-android:1.7.3 : 1439 Kb
androidx.compose.foundation:foundation-android:1.7.3 : 4 Mb
androidx.compose.foundation:foundation-layout-android:1.7.3 : 630 Kb
androidx.compose.material:material-android:1.7.3 : 2 Mb
androidx.compose.material:material-ripple-android:1.7.3 : 93 Kb
androidx.compose.runtime:runtime-android:1.7.3 : 2 Mb
androidx.compose.runtime:runtime-saveable-android:1.7.3 : 1090 Kb
androidx.compose.ui:ui-android:1.7.3 : 4 Mb
androidx.compose.ui:ui-geometry-android:1.7.3 : 39 Kb
androidx.compose.ui:ui-graphics-android:1.7.3 : 1595 Kb
androidx.compose.ui:ui-text-android:1.7.3 : 820 Kb
androidx.compose.ui:ui-tooling-android:1.7.3 : 229 Kb
androidx.compose.ui:ui-tooling-data-android:1.7.3 : 36 Kb
androidx.compose.ui:ui-tooling-preview-android:1.7.3 : 16 Kb
androidx.compose.ui:ui-unit-android:1.7.3 : 88 Kb
androidx.compose.ui:ui-util-android:1.7.3 : 15 Kb
androidx.core:core-ktx:1.13.1 : 167 Kb
androidx.core:core:1.13.1 : 1240 Kb
androidx.lifecycle:lifecycle-common-jvm:2.8.3 : 55 Kb
androidx.lifecycle:lifecycle-livedata-core:2.8.3 : 29 Kb
androidx.lifecycle:lifecycle-runtime-android:2.8.3 : 80 Kb
androidx.lifecycle:lifecycle-runtime-compose-android:2.8.3 : 57 Kb
androidx.lifecycle:lifecycle-runtime-ktx-android:2.8.3 : 1333 b
androidx.lifecycle:lifecycle-viewmodel-android:2.8.3 : 55 Kb
androidx.lifecycle:lifecycle-viewmodel-compose-android:2.8.3 : 22 Kb
androidx.lifecycle:lifecycle-viewmodel-ktx:2.8.3 : 1343 b
androidx.lifecycle:lifecycle-viewmodel-savedstate:2.8.3 : 36 Kb
androidx.navigation:navigation-common-ktx:2.8.0 : 5 Kb
androidx.navigation:navigation-common:2.8.0 : 277 Kb
androidx.navigation:navigation-compose:2.8.0 : 1189 Kb
androidx.navigation:navigation-runtime-ktx:2.8.0 : 5 Kb
androidx.navigation:navigation-runtime:2.8.0 : 148 Kb
androidx.savedstate:savedstate-ktx:1.2.1 : 3 Kb
androidx.savedstate:savedstate:1.2.1 : 19 Kb
androidx.versionedparcelable:versionedparcelable:1.1.1 : 30 Kb
com.google.code.gson:gson:2.10.1 : 276 Kb
org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.10 : 959 b
org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.10 : 965 b
org.jetbrains.kotlin:kotlin-stdlib:1.9.24 : 1678 Kb
org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4 : 19 Kb
org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.6.4 : 1442 Kb
org.jetbrains:annotations:13.0 : 17 Kb
org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3 : 20 Kb
org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.7.3 : 1514 Kb
org.jetbrains:annotations:23.0.0 : 28 Kb

Total transitive dependencies size : 27 Mb
Total transitive dependencies size : 30 Mb

Loading

0 comments on commit 722a837

Please sign in to comment.