Merge pull request #1600 from mfietz/issue/1599-audio-player-crash-rotate

Audio Player: Don't retain cover fragment
This commit is contained in:
Tom Hennen 2016-01-24 11:27:48 -05:00
commit 43bc084b7a
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)
@Override
public void onTrimMemory(int level) {

View File

@ -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);