I'll be honest: I have no idea.
I took the original proguard file that was published as part of the
blog post regarding using Proguard with pre-r8 tools, and only made a
minor update to it to not rename parcelable classes.
The file contains:
-keepclasseswithmembernames class * {
public <init>(android.content.Context, android.util.AttributeSet);
}
-keepclasseswithmembernames class * {
public <init>(android.content.Context, android.util.AttributeSet, int);
}
which should take care of views, but it's true that using
-keep public class * extends android.view.View
would be simpler.
I'll see if I can get Dan (who created the file in the first place to
indicate why there are these optimization restrictions)
Xav
--
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com
Please do not send me questions directly. Thanks!
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en