From 480a9bb64e127bff863e6c357d3bd4c3dabfbb57 Mon Sep 17 00:00:00 2001 From: Ying Wang Date: Mon, 11 May 2015 14:56:20 -0700 Subject: [PATCH] Keep Throwable's constructor that takes a String argument. Bug: 20495321 Change-Id: Iaf041da325e1d31f136f36e8ed85b2d90c578b0e --- core/proguard_basic_keeps.flags | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/proguard_basic_keeps.flags b/core/proguard_basic_keeps.flags index 6b3715a73..4de52219a 100644 --- a/core/proguard_basic_keeps.flags +++ b/core/proguard_basic_keeps.flags @@ -40,6 +40,11 @@ java.lang.Object readResolve(); } +# Keep Throwable's constructor that takes a String argument. +-keepclassmembers class * extends java.lang.Throwable { + (java.lang.String); +} + # Please specify classes to be kept explicitly in your package's configuration. # -keep class * extends android.app.Activity # -keep class * extends android.view.View