Skip to content

Commit 7f8f3e7

Browse files
Material Design Teamhunterstich
authored andcommitted
Automated g4 rollback of changelist 655638807
PiperOrigin-RevId: 730472222
1 parent 68a79d7 commit 7f8f3e7

File tree

3 files changed

+0
-36
lines changed

3 files changed

+0
-36
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -823,10 +823,6 @@ void onLayoutChange() {
823823
}
824824

825825
private void showViewImpl() {
826-
if (ViewCompat.getAccessibilityPaneTitle(view) == null) {
827-
ViewCompat.setAccessibilityPaneTitle(
828-
view, getContext().getString(R.string.snackbar_accessibility_pane_title));
829-
}
830826
if (shouldAnimate()) {
831827
// If animations are enabled, animate it in
832828
animateViewIn();

lib/java/com/google/android/material/snackbar/res/values/strings.xml

Lines changed: 0 additions & 20 deletions
This file was deleted.

tests/javatests/com/google/android/material/snackbar/SnackbarTest.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
import static com.google.android.material.testutils.TestUtilsActions.setLayoutDirection;
3030
import static org.hamcrest.Matchers.not;
3131
import static org.hamcrest.core.AllOf.allOf;
32-
import static org.junit.Assert.assertEquals;
3332
import static org.junit.Assert.assertFalse;
3433
import static org.junit.Assert.assertTrue;
3534
import static org.mockito.ArgumentMatchers.any;
@@ -400,17 +399,6 @@ public void testMultipleCallbacksWithRemoval() throws Throwable {
400399
.onDismissed(snackbar, BaseTransientBottomBar.BaseCallback.DISMISS_EVENT_MANUAL);
401400
}
402401

403-
@Test
404-
public void testAccessibilityPaneTitle() throws Throwable {
405-
final Snackbar snackbar =
406-
Snackbar.make(coordinatorLayout, MESSAGE_TEXT, Snackbar.LENGTH_INDEFINITE)
407-
.setAction(ACTION_TEXT, mock(View.OnClickListener.class));
408-
SnackbarUtils.showTransientBottomBarAndWaitUntilFullyShown(snackbar);
409-
assertEquals(
410-
snackbar.getContext().getString(R.string.snackbar_accessibility_pane_title),
411-
ViewCompat.getAccessibilityPaneTitle(snackbar.getView()).toString());
412-
}
413-
414402
@Test
415403
public void testDefaultContext_usesAppCompat() throws Throwable {
416404
final Snackbar snackbar =

0 commit comments

Comments
 (0)