Skip to content

Commit 6a939ae

Browse files
committed
Fix access modifiers on ImageView overrides
Change-Id: I64cc10c877ac4adc4b79abcd7c7617480bd82906
1 parent 67121fd commit 6a939ae

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)