aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorSimao Gomes Viana <accounts@superboring.dev>2020-05-31 19:03:32 +0200
committerGitHub <noreply@github.com>2020-05-31 22:33:32 +0530
commite922b5260f98cee66d56e316ec355789583966a3 (patch)
tree5eefe9d496be7b9c721727b1a81a053aeb268a41 /app/src/main/res
parent8bacbf5ed654f25a55b69d88e94bbe46f80da63f (diff)
app: main: res: add bools.xml with LeakCanary debug build config (#821)
According to https://square.github.io/leakcanary/recipes/#leakcanary-in-release-builds this is necessary. As of now, the latest snapshot build crashes when starting. This is needed to prevent that.
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/values/bools.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/src/main/res/values/bools.xml b/app/src/main/res/values/bools.xml
new file mode 100644
index 00000000..de1623ff
--- /dev/null
+++ b/app/src/main/res/values/bools.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <bool name="leak_canary_allow_in_non_debuggable_build">true</bool>
+</resources>