aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src/github/daneren2005
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-05-13 20:29:57 -0700
committerScott Jackson <daneren2005@gmail.com>2013-05-13 20:29:57 -0700
commitcd95d9efb7bce89fef5004335fa5119a8225482b (patch)
treebfc857ab887c41a3029895ff91b1287e855dae38 /subsonic-android/src/github/daneren2005
parentcae74d97ae84ddc2838658fecef8c0091784dd3f (diff)
downloaddsub-cd95d9efb7bce89fef5004335fa5119a8225482b.tar.gz
dsub-cd95d9efb7bce89fef5004335fa5119a8225482b.tar.bz2
dsub-cd95d9efb7bce89fef5004335fa5119a8225482b.zip
Don't redo the intent if orientation change
Diffstat (limited to 'subsonic-android/src/github/daneren2005')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/activity/MainActivity.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/activity/MainActivity.java b/subsonic-android/src/github/daneren2005/dsub/activity/MainActivity.java
index e3d6d46c..17ac7102 100644
--- a/subsonic-android/src/github/daneren2005/dsub/activity/MainActivity.java
+++ b/subsonic-android/src/github/daneren2005/dsub/activity/MainActivity.java
@@ -47,6 +47,7 @@ public class MainActivity extends SubsonicActivity {
stopService(new Intent(this, DownloadServiceImpl.class));
finish();
} else if(getIntent().hasExtra(Constants.INTENT_EXTRA_NAME_DOWNLOAD)) {
+ getIntent().removeExtra(Constants.INTENT_EXTRA_NAME_DOWNLOAD);
Intent intent = new Intent();
intent.setClass(this, DownloadActivity.class);
startActivity(intent);