Remove unnecessary method
This commit is contained in:
parent
7d1e55321a
commit
72424659ab
|
@ -408,7 +408,6 @@ public class SubsonicActivity extends AppCompatActivity implements OnItemSelecte
|
|||
if (currentFragment != null) {
|
||||
try {
|
||||
SubsonicFragment fragment = getCurrentFragment();
|
||||
fragment.setContext(this);
|
||||
fragment.onCreateOptionsMenu(menu, menuInflater);
|
||||
|
||||
if (isTouchscreen()) {
|
||||
|
|
|
@ -149,10 +149,6 @@ public class SubsonicFragment extends Fragment implements SwipeRefreshLayout.OnR
|
|||
this.context = (SubsonicActivity) getActivity();
|
||||
}
|
||||
|
||||
public void setContext(SubsonicActivity context) {
|
||||
this.context = context;
|
||||
}
|
||||
|
||||
void onFinishSetupOptionsMenu(final Menu menu) {
|
||||
searchItem = menu.findItem(R.id.menu_global_search);
|
||||
if (searchItem != null) {
|
||||
|
|
Loading…
Reference in New Issue