Fix NoSuchMethodError for unit tests
With all the code movement, some tests were found to break. Update the proguard config so the appropriate methods can be referenced. bug 3460695 Change-Id: I2fc9786cc54182ba8571d87947241dcd7b2e9995
This commit is contained in:
parent
ca6b75a1e6
commit
da3c80b338
@ -20,6 +20,11 @@
|
|||||||
*** apply();
|
*** apply();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
-keepclasseswithmembers class com.android.emailcommon.utility.Utility$CloseTraceCursorWrapper {
|
||||||
|
*** getTraceIfAvailable(android.database.Cursor);
|
||||||
|
*** log(android.database.Cursor);
|
||||||
|
}
|
||||||
|
|
||||||
-keep class * extends org.apache.james.mime4j.util.TempStorage
|
-keep class * extends org.apache.james.mime4j.util.TempStorage
|
||||||
|
|
||||||
# Keep names that are used only by unit tests or by animators
|
# Keep names that are used only by unit tests or by animators
|
||||||
@ -28,6 +33,10 @@
|
|||||||
*** *Anim(...);
|
*** *Anim(...);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
-keepclasseswithmembers class com.android.email.activity.setup.AccountSetupAccountType {
|
||||||
|
*** checkAccountInstanceLimit(com.android.email.mail.Store$StoreInfo);
|
||||||
|
}
|
||||||
|
|
||||||
-keepclasseswithmembers class com.android.email.GroupMessagingListener {
|
-keepclasseswithmembers class com.android.email.GroupMessagingListener {
|
||||||
*** removeListener(com.android.email.MessagingListener);
|
*** removeListener(com.android.email.MessagingListener);
|
||||||
}
|
}
|
||||||
@ -165,6 +174,12 @@
|
|||||||
*** getShortcutSafeUri();
|
*** getShortcutSafeUri();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
-keepclasseswithmembers class com.android.exchange.CalendarSyncEnabler {
|
||||||
|
<init>(android.content.Context);
|
||||||
|
*** enableEasCalendarSyncInternal();
|
||||||
|
*** showNotification(java.lang.String);
|
||||||
|
}
|
||||||
|
|
||||||
-keepclasseswithmembers class com.android.exchange.adapter.Parser {
|
-keepclasseswithmembers class com.android.exchange.adapter.Parser {
|
||||||
*** resetInput(java.io.InputStream);
|
*** resetInput(java.io.InputStream);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user