Play.java: Don't lookup R.id.surface_video twice.
R.id.surface_video was stored in the gsv variable just above, don't look it up a second time.
This commit is contained in:
parent
0436ec5b1c
commit
1116ae85e2
@ -126,8 +126,7 @@ public class Play extends Activity implements SurfaceHolder.Callback, OnSeekBarC
|
||||
}
|
||||
});
|
||||
|
||||
SurfaceView sv = (SurfaceView) this.findViewById(R.id.surface_video);
|
||||
SurfaceHolder sh = sv.getHolder();
|
||||
SurfaceHolder sh = gsv.getHolder();
|
||||
sh.addCallback(this);
|
||||
|
||||
String mediaUri = null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user