Skip to content

Commit 54be28b

Browse files
Material Design Teamdsn5ft
authored andcommitted
Automated g4 rollback of changelist 817143878
PiperOrigin-RevId: 817183622
1 parent 41311ca commit 54be28b

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

lib/java/com/google/android/material/snackbar/Snackbar.java

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,27 @@ private Snackbar(
126126
(AccessibilityManager) parent.getContext().getSystemService(Context.ACCESSIBILITY_SERVICE);
127127
}
128128

129+
// TODO: Delete this once custom Robolectric shadows no longer depend on this method being present
130+
// (and instead properly utilize BaseTransientBottomBar hierarchy).
131+
@Override
132+
public void show() {
133+
super.show();
134+
}
135+
136+
// TODO: Delete this once custom Robolectric shadows no longer depend on this method being present
137+
// (and instead properly utilize BaseTransientBottomBar hierarchy).
138+
@Override
139+
public void dismiss() {
140+
super.dismiss();
141+
}
142+
143+
// TODO: Delete this once custom Robolectric shadows no longer depend on this method being present
144+
// (and instead properly utilize BaseTransientBottomBar hierarchy).
145+
@Override
146+
public boolean isShown() {
147+
return super.isShown();
148+
}
149+
129150
/**
130151
* Make a Snackbar to display a message
131152
*

0 commit comments

Comments
 (0)