Skip to content

Commit 71282a4

Browse files
adampAndroid (Google) Code Review
authored andcommitted
Merge "Fix access modifiers on ImageView overrides" into ics-mr1
2 parents 0f70e48 + 6a939ae commit 71282a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/java/android/widget/ImageView.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1045,15 +1045,15 @@ public void setVisibility(int visibility) {
10451045
}
10461046

10471047
@Override
1048-
public void onAttachedToWindow() {
1048+
protected void onAttachedToWindow() {
10491049
super.onAttachedToWindow();
10501050
if (mDrawable != null) {
10511051
mDrawable.setVisible(getVisibility() == VISIBLE, false);
10521052
}
10531053
}
10541054

10551055
@Override
1056-
public void onDetachedFromWindow() {
1056+
protected void onDetachedFromWindow() {
10571057
super.onDetachedFromWindow();
10581058
if (mDrawable != null) {
10591059
mDrawable.setVisible(false, false);

0 commit comments

Comments
 (0)