File tree Expand file tree Collapse file tree 3 files changed +1
-16
lines changed
src/main/java/com/firebase/uidemo Expand file tree Collapse file tree 3 files changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -95,9 +95,6 @@ dependencies {
9595 implementation(Config .Libs .Misc .permissions)
9696 implementation(Config .Libs .Androidx .constraint)
9797 debugImplementation(Config .Libs .Misc .leakCanary)
98- debugImplementation(Config .Libs .Misc .leakCanaryFragments)
99- releaseImplementation(Config .Libs .Misc .leakCanaryNoop)
100- testImplementation(Config .Libs .Misc .leakCanaryNoop)
10198}
10299
103100apply (plugin = " com.google.gms.google-services" )
Original file line number Diff line number Diff line change 11package com .firebase .uidemo ;
22
3- import com .squareup .leakcanary .LeakCanary ;
4-
53import androidx .appcompat .app .AppCompatDelegate ;
64import androidx .multidex .MultiDexApplication ;
75
@@ -13,11 +11,5 @@ public class FirebaseUIDemo extends MultiDexApplication {
1311 @ Override
1412 public void onCreate () {
1513 super .onCreate ();
16- if (LeakCanary .isInAnalyzerProcess (this )) {
17- // This process is dedicated to LeakCanary for heap analysis.
18- // You should not init your app in this process.
19- return ;
20- }
21- LeakCanary .install (this );
2214 }
2315}
Original file line number Diff line number Diff line change @@ -61,14 +61,10 @@ object Config {
6161 }
6262
6363 object Misc {
64- private const val leakCanaryVersion = " 1.6.1 "
64+ private const val leakCanaryVersion = " 2.14 "
6565 private const val glideVersion = " 4.11.0"
6666
6767 const val leakCanary = " com.squareup.leakcanary:leakcanary-android:$leakCanaryVersion "
68- const val leakCanaryFragments =
69- " com.squareup.leakcanary:leakcanary-support-fragment:$leakCanaryVersion "
70- const val leakCanaryNoop =
71- " com.squareup.leakcanary:leakcanary-android-no-op:$leakCanaryVersion "
7268
7369 const val glide = " com.github.bumptech.glide:glide:$glideVersion "
7470 const val glideCompiler = " com.github.bumptech.glide:compiler:$glideVersion "
You can’t perform that action at this time.
0 commit comments