From 043e7b87a5d116b1fb991a0125bb06ed0d279694 Mon Sep 17 00:00:00 2001 From: Kevin Hufnagle Date: Thu, 8 Sep 2016 22:48:56 -0700 Subject: [PATCH] docs: Fixed variable naming error in code snippet for viewing a video The code snippet in the "View the Video" section now uses consistent naming for the variable that represents the Intent containing the URI of the video to play. Bug: 25068669 Change-Id: Ibb1a454d647e8ab6cccfe9a8b0efd4fb5c986290 --- docs/html/training/camera/videobasics.jd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/html/training/camera/videobasics.jd b/docs/html/training/camera/videobasics.jd index 6da239a330313..b20cfefdf350c 100644 --- a/docs/html/training/camera/videobasics.jd +++ b/docs/html/training/camera/videobasics.jd @@ -108,7 +108,7 @@ retrieves this video and displays it in a {@link android.widget.VideoView}.

 @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);