Commit 5df49e3a authored by Thomas Guillem's avatar Thomas Guillem

java_sample: remove ui_surface (leftover from native_sample)

parent b68c5955
......@@ -47,7 +47,6 @@ public class JavaActivity extends AppCompatActivity implements IVLCVout.Callback
private static final int SURFACE_ORIGINAL = 6;
private static int CURRENT_SIZE = SURFACE_BEST_FIT;
private SurfaceView mUiSurface = null;
private FrameLayout mVideoSurfaceFrame = null;
private SurfaceView mVideoSurface = null;
private SurfaceView mSubtitlesSurface = null;
......@@ -75,7 +74,6 @@ public class JavaActivity extends AppCompatActivity implements IVLCVout.Callback
mLibVLC = new LibVLC(args);
mMediaPlayer = new MediaPlayer(mLibVLC);
mUiSurface = (SurfaceView) findViewById(R.id.ui_surface);
mVideoSurfaceFrame = (FrameLayout) findViewById(R.id.video_surface_frame);
mVideoSurface = (SurfaceView) findViewById(R.id.video_surface);
if (ENABLE_SUBTITLES && HWDecoderUtil.HAS_SUBTITLES_SURFACE) {
......
......@@ -6,11 +6,6 @@
android:background="@android:color/background_dark"
tools:context=".NativeActivity">
<SurfaceView
android:id="@+id/ui_surface"
android:layout_width="1dp"
android:layout_height="1dp" />
<FrameLayout
android:id="@+id/video_surface_frame"
android:layout_width="wrap_content"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment