File tree Expand file tree Collapse file tree 3 files changed +0
-36
lines changed
lib/java/com/google/android/material/snackbar
tests/javatests/com/google/android/material/snackbar Expand file tree Collapse file tree 3 files changed +0
-36
lines changed Original file line number Diff line number Diff line change @@ -823,10 +823,6 @@ void onLayoutChange() {
823
823
}
824
824
825
825
private void showViewImpl () {
826
- if (ViewCompat .getAccessibilityPaneTitle (view ) == null ) {
827
- ViewCompat .setAccessibilityPaneTitle (
828
- view , getContext ().getString (R .string .snackbar_accessibility_pane_title ));
829
- }
830
826
if (shouldAnimate ()) {
831
827
// If animations are enabled, animate it in
832
828
animateViewIn ();
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 29
29
import static com .google .android .material .testutils .TestUtilsActions .setLayoutDirection ;
30
30
import static org .hamcrest .Matchers .not ;
31
31
import static org .hamcrest .core .AllOf .allOf ;
32
- import static org .junit .Assert .assertEquals ;
33
32
import static org .junit .Assert .assertFalse ;
34
33
import static org .junit .Assert .assertTrue ;
35
34
import static org .mockito .ArgumentMatchers .any ;
@@ -400,17 +399,6 @@ public void testMultipleCallbacksWithRemoval() throws Throwable {
400
399
.onDismissed (snackbar , BaseTransientBottomBar .BaseCallback .DISMISS_EVENT_MANUAL );
401
400
}
402
401
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
-
414
402
@ Test
415
403
public void testDefaultContext_usesAppCompat () throws Throwable {
416
404
final Snackbar snackbar =
You can’t perform that action at this time.
0 commit comments