summaryrefslogtreecommitdiffstats
path: root/proguard.flags
diff options
context:
space:
mode:
authorMakoto Onuki <omakoto@google.com>2010-04-02 11:09:12 -0700
committerMakoto Onuki <omakoto@google.com>2010-04-06 14:33:43 -0700
commitaf6724527e564d35dd27ac35e24dbced554792e5 (patch)
tree4722463f914bb5003265b5a50aa05e2bd9dba33c /proguard.flags
parentdc0753373ea6cc87902ea907eb654850ed90ce57 (diff)
downloadandroid_packages_apps_Email-af6724527e564d35dd27ac35e24dbced554792e5.tar.gz
android_packages_apps_Email-af6724527e564d35dd27ac35e24dbced554792e5.tar.bz2
android_packages_apps_Email-af6724527e564d35dd27ac35e24dbced554792e5.zip
Added a test for IMAP APPEND
It's a preliminary change for IMAP bug fixes. Also, - Fixed a potential bug in ImapFolder.setFlags where it'd throw StringIndexOutOfBoundsException if flags is empty. - Added a generic flag to proguard.flags so that now all methods with the "ForTest" sufix are automatically preserved. Turned out it wasn't needed for this CL, but it should come in handy someday. Bug 2538076 Change-Id: I49a08afc196c7b7f1f30477dfc38ac5381045d84
Diffstat (limited to 'proguard.flags')
-rw-r--r--proguard.flags5
1 files changed, 4 insertions, 1 deletions
diff --git a/proguard.flags b/proguard.flags
index be627dbbf..bbffc8a54 100644
--- a/proguard.flags
+++ b/proguard.flags
@@ -26,6 +26,10 @@
# Keep names that are used only by unit tests
+-keep class ** {
+ *** *ForTest(...);
+}
+
-keepclasseswithmembers class com.android.email.GroupMessagingListener {
*** removeListener(com.android.email.MessagingListener);
}
@@ -168,4 +172,3 @@
-keep class org.apache.james.mime4j.message.Message {
*;
}
-