Merge pull request #13132 from Stypox/regression-detailfragment-flickers
This commit is contained in:
commit
a0196ea21c
1 changed files with 4 additions and 2 deletions
|
|
@ -1424,8 +1424,10 @@ public final class VideoDetailFragment
|
||||||
bottomSheetBehavior.setState(BottomSheetBehavior.STATE_COLLAPSED);
|
bottomSheetBehavior.setState(BottomSheetBehavior.STATE_COLLAPSED);
|
||||||
}
|
}
|
||||||
// Rebound to the service if it was closed via notification or mini player
|
// Rebound to the service if it was closed via notification or mini player
|
||||||
playerHolder.setListener(VideoDetailFragment.this);
|
if (!playerHolder.isBound()) {
|
||||||
playerHolder.tryBindIfNeeded(context);
|
playerHolder.startService(
|
||||||
|
false, VideoDetailFragment.this);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue