We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5a0624 commit 8bbc3e5Copy full SHA for 8bbc3e5
2 files changed
.gitignore
@@ -8,8 +8,8 @@ captures/
8
*~
9
.weblate
10
*.class
11
-**/debug/
12
-**/release/
+app/debug/
+app/release/
13
14
# vscode / eclipse files
15
*.classpath
app/src/debug/java/org/schabi/newpipe/settings/DebugSettingsBVLeakCanary.java
@@ -0,0 +1,15 @@
1
+package org.schabi.newpipe.settings;
2
+
3
+import android.content.Intent;
4
5
+import leakcanary.LeakCanary;
6
7
+@SuppressWarnings("unused") // Class is used but loaded via reflection
+public class DebugSettingsBVLeakCanary
+ implements DebugSettingsFragment.DebugSettingsBVLeakCanaryAPI {
+ @Override
+ public Intent getNewLeakDisplayActivityIntent() {
+ return LeakCanary.INSTANCE.newLeakDisplayActivityIntent();
+ }
+}
0 commit comments