summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2020-03-30 04:53:45 +0530
committerJason A. Donenfeld <Jason@zx2c4.com>2020-03-30 13:49:41 -0600
commit10e910186e1ae7f4b5336f0a5e81f0a2e411e61f (patch)
tree9075c118bb443fa4e4d97170cd031f0a65930f2d
parent017f420d42df3d5b4c240143b1a5b0ab18cc5113 (diff)
ui: update proguard rules to keep crash logs readable
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
-rw-r--r--ui/proguard-rules.pro3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/proguard-rules.pro b/ui/proguard-rules.pro
index 4e7b3d96..8eabaf86 100644
--- a/ui/proguard-rules.pro
+++ b/ui/proguard-rules.pro
@@ -1,3 +1,6 @@
# Squelch all warnings, they're harmless but ProGuard
# escalates them as errors.
-dontwarn sun.misc.Unsafe
+
+# Retain some information to keep stacktraces usable
+-keepattributes SourceFile,LineNumberTable