From dfd40e43da738119724733256bbc52533ef69b99 Mon Sep 17 00:00:00 2001 From: Coffeemakr Date: Mon, 16 Jan 2017 13:01:52 +0100 Subject: [PATCH] Fix for #407 --- .../org/schabi/newpipe/detail/VideoItemDetailFragment.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/org/schabi/newpipe/detail/VideoItemDetailFragment.java b/app/src/main/java/org/schabi/newpipe/detail/VideoItemDetailFragment.java index 2c6e4b55a..4ff5534f2 100644 --- a/app/src/main/java/org/schabi/newpipe/detail/VideoItemDetailFragment.java +++ b/app/src/main/java/org/schabi/newpipe/detail/VideoItemDetailFragment.java @@ -647,8 +647,8 @@ public class VideoItemDetailFragment extends Fragment { } @Override - public void onActivityCreated(Bundle savedInstanceBundle) { - super.onActivityCreated(savedInstanceBundle); + public void onStart() { + super.onStart(); Activity a = getActivity(); infoItemBuilder = new InfoItemBuilder(a, a.findViewById(android.R.id.content));