[Android] Video player: Remove dead code

Geoffrey Métais git at videolan.org
Wed Apr 18 10:07:30 CEST 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Apr 18 10:06:57 2018 +0200| [73d218f9f5bbe43ae7d1d384a548675cf3a4873c] | committer: Geoffrey Métais

Video player: Remove dead code

> https://code.videolan.org/videolan/vlc-android/commit/73d218f9f5bbe43ae7d1d384a548675cf3a4873c
---

 vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
index 2cd6823b5..a24539816 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -853,7 +853,6 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
         }
 
         mSavedRate = mService.getRate();
-        mRateHasChanged = mSavedRate != 1.0f;
 
         mService.setRate(1.0f, false);
         mService.stop();
@@ -1186,10 +1185,6 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
         return super.onKeyDown(keyCode, event);
     }
 
-    void setSavedBrightness(float brightness) {
-        mSavedBrightness = brightness;
-    }
-
     int getAudioMax() {
         return mAudioMax;
     }



More information about the Android mailing list