mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Add LeakCanary to session demo app debug builds
This helps to detect accidental service/activity leaks. PiperOrigin-RevId: 529391523
This commit is contained in:
parent
0f398d511d
commit
804b57ea7b
@ -57,6 +57,8 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
// For detecting and debugging leaks only. LeakCanary is not needed for demo app to work.
|
||||||
|
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.10'
|
||||||
implementation 'androidx.core:core-ktx:' + androidxCoreVersion
|
implementation 'androidx.core:core-ktx:' + androidxCoreVersion
|
||||||
implementation 'androidx.appcompat:appcompat:' + androidxAppCompatVersion
|
implementation 'androidx.appcompat:appcompat:' + androidxAppCompatVersion
|
||||||
implementation 'androidx.multidex:multidex:' + androidxMultidexVersion
|
implementation 'androidx.multidex:multidex:' + androidxMultidexVersion
|
||||||
|
Loading…
x
Reference in New Issue
Block a user