[Android] LibVLC/AWindow: rename method

Thomas Guillem git at videolan.org
Mon Dec 19 12:07:38 CET 2016


vlc-android | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Dec 15 14:53:11 2016 +0100| [d4283f7cfe57686056712ee0f0cdd36f50a75390] | committer: Thomas Guillem

LibVLC/AWindow: rename method

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

 libvlc/src/org/videolan/libvlc/AWindow.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libvlc/src/org/videolan/libvlc/AWindow.java b/libvlc/src/org/videolan/libvlc/AWindow.java
index c23399d..e9cba9d 100644
--- a/libvlc/src/org/videolan/libvlc/AWindow.java
+++ b/libvlc/src/org/videolan/libvlc/AWindow.java
@@ -117,7 +117,7 @@ class AWindow implements IVLCVout {
         }
 
         @TargetApi(Build.VERSION_CODES.ICE_CREAM_SANDWICH)
-        private void releaseSurfaceTexture() {
+        private void releaseTextureView() {
             if (mTextureView != null)
                 mTextureView.setSurfaceTextureListener(null);
         }
@@ -127,7 +127,7 @@ class AWindow implements IVLCVout {
             setNativeSurface(mId, null);
             if (mSurfaceHolder != null)
                 mSurfaceHolder.removeCallback(mSurfaceHolderCallback);
-            releaseSurfaceTexture();
+            releaseTextureView();
         }
 
         public boolean isReady() {



More information about the Android mailing list