Fixed gitignore and commited missing file

This commit is contained in:
litetex 2021-12-29 22:17:30 +01:00
parent c5a06243a6
commit 8bbc3e531c
2 changed files with 17 additions and 2 deletions

4
.gitignore vendored
View file

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

View file

@ -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();
}
}