fixing duplicate controlelrs

This commit is contained in:
dhk2 2020-06-28 07:41:48 -07:00
parent 9eaa9abaec
commit 6b26de862d

View File

@ -287,7 +287,7 @@ public class VideoPlayActivity extends AppCompatActivity {
public void onBackPressed() { public void onBackPressed() {
SharedPreferences sharedPref = PreferenceManager.getDefaultSharedPreferences(this); SharedPreferences sharedPref = PreferenceManager.getDefaultSharedPreferences(this);
VideoPlayerFragment videoPlayerFragment = (VideoPlayerFragment) videoPlayerFragment = (VideoPlayerFragment)
getSupportFragmentManager().findFragmentById(R.id.video_player_fragment); getSupportFragmentManager().findFragmentById(R.id.video_player_fragment);
//copying Youtube behavior to have back button exit full screen. //copying Youtube behavior to have back button exit full screen.