From 7f89016579567b40705f3821c3b57518ea4a421d Mon Sep 17 00:00:00 2001 From: Sanket Padawe Date: Mon, 27 Jun 2016 11:57:01 -0700 Subject: [PATCH] Fix documentation of getTelephonyHistogram() api. Bug: 29760459 Change-Id: Ib7c4df81026331f88f6a8776c0042abf4f32c620 --- api/current.txt | 21 ------------------- api/test-current.txt | 21 ------------------- .../android/telephony/TelephonyManager.java | 2 +- 3 files changed, 1 insertion(+), 43 deletions(-) diff --git a/api/current.txt b/api/current.txt index ba251b019da34..764cfe418aa57 100644 --- a/api/current.txt +++ b/api/current.txt @@ -37356,26 +37356,6 @@ package android.telephony { method public void onSubscriptionsChanged(); } - public final class TelephonyHistogram implements android.os.Parcelable { - ctor public TelephonyHistogram(int, int, int); - ctor public TelephonyHistogram(android.telephony.TelephonyHistogram); - ctor public TelephonyHistogram(android.os.Parcel); - method public void addTimeTaken(int); - method public int describeContents(); - method public int getAverageTime(); - method public int getBucketCount(); - method public int[] getBucketCounters(); - method public int[] getBucketEndPoints(); - method public int getCategory(); - method public int getId(); - method public int getMaxTime(); - method public int getMinTime(); - method public int getSampleCount(); - method public void writeToParcel(android.os.Parcel, int); - field public static final android.os.Parcelable.Creator CREATOR; - field public static final int TELEPHONY_CATEGORY_RIL = 1; // 0x1 - } - public class TelephonyManager { method public boolean canChangeDtmfToneLength(); method public android.telephony.TelephonyManager createForSubscriptionId(int); @@ -37406,7 +37386,6 @@ package android.telephony { method public java.lang.String getSimSerialNumber(); method public int getSimState(); method public java.lang.String getSubscriberId(); - method public java.util.List getTelephonyHistograms(); method public java.lang.String getVoiceMailAlphaTag(); method public java.lang.String getVoiceMailNumber(); method public int getVoiceNetworkType(); diff --git a/api/test-current.txt b/api/test-current.txt index b46813570d70b..f7693c2e89847 100644 --- a/api/test-current.txt +++ b/api/test-current.txt @@ -37434,26 +37434,6 @@ package android.telephony { method public void onSubscriptionsChanged(); } - public final class TelephonyHistogram implements android.os.Parcelable { - ctor public TelephonyHistogram(int, int, int); - ctor public TelephonyHistogram(android.telephony.TelephonyHistogram); - ctor public TelephonyHistogram(android.os.Parcel); - method public void addTimeTaken(int); - method public int describeContents(); - method public int getAverageTime(); - method public int getBucketCount(); - method public int[] getBucketCounters(); - method public int[] getBucketEndPoints(); - method public int getCategory(); - method public int getId(); - method public int getMaxTime(); - method public int getMinTime(); - method public int getSampleCount(); - method public void writeToParcel(android.os.Parcel, int); - field public static final android.os.Parcelable.Creator CREATOR; - field public static final int TELEPHONY_CATEGORY_RIL = 1; // 0x1 - } - public class TelephonyManager { method public boolean canChangeDtmfToneLength(); method public android.telephony.TelephonyManager createForSubscriptionId(int); @@ -37484,7 +37464,6 @@ package android.telephony { method public java.lang.String getSimSerialNumber(); method public int getSimState(); method public java.lang.String getSubscriberId(); - method public java.util.List getTelephonyHistograms(); method public java.lang.String getVoiceMailAlphaTag(); method public java.lang.String getVoiceMailNumber(); method public int getVoiceNetworkType(); diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java index 8e36f48f9fca7..2fb9409ed6a4c 100644 --- a/telephony/java/android/telephony/TelephonyManager.java +++ b/telephony/java/android/telephony/TelephonyManager.java @@ -5423,7 +5423,7 @@ public class TelephonyManager { return null; } - /* + /** * Get snapshot of Telephony histograms * @return List of Telephony histograms * Requires Permission: