android: remove leakcanary

This commit is contained in:
pengfei.zhou 2021-11-24 14:40:57 +08:00 committed by osborn
parent d24e0ecff6
commit 7792bcafc0
3 changed files with 3 additions and 3 deletions

View File

@ -55,5 +55,5 @@ dependencies {
annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0' annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3' implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.7' //debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.7'
} }

View File

@ -34,7 +34,7 @@ import pub.doric.navbar.BaseDoricNavBar;
*/ */
public class DoricDebugActivity extends DoricActivity { public class DoricDebugActivity extends DoricActivity {
@Override @Override
protected void onCreate(@Nullable @org.jetbrains.annotations.Nullable Bundle savedInstanceState) { protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
BaseDoricNavBar doricNavBar = findViewById(R.id.doric_nav_bar); BaseDoricNavBar doricNavBar = findViewById(R.id.doric_nav_bar);
TextView textView = new TextView(this); TextView textView = new TextView(this);

View File

@ -41,7 +41,7 @@ import pub.doric.utils.DoricLog;
*/ */
public class DoricDebugTimingActivity extends AppCompatActivity { public class DoricDebugTimingActivity extends AppCompatActivity {
@Override @Override
protected void onCreate(@Nullable @org.jetbrains.annotations.Nullable Bundle savedInstanceState) { protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
final long pefStart = System.currentTimeMillis(); final long pefStart = System.currentTimeMillis();
setContentView(R.layout.activity_debug_timing); setContentView(R.layout.activity_debug_timing);