public void onActivityResume(Activity activity) {
   super.onActivityResume(activity);
   if (mVideoManager != null) {
     mVideoManager.setController(this);
   }
   if (mControlManager != null) {
     mControlManager.setController(this);
   }
 }
 public void onActivityPause() {
   if (mVideoManager != null) {
     mVideoManager.setController(null);
   }
   if (mTvShowManager != null) {
     mTvShowManager.setController(null);
   }
   super.onActivityPause();
 }
 public void onActivityPause() {
   if (mVideoManager != null) {
     mVideoManager.setController(null);
     mVideoManager.postActivity();
   }
   if (mControlManager != null) {
     mControlManager.setController(null);
   }
   super.onActivityPause();
 }
 public void onActivityPause() {
   mVideoManager.setController(null);
   mVideoManager.postActivity();
   mControlManager.setController(null);
 }