diff options
author | Dianne Hackborn <hackbod@google.com> | 2009-08-21 15:14:02 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2009-08-24 17:37:32 -0700 |
commit | 4a51c20ce607c74914f90fd897f04080121ac13b (patch) | |
tree | 067caf43aa752a8952061d7d8e03fb1aeb77c96e /telephony | |
parent | cf3a08307d1599eaa91d7cc4e7c601e5fa13037f (diff) | |
download | frameworks_base-4a51c20ce607c74914f90fd897f04080121ac13b.zip frameworks_base-4a51c20ce607c74914f90fd897f04080121ac13b.tar.gz frameworks_base-4a51c20ce607c74914f90fd897f04080121ac13b.tar.bz2 |
I am getting tired of the java doc warnings, so fix them.
Change-Id: I2205eebae419eaf4a0992c9f5b7cd807eb843fe1
Diffstat (limited to 'telephony')
5 files changed, 12 insertions, 6 deletions
diff --git a/telephony/java/android/telephony/PhoneStateListener.java b/telephony/java/android/telephony/PhoneStateListener.java index e113680..73e7baa5 100644 --- a/telephony/java/android/telephony/PhoneStateListener.java +++ b/telephony/java/android/telephony/PhoneStateListener.java @@ -154,8 +154,9 @@ public class PhoneStateListener { * @see ServiceState#STATE_IN_SERVICE * @see ServiceState#STATE_OUT_OF_SERVICE * @see ServiceState#STATE_POWER_OFF - * @deprecated, @see #onSignalStrengthsChanged + * @deprecated see #onSignalStrengthsChanged */ + @Deprecated public void onSignalStrengthChanged(int asu) { // default implementation empty } diff --git a/telephony/java/android/telephony/gsm/SmsMessage.java b/telephony/java/android/telephony/gsm/SmsMessage.java index 84dfca0..37ef912 100644 --- a/telephony/java/android/telephony/gsm/SmsMessage.java +++ b/telephony/java/android/telephony/gsm/SmsMessage.java @@ -345,6 +345,7 @@ public class SmsMessage { * the number of code units used, and int[2] is the number of code * units remaining until the next message. int[3] is the encoding * type that should be used for the message. + * @deprecated Use android.telephony.SmsMessage. */ @Deprecated public static int[] calculateLength(String messageBody, boolean use7bitOnly) { diff --git a/telephony/java/com/android/internal/telephony/CommandsInterface.java b/telephony/java/com/android/internal/telephony/CommandsInterface.java index 6ebd8d6..ed8bc1e 100644 --- a/telephony/java/com/android/internal/telephony/CommandsInterface.java +++ b/telephony/java/com/android/internal/telephony/CommandsInterface.java @@ -607,8 +607,9 @@ public interface CommandsInterface { * ar.exception carries exception on failure * ar.userObject contains the orignal value of result.obj * ar.result contains a List of DataCallState - * @deprecated + * @deprecated Do not use. */ + @Deprecated void getPDPContextList(Message result); /** @@ -779,8 +780,9 @@ public interface CommandsInterface { * cause code returned as int[0] in Message.obj.response * returns an integer cause code defined in TS 24.008 * section 6.1.3.1.3 or close approximation - * @deprecated + * @deprecated Do not use. */ + @Deprecated void getLastPdpFailCause (Message result); /** diff --git a/telephony/java/com/android/internal/telephony/PhoneBase.java b/telephony/java/com/android/internal/telephony/PhoneBase.java index 04a3749..9edb4c2 100644 --- a/telephony/java/com/android/internal/telephony/PhoneBase.java +++ b/telephony/java/com/android/internal/telephony/PhoneBase.java @@ -618,7 +618,7 @@ public abstract class PhoneBase implements Phone { * This should only be called in GSM mode. * Only here for some backward compatibility * issues concerning the GSMPhone class. - * @deprecated + * @deprecated Always returns null. */ public List<PdpConnection> getCurrentPdpList() { return null; diff --git a/telephony/java/com/android/internal/telephony/gsm/GSMPhone.java b/telephony/java/com/android/internal/telephony/gsm/GSMPhone.java index bb04a43..3c1308b 100755 --- a/telephony/java/com/android/internal/telephony/gsm/GSMPhone.java +++ b/telephony/java/com/android/internal/telephony/gsm/GSMPhone.java @@ -1084,8 +1084,9 @@ public class GSMPhone extends PhoneBase { } /** - * @deprecated + * @deprecated Do not use. */ + @Deprecated public void getPdpContextList(Message response) { getDataCallList(response); } @@ -1095,8 +1096,9 @@ public class GSMPhone extends PhoneBase { } /** - * @deprecated + * @deprecated Do not use. */ + @Deprecated public List<PdpConnection> getCurrentPdpList() { ArrayList<DataConnection> connections = new ArrayList<DataConnection>(); ArrayList<PdpConnection> pdp_list = new ArrayList<PdpConnection>(); |