summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Kevin Hufnagle <khufnagle@google.com> 2016-09-26 23:35:11 +0000
committer android-build-merger <android-build-merger@google.com> 2016-09-26 23:35:11 +0000
commit52aa48f41b4b3ce53609edaae200a047cdf95b07 (patch)
tree29f9ba16088a25554daab3642a5e3f2959300559
parentae26f3a05d24044b0f6df349e39cb50300ea88bf (diff)
parentb76bfdc7e05b5b2cf739c7ed12e80d85815e8ecc (diff)
docs: Fixed variable naming error in code snippet for viewing a video am: 043e7b87a5 am: 3473e83858
am: b76bfdc7e0 Change-Id: I010e8b9d04b59664b38e094b09c8a7e8f24223da
-rw-r--r--docs/html/training/camera/videobasics.jd2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/html/training/camera/videobasics.jd b/docs/html/training/camera/videobasics.jd
index 6da239a33031..b20cfefdf350 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}.</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);