From c0053cf534e6e8c570388f9ac6dcfb256332327e Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Tue, 20 Oct 2015 09:24:50 -0700 Subject: #585 Don't change options menu/title since no longer visible --- .../java/github/daneren2005/dsub/activity/SubsonicActivity.java | 8 -------- 1 file changed, 8 deletions(-) (limited to 'app/src/main') diff --git a/app/src/main/java/github/daneren2005/dsub/activity/SubsonicActivity.java b/app/src/main/java/github/daneren2005/dsub/activity/SubsonicActivity.java index dc64e9d1..a0f3333e 100644 --- a/app/src/main/java/github/daneren2005/dsub/activity/SubsonicActivity.java +++ b/app/src/main/java/github/daneren2005/dsub/activity/SubsonicActivity.java @@ -352,12 +352,9 @@ public class SubsonicActivity extends AppCompatActivity implements OnItemSelecte drawerToggle = new ActionBarDrawerToggle(this, drawer, toolbar, R.string.common_appname, R.string.common_appname) { @Override public void onDrawerClosed(View view) { - setTitle(currentFragment.getTitle()); - drawerIdle = true; drawerOpen = false; - supportInvalidateOptionsMenu(); if(!showingTabs) { populateTabs(); } @@ -372,13 +369,8 @@ public class SubsonicActivity extends AppCompatActivity implements OnItemSelecte } setDrawerItemVisible(R.id.drawer_downloading, downloadingVisible); - getSupportActionBar().setTitle(R.string.common_appname); - getSupportActionBar().setDisplayShowCustomEnabled(false); - drawerIdle = true; drawerOpen = true; - - supportInvalidateOptionsMenu(); } @Override -- cgit v1.2.3