Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b76bfdc7 authored by Kevin Hufnagle's avatar Kevin Hufnagle Committed by android-build-merger
Browse files

docs: Fixed variable naming error in code snippet for viewing a video am: 043e7b87

am: 3473e838

Change-Id: Ic5b9053020844a10d7a7b2b396b6fcd7362d30cd
parents 676f1bfe 3473e838
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -108,7 +108,7 @@ retrieves this video and displays it in a {@link android.widget.VideoView}.</p>

<pre>
&#64;Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
protected void onActivityResult(int requestCode, int resultCode, Intent intent) {
    if (requestCode == REQUEST_VIDEO_CAPTURE && resultCode == RESULT_OK) {
        Uri videoUri = intent.getData();
        mVideoView.setVideoURI(videoUri);