[Android] Benchmark: disable tips overlay

Duncan McNamara git at videolan.org
Fri Nov 2 15:05:46 CET 2018


vlc-android | branch: master | Duncan McNamara <dcn.mcnamara at gmail.com> | Mon Oct 29 15:37:42 2018 +0100| [c24f218a1aade8af7f429eba419445cb9b2bb728] | committer: Geoffrey Métais

Benchmark: disable tips overlay

Signed-off-by: Geoffrey Métais <geoffrey.metais at gmail.com>

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

 vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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 7fdb13df1..dbb827f83 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -352,7 +352,8 @@ public class VideoPlayerActivity extends AppCompatActivity implements IPlaybackS
         if (mDisplayManager.isPrimary()) {
             // Orientation
             // Tips
-            if (!BuildConfig.DEBUG && !mIsTv && !mSettings.getBoolean(PREF_TIPS_SHOWN, false)) {
+            if (!BuildConfig.DEBUG && !mIsTv && !mSettings.getBoolean(PREF_TIPS_SHOWN, false)
+                    && !mIsBenchmark) {
                 ((ViewStubCompat) findViewById(R.id.player_overlay_tips)).inflate();
                 mOverlayTips = findViewById(R.id.overlay_tips_layout);
             }



More information about the Android mailing list