fixing duplicate controlelrs
This commit is contained in:
parent
9eaa9abaec
commit
6b26de862d
@ -287,7 +287,7 @@ public class VideoPlayActivity extends AppCompatActivity {
|
||||
public void onBackPressed() {
|
||||
|
||||
SharedPreferences sharedPref = PreferenceManager.getDefaultSharedPreferences(this);
|
||||
VideoPlayerFragment videoPlayerFragment = (VideoPlayerFragment)
|
||||
videoPlayerFragment = (VideoPlayerFragment)
|
||||
getSupportFragmentManager().findFragmentById(R.id.video_player_fragment);
|
||||
|
||||
//copying Youtube behavior to have back button exit full screen.
|
||||
|
Loading…
Reference in New Issue
Block a user