From 633dfb6da6d70cb369797b42df4bf046fdb3a07f Mon Sep 17 00:00:00 2001 From: Jake Hamby Date: Fri, 19 Mar 2010 14:47:29 -0700 Subject: Fix some typos and logging of calls to CDMA methods. Fixed some comment typos and cleaned up logging of unexpected calls to CDMA-specific methods on a non-CDMA device. Change-Id: Ia6e5fba765122cbf3186fd9fecca7a3931a76dcc --- telephony/java/android/telephony/SmsMessage.java | 6 +++--- telephony/java/android/telephony/TelephonyManager.java | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'telephony/java/android') diff --git a/telephony/java/android/telephony/SmsMessage.java b/telephony/java/android/telephony/SmsMessage.java index b8ea4c0..a284ea5 100644 --- a/telephony/java/android/telephony/SmsMessage.java +++ b/telephony/java/android/telephony/SmsMessage.java @@ -237,8 +237,8 @@ public class SmsMessage { /* * TODO(cleanup): It would make some sense if the result of - * preprocessing a message to determine the proper encoding (ie - * the resulting datastructure from calculateLength) could be + * preprocessing a message to determine the proper encoding (i.e. + * the resulting data structure from calculateLength) could be * passed as an argument to the actual final encoding function. * This would better ensure that the logic behind size calculation * actually matched the encoding. @@ -427,7 +427,7 @@ public class SmsMessage { * @param destinationAddress the address of the destination for the message * @param destinationPort the port to deliver the message to at the * destination - * @param data the dat for the message + * @param data the data for the message * @return a SubmitPdu containing the encoded SC * address, if applicable, and the encoded message. * Returns null on encode error. diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java index ae5b1de..f018d10 100644 --- a/telephony/java/android/telephony/TelephonyManager.java +++ b/telephony/java/android/telephony/TelephonyManager.java @@ -46,7 +46,7 @@ import java.util.List; * {@link android.content.Context#getSystemService * Context.getSystemService(Context.TELEPHONY_SERVICE)}. *

- * Note that acess to some telephony information is + * Note that access to some telephony information is * permission-protected. Your application cannot access the protected * information unless it has the appropriate permissions declared in * its manifest file. Where permissions apply, they are noted in the @@ -356,7 +356,7 @@ public class TelephonyManager { } /** - * Returns the ISO country code equivilent of the current registered + * Returns the ISO country code equivalent of the current registered * operator's MCC (Mobile Country Code). *

* Availability: Only when user is registered to a network. Result may be -- cgit v1.1