Don't retain cover fragment

This commit is contained in:
Martin Fietz 2016-01-24 10:31:20 +01:00
parent 7e9e3bb946
commit f364824368
2 changed files with 0 additions and 7 deletions

View File

@ -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) @TargetApi(Build.VERSION_CODES.ICE_CREAM_SANDWICH)
@Override @Override
public void onTrimMemory(int level) { public void onTrimMemory(int level) {

View File

@ -48,7 +48,6 @@ public class CoverFragment extends Fragment implements
@Override @Override
public void onCreate(Bundle savedInstanceState) { public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
setRetainInstance(true);
Bundle args = getArguments(); Bundle args = getArguments();
if (args != null) { if (args != null) {
media = args.getParcelable(ARG_PLAYABLE); media = args.getParcelable(ARG_PLAYABLE);