From f3648243686740312d0e352b7506e0ef8842dfb5 Mon Sep 17 00:00:00 2001 From: Martin Fietz Date: Sun, 24 Jan 2016 10:31:20 +0100 Subject: [PATCH] Don't retain cover fragment --- .../de/danoeh/antennapod/activity/MediaplayerActivity.java | 6 ------ .../java/de/danoeh/antennapod/fragment/CoverFragment.java | 1 - 2 files changed, 7 deletions(-) diff --git a/app/src/main/java/de/danoeh/antennapod/activity/MediaplayerActivity.java b/app/src/main/java/de/danoeh/antennapod/activity/MediaplayerActivity.java index a066beee9..cf168305a 100644 --- a/app/src/main/java/de/danoeh/antennapod/activity/MediaplayerActivity.java +++ b/app/src/main/java/de/danoeh/antennapod/activity/MediaplayerActivity.java @@ -257,12 +257,6 @@ public abstract class MediaplayerActivity extends AppCompatActivity implements O } } - @Override - protected void onDestroy() { - super.onDestroy(); - Log.d(TAG, "onDestroy()"); - } - @TargetApi(Build.VERSION_CODES.ICE_CREAM_SANDWICH) @Override public void onTrimMemory(int level) { diff --git a/app/src/main/java/de/danoeh/antennapod/fragment/CoverFragment.java b/app/src/main/java/de/danoeh/antennapod/fragment/CoverFragment.java index 60a607179..0ffdf4e51 100644 --- a/app/src/main/java/de/danoeh/antennapod/fragment/CoverFragment.java +++ b/app/src/main/java/de/danoeh/antennapod/fragment/CoverFragment.java @@ -48,7 +48,6 @@ public class CoverFragment extends Fragment implements @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); - setRetainInstance(true); Bundle args = getArguments(); if (args != null) { media = args.getParcelable(ARG_PLAYABLE);