[Android] Hide overlay with back only for TV

Geoffrey Métais git at videolan.org
Wed Apr 22 17:19:50 CEST 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Apr 22 16:28:37 2015 +0200| [0c5707ca2ee3b52a7214428981dd137320f2c4fc] | committer: Geoffrey Métais

Hide overlay with back only for TV

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=0c5707ca2ee3b52a7214428981dd137320f2c4fc
---

 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 dea2984..ad99799 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -936,7 +936,7 @@ public class VideoPlayerActivity extends ActionBarActivity implements IVideoPlay
             mLockBackButton = false;
             mHandler.sendEmptyMessageDelayed(RESET_BACK_LOCK, 2000);
             Toast.makeText(this, getString(R.string.back_quit_lock), Toast.LENGTH_SHORT).show();
-        } else if (mShowing && !mIsLocked) {
+        } else if (!AndroidDevices.hasTsp() && mShowing && !mIsLocked) {
             hideOverlay(true);
         } else
             super.onBackPressed();



More information about the Android mailing list