We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0f70e48 + 6a939ae commit 71282a4Copy full SHA for 71282a4
core/java/android/widget/ImageView.java
@@ -1045,15 +1045,15 @@ public void setVisibility(int visibility) {
1045
}
1046
1047
@Override
1048
- public void onAttachedToWindow() {
+ protected void onAttachedToWindow() {
1049
super.onAttachedToWindow();
1050
if (mDrawable != null) {
1051
mDrawable.setVisible(getVisibility() == VISIBLE, false);
1052
1053
1054
1055
1056
- public void onDetachedFromWindow() {
+ protected void onDetachedFromWindow() {
1057
super.onDetachedFromWindow();
1058
1059
mDrawable.setVisible(false, false);
0 commit comments