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 .weblate
*.class *.class
**/debug/ app/debug/
**/release/ app/release/
# vscode / eclipse files # vscode / eclipse files
*.classpath *.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();
}
}