Merge "Fix access modifiers on ImageView overrides" into ics-mr1

This commit is contained in:
Adam Powell
2011-11-10 14:16:45 -08:00
committed by Android (Google) Code Review

View File

@@ -1045,7 +1045,7 @@ public class ImageView extends View {
}
@Override
public void onAttachedToWindow() {
protected void onAttachedToWindow() {
super.onAttachedToWindow();
if (mDrawable != null) {
mDrawable.setVisible(getVisibility() == VISIBLE, false);
@@ -1053,7 +1053,7 @@ public class ImageView extends View {
}
@Override
public void onDetachedFromWindow() {
protected void onDetachedFromWindow() {
super.onDetachedFromWindow();
if (mDrawable != null) {
mDrawable.setVisible(false, false);