Fixed gitignore and commited missing file

pull/7586/head
litetex 7 months ago
parent c5a06243a6
commit 8bbc3e531c
  1. 4
      .gitignore
  2. 15
      app/src/debug/java/org/schabi/newpipe/settings/DebugSettingsBVLeakCanary.java

4
.gitignore vendored

@ -8,8 +8,8 @@ captures/
*~
.weblate
*.class
**/debug/
**/release/
app/debug/
app/release/
# vscode / eclipse files
*.classpath

@ -0,0 +1,15 @@
package org.schabi.newpipe.settings;
import android.content.Intent;
import leakcanary.LeakCanary;
@SuppressWarnings("unused") // Class is used but loaded via reflection
public class DebugSettingsBVLeakCanary
implements DebugSettingsFragment.DebugSettingsBVLeakCanaryAPI {
@Override
public Intent getNewLeakDisplayActivityIntent() {
return LeakCanary.INSTANCE.newLeakDisplayActivityIntent();
}
}
Loading…
Cancel
Save