Fix proguard.flags so that unit tests pass

Change-Id: I484819a77da6bf33703ddbc2e3f08d395186dea8
This commit is contained in:
Marc Blank 2011-02-28 17:52:37 -08:00
parent b02f7eb1e8
commit de45958d8b

View File

@ -1,5 +1,6 @@
# keep names that are used by reflection. # keep names that are used by reflection.
-keep class com.android.emailcommon.provider.EmailContent$Account -keep class com.android.emailcommon.provider.EmailContent$Account
-keepclasseswithmembers class * { -keepclasseswithmembers class * {
public static void actionEditIncomingSettings(android.app.Activity, int, com.android.emailcommon.provider.EmailContent$Account); public static void actionEditIncomingSettings(android.app.Activity, int, com.android.emailcommon.provider.EmailContent$Account);
} }
@ -56,9 +57,10 @@
*** setContext(android.content.Context); *** setContext(android.content.Context);
} }
-keepclasseswithmembers class com.android.emailcommon.service.PolicySet { -keep class com.android.emailcommon.service.PolicySet {
<init>(com.android.emailcommon.provider.EmailContent$Account); <init>(com.android.emailcommon.provider.EmailContent$Account);
<init>(int, int, int, int, boolean, int, int, boolean); <init>(int, int, int, int, boolean, int, int, boolean);
*** writeAccount(...);
} }
-keepclasseswithmembers class com.android.email.MessagingController { -keepclasseswithmembers class com.android.email.MessagingController {
@ -67,6 +69,9 @@
-keepclasseswithmembers class com.android.emailcommon.utility.Utility { -keepclasseswithmembers class com.android.emailcommon.utility.Utility {
*** dumpCursor(android.database.Cursor); *** dumpCursor(android.database.Cursor);
*** fromUtf8(...);
*** isFirstUtf8Byte(byte);
*** replaceBareLfWithCrlf(java.lang.String);
} }
-keepclasseswithmembers class com.android.emailcommon.utility.Utility$CloseTraceCursorWrapper { -keepclasseswithmembers class com.android.emailcommon.utility.Utility$CloseTraceCursorWrapper {
*** getTraceIfAvailable(android.database.Cursor); *** getTraceIfAvailable(android.database.Cursor);
@ -167,6 +172,7 @@
<init>(); <init>();
<init>(java.lang.String); <init>(java.lang.String);
*** get(java.lang.String); *** get(java.lang.String);
*** put(java.lang.String, java.lang.String);
} }
-keepclasseswithmembers class com.android.email.provider.ContentCache$CounterMap { -keepclasseswithmembers class com.android.email.provider.ContentCache$CounterMap {