mirror of
https://gitea.mayex.net/mayekkuzu/Audinaut.git
synced 2025-02-02 22:03:47 +03:00
Remove setContentView override
This commit is contained in:
parent
81b562a2cb
commit
0a1cc75cc4
@ -116,6 +116,9 @@ public class SubsonicFragmentActivity extends SubsonicActivity implements Downlo
|
|||||||
lastSelectedPosition = R.id.drawer_downloading;
|
lastSelectedPosition = R.id.drawer_downloading;
|
||||||
}
|
}
|
||||||
setContentView(R.layout.abstract_fragment_activity);
|
setContentView(R.layout.abstract_fragment_activity);
|
||||||
|
if (drawerToggle != null) {
|
||||||
|
drawerToggle.setDrawerIndicatorEnabled(true);
|
||||||
|
}
|
||||||
|
|
||||||
if (findViewById(R.id.fragment_container) != null && savedInstanceState == null) {
|
if (findViewById(R.id.fragment_container) != null && savedInstanceState == null) {
|
||||||
String fragmentType = getIntent().getStringExtra(Constants.INTENT_EXTRA_FRAGMENT_TYPE);
|
String fragmentType = getIntent().getStringExtra(Constants.INTENT_EXTRA_FRAGMENT_TYPE);
|
||||||
@ -414,14 +417,6 @@ public class SubsonicFragmentActivity extends SubsonicActivity implements Downlo
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public void setContentView(int viewId) {
|
|
||||||
super.setContentView(viewId);
|
|
||||||
if (drawerToggle != null) {
|
|
||||||
drawerToggle.setDrawerIndicatorEnabled(true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onBackPressed() {
|
public void onBackPressed() {
|
||||||
if (slideUpPanel.getPanelState() == SlidingUpPanelLayout.PanelState.EXPANDED && secondaryFragment == null) {
|
if (slideUpPanel.getPanelState() == SlidingUpPanelLayout.PanelState.EXPANDED && secondaryFragment == null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user