[Android] Benchmark: disable clone mode snack
Duncan McNamara
git at videolan.org
Wed Mar 13 11:11:56 CET 2019
vlc-android | branch: 3.1.x | Duncan McNamara <dcn.mcnamara at gmail.com> | Mon Mar 11 15:18:44 2019 +0100| [40d61e285cbe24975e507a820a95ac8f2c955589] | committer: Geoffrey Métais
Benchmark: disable clone mode snack
This snack interferes with the benchmark screenshot process,
hence clone mode is forced on benchmarks, but the clone mode
snack reminder doesn't appear anymore.
Signed-off-by: Geoffrey Métais <geoffrey.metais at gmail.com>
> https://code.videolan.org/videolan/vlc-android/commit/40d61e285cbe24975e507a820a95ac8f2c955589
---
vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 2 +-
1 file changed, 1 insertion(+), 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 94890277b..1eff38f46 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -721,7 +721,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IPlaybackS
if (secondary) mSecondaryDisplayBtn.setImageResource(R.drawable.ic_stop_screen_share);
mSecondaryDisplayBtn.setVisibility(UiTools.hasSecondaryDisplay(getApplicationContext()) ? View.VISIBLE : View.GONE);
mSecondaryDisplayBtn.setContentDescription(getResources().getString(secondary ? R.string.video_remote_disable : R.string.video_remote_enable));
- if (mEnableCloneMode && !mSettings.contains("enable_clone_mode")) {
+ if (!mIsBenchmark && mEnableCloneMode && !mSettings.contains("enable_clone_mode")) {
UiTools.snackerConfirm(mSecondaryDisplayBtn, getString(R.string.video_save_clone_mode), new Runnable() {
@Override
public void run() {
More information about the Android
mailing list