diff options
author | Scott Jackson <daneren2005@gmail.com> | 2013-05-07 22:21:26 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2013-05-07 22:21:26 -0700 |
commit | 3e17a9acf59573d8ee587d4cb50fd662df2f0202 (patch) | |
tree | dd57de8a3978cdb2846f6a2bc61cb10812739a11 | |
parent | 5f8ea76c42aac4bc1b5689a0c2a1c5d022280553 (diff) | |
download | dsub-3e17a9acf59573d8ee587d4cb50fd662df2f0202.tar.gz dsub-3e17a9acf59573d8ee587d4cb50fd662df2f0202.tar.bz2 dsub-3e17a9acf59573d8ee587d4cb50fd662df2f0202.zip |
Fix orientation change -> back, orientation change causing crash
-rw-r--r-- | subsonic-android/src/github/daneren2005/dsub/activity/SubsonicActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/activity/SubsonicActivity.java b/subsonic-android/src/github/daneren2005/dsub/activity/SubsonicActivity.java index 9881a8c7..ac2acca7 100644 --- a/subsonic-android/src/github/daneren2005/dsub/activity/SubsonicActivity.java +++ b/subsonic-android/src/github/daneren2005/dsub/activity/SubsonicActivity.java @@ -157,7 +157,7 @@ public class SubsonicActivity extends SherlockFragmentActivity { Fragment oldFrag = (Fragment)currentFragment;
currentFragment = (SubsonicFragment) backStack.remove(backStack.size() - 1);
- backStackId.remove(backStackId.size() - 1);
+ currentFragmentId = backStackId.remove(backStackId.size() - 1);
currentFragment.setPrimaryFragment(true);
invalidateOptionsMenu();
|