summaryrefslogtreecommitdiffstats
path: root/docs/html
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2010-11-09 21:54:38 -0800
committerGlenn Kasten <gkasten@google.com>2010-12-20 09:22:01 -0800
commit334031cd07c3bd09d23fce0ebaf946fc6ecfee26 (patch)
treef6dddd05f2b1ebb09aa44699d26cac500af9502a /docs/html
parentfd4dda8d77231db01b26686f61601a999a2d96f3 (diff)
downloadframeworks_base-334031cd07c3bd09d23fce0ebaf946fc6ecfee26.zip
frameworks_base-334031cd07c3bd09d23fce0ebaf946fc6ecfee26.tar.gz
frameworks_base-334031cd07c3bd09d23fce0ebaf946fc6ecfee26.tar.bz2
Fix documentation errors
Fix typos. Fix javadoc error. Fix wrong instructions about new returning null. Change-Id: I76bca22e386839007fc99667b07649a4ced4180f
Diffstat (limited to 'docs/html')
-rw-r--r--docs/html/guide/topics/media/index.jd5
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/html/guide/topics/media/index.jd b/docs/html/guide/topics/media/index.jd
index 8e18754..e355212 100644
--- a/docs/html/guide/topics/media/index.jd
+++ b/docs/html/guide/topics/media/index.jd
@@ -115,9 +115,8 @@ Resume playback from where you paused with
<p>{@link android.media.MediaPlayer#stop() stop()} and
{@link android.media.MediaPlayer#pause() pause()} work the same as discussed
above.</p>
- <p class="note"><strong>Note:</strong> It is possible that <code>mp</code> could be
- null, so good code should <code>null</code> check after the <code>new</code>.
- Also, <code>IllegalArgumentException</code> and <code>IOException</code> either
+ <p class="note"><strong>Note:</strong>
+ <code>IllegalArgumentException</code> and <code>IOException</code> either
need to be caught or passed on when using <code>setDataSource()</code>, since
the file you are referencing may not exist.</p>
<p class="note"><strong>Note:</strong>