summaryrefslogtreecommitdiffstats
path: root/telephony/java/android
diff options
context:
space:
mode:
authorJake Hamby <jhamby@google.com>2010-03-19 14:47:29 -0700
committerJake Hamby <jhamby@google.com>2010-03-22 14:41:43 -0700
commit633dfb6da6d70cb369797b42df4bf046fdb3a07f (patch)
tree399df874912987acff2c78fbdaa82750487c94ba /telephony/java/android
parent6460d6e7b9608c00c4d38572b755f2d552a7e105 (diff)
downloadframeworks_base-633dfb6da6d70cb369797b42df4bf046fdb3a07f.zip
frameworks_base-633dfb6da6d70cb369797b42df4bf046fdb3a07f.tar.gz
frameworks_base-633dfb6da6d70cb369797b42df4bf046fdb3a07f.tar.bz2
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
Diffstat (limited to 'telephony/java/android')
-rw-r--r--telephony/java/android/telephony/SmsMessage.java6
-rw-r--r--telephony/java/android/telephony/TelephonyManager.java4
2 files changed, 5 insertions, 5 deletions
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 <code>SubmitPdu</code> 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)}.
* <p>
- * 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).
* <p>
* Availability: Only when user is registered to a network. Result may be