Skip to content

Commit 54b0d7d

Browse files
paulfthomasimhappi
authored andcommitted
Automated g4 rollback of changelist 470727992
PiperOrigin-RevId: 471050462
1 parent 9dd1195 commit 54b0d7d

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

catalog/java/io/material/catalog/bottomappbar/BottomAppBarMainDemoFragment.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
import io.material.catalog.R;
2020

21-
import android.annotation.SuppressLint;
2221
import android.os.Bundle;
2322
import androidx.appcompat.app.AppCompatActivity;
2423
import androidx.appcompat.widget.Toolbar;
@@ -185,7 +184,6 @@ private void setUpBottomAppBarShapeAppearance() {
185184
babBackground.getShapeAppearanceModel().toBuilder().setTopEdge(topEdge).build());
186185
}
187186

188-
@SuppressLint("NewApi")
189187
protected void setUpBottomDrawer(View view) {
190188
View bottomDrawer = coordinatorLayout.findViewById(R.id.bottom_drawer);
191189
bottomDrawerBehavior = BottomSheetBehavior.from(bottomDrawer);
@@ -195,7 +193,6 @@ protected void setUpBottomDrawer(View view) {
195193
v -> bottomDrawerBehavior.setState(BottomSheetBehavior.STATE_HALF_EXPANDED));
196194
bar.setNavigationIcon(R.drawable.ic_drawer_menu_24px);
197195
bar.replaceMenu(R.menu.demo_primary);
198-
bar.getMenu().findItem(R.id.menu_search).getActionView().requestFocus();
199196
}
200197

201198
private void showSnackbar(CharSequence text) {

catalog/java/io/material/catalog/bottomappbar/res/menu/demo_primary.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
<menu xmlns:android="http://schemas.android.com/apk/res/android"
1919
xmlns:app="http://schemas.android.com/apk/res-auto">
2020
<item
21-
android:id="@+id/menu_search"
2221
android:icon="@drawable/ic_search_24px"
2322
android:title="@string/cat_bottomappbar_search"
2423
app:showAsAction="ifRoom"/>

0 commit comments

Comments
 (0)