From 36b692d8ef595eee1e28d20b740be548365a5671 Mon Sep 17 00:00:00 2001 From: David Friedman Date: Fri, 27 Sep 2013 10:04:48 -0700 Subject: [PATCH] Docs: Fixed wrong parameter in SoundPool file; fixed typo in security file. Bug: 10807931 10796994 Change-Id: I8c8e07c3e8606d5983c2545fa6638af45650d27c --- docs/html/training/articles/security-ssl.jd | 2 +- media/java/android/media/SoundPool.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/html/training/articles/security-ssl.jd b/docs/html/training/articles/security-ssl.jd index d3f68e2713ca3..f52865acff9e3 100644 --- a/docs/html/training/articles/security-ssl.jd +++ b/docs/html/training/articles/security-ssl.jd @@ -250,7 +250,7 @@ due to a self-signed certificate, which means the server is behaving as its own This is similar to an unknown certificate authority, so you can use the same approach from the previous section.

-

You can create yout own {@link javax.net.ssl.TrustManager}, +

You can create your own {@link javax.net.ssl.TrustManager}, this time trusting the server certificate directly. This has all of the downsides discussed earlier of tying your app directly to a certificate, but can be done securely. However, you should be careful to make sure your self-signed certificate has a diff --git a/media/java/android/media/SoundPool.java b/media/java/android/media/SoundPool.java index 587af47bb0303..acbf03a2f98d8 100644 --- a/media/java/android/media/SoundPool.java +++ b/media/java/android/media/SoundPool.java @@ -410,7 +410,7 @@ public class SoundPool * Called when a sound has completed loading. * * @param soundPool SoundPool object from the load() method - * @param soundPool the sample ID of the sound loaded. + * @param sampleId the sample ID of the sound loaded. * @param status the status of the load operation (0 = success) */ public void onLoadComplete(SoundPool soundPool, int sampleId, int status);