diff --git a/packages/SystemUI/src/com/android/systemui/qs/QSTileBaseView.java b/packages/SystemUI/src/com/android/systemui/qs/QSTileBaseView.java index f05aa3cdd89c0..3556cd8caebe2 100644 --- a/packages/SystemUI/src/com/android/systemui/qs/QSTileBaseView.java +++ b/packages/SystemUI/src/com/android/systemui/qs/QSTileBaseView.java @@ -34,8 +34,8 @@ import com.android.systemui.R; public class QSTileBaseView extends LinearLayout { private final H mHandler = new H(); - private QSIconView mIcon; - private RippleDrawable mRipple; + protected QSIconView mIcon; + protected RippleDrawable mRipple; private Drawable mTileBackground; private String mAccessibilityClass; private boolean mTileState; @@ -65,7 +65,7 @@ public class QSTileBaseView extends LinearLayout { mCollapsedView = collapsedView; } - private Drawable newTileBackground() { + protected Drawable newTileBackground() { final int[] attrs = new int[] { android.R.attr.selectableItemBackgroundBorderless }; final TypedArray ta = mContext.obtainStyledAttributes(attrs); final Drawable d = ta.getDrawable(0); diff --git a/packages/SystemUI/src/com/android/systemui/qs/QSTileView.java b/packages/SystemUI/src/com/android/systemui/qs/QSTileView.java index 24c7b29b26c05..e59873a5ef06b 100644 --- a/packages/SystemUI/src/com/android/systemui/qs/QSTileView.java +++ b/packages/SystemUI/src/com/android/systemui/qs/QSTileView.java @@ -32,7 +32,6 @@ import libcore.util.Objects; /** View that represents a standard quick settings tile. **/ public class QSTileView extends QSTileBaseView { - protected final Context mContext; private final int mTileSpacingPx; private int mTilePaddingTopPx; @@ -46,7 +45,6 @@ public class QSTileView extends QSTileBaseView { public QSTileView(Context context, QSIconView icon, boolean collapsedView) { super(context, icon, collapsedView); - mContext = context; final Resources res = context.getResources(); mTileSpacingPx = res.getDimensionPixelSize(R.dimen.qs_tile_spacing);