Remove all the extra accessor methods added by javac in support-cardview.
Change private methods to be package protected to avoid extra methods
that get added to be able to access them from inner classes.
This CL saves 4 methods in our jar.
Bug: 31075707
Change-Id: I0ce25d52e17c89dbaef5b3e8a88d959eb5e390cb
diff --git a/v7/cardview/src/android/support/v7/widget/CardView.java b/v7/cardview/src/android/support/v7/widget/CardView.java
index 3da3243..3b47a54 100644
--- a/v7/cardview/src/android/support/v7/widget/CardView.java
+++ b/v7/cardview/src/android/support/v7/widget/CardView.java
@@ -100,11 +100,11 @@
* CardView works around this issue by recording user given parameters and using an internal
* method to set them.
*/
- private int mUserSetMinWidth, mUserSetMinHeight;
+ int mUserSetMinWidth, mUserSetMinHeight;
- private final Rect mContentPadding = new Rect();
+ final Rect mContentPadding = new Rect();
- private final Rect mShadowBounds = new Rect();
+ final Rect mShadowBounds = new Rect();
public CardView(Context context) {
super(context);