[Android] Lighter messages for screen orientation lock
Geoffrey Métais
git at videolan.org
Wed Oct 24 18:10:06 CEST 2018
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Oct 24 18:09:42 2018 +0200| [9e3c5757e35c8dcfc3dfa1e9c6e28b60b7e42242] | committer: Geoffrey Métais
Lighter messages for screen orientation lock
> https://code.videolan.org/videolan/vlc-android/commit/9e3c5757e35c8dcfc3dfa1e9c6e28b60b7e42242
---
vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 4 ++--
1 file changed, 2 insertions(+), 2 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 1177267fa..652130324 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -565,7 +565,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
message = R.string.locked_in_landscape_mode;
else
message = R.string.locked_in_portrait_mode;
- showInfo(message, 1000);
+ UiTools.snacker(mRootView, message);
}
if (mTouchDelegate != null) {
@@ -3026,7 +3026,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
if (mScreenOrientation == 98) {
mScreenOrientation = Integer.valueOf(
mSettings.getString("screen_orientation", "99" /*SCREEN ORIENTATION SENSOR*/));
- showInfo(R.string.reset_orientation, 1000);
+ UiTools.snacker(mRootView, R.string.reset_orientation);
setRequestedOrientation(getScreenOrientation(mScreenOrientation));
return true;
}
More information about the Android
mailing list