summaryrefslogtreecommitdiffstats
path: root/telephony
diff options
context:
space:
mode:
authorCasey Ho <caseyho@google.com>2015-04-21 09:37:55 -0700
committerCasey Ho <caseyho@google.com>2015-06-22 21:08:52 +0000
commit8e27050f0ebb27b920dfc918635130865dba0eac (patch)
tree8824a1c4424349ad7323a66dce9ebc915b3804e8 /telephony
parent8b9730f749498491ceb80c86261ee5b8398c7f25 (diff)
downloadframeworks_base-8e27050f0ebb27b920dfc918635130865dba0eac.zip
frameworks_base-8e27050f0ebb27b920dfc918635130865dba0eac.tar.gz
frameworks_base-8e27050f0ebb27b920dfc918635130865dba0eac.tar.bz2
Unhide signal strength constants used by getLevel.
Bug: 22008966 Change-Id: I0c1dc993cbf33a7109d8a4e329b05a897df6ea1b
Diffstat (limited to 'telephony')
-rw-r--r--telephony/java/android/telephony/CellSignalStrength.java17
1 files changed, 12 insertions, 5 deletions
diff --git a/telephony/java/android/telephony/CellSignalStrength.java b/telephony/java/android/telephony/CellSignalStrength.java
index 9c23f78..2a3ef21 100644
--- a/telephony/java/android/telephony/CellSignalStrength.java
+++ b/telephony/java/android/telephony/CellSignalStrength.java
@@ -21,18 +21,19 @@ package android.telephony;
*/
public abstract class CellSignalStrength {
- /** @hide */
public static final int SIGNAL_STRENGTH_NONE_OR_UNKNOWN = 0;
- /** @hide */
+
public static final int SIGNAL_STRENGTH_POOR = 1;
- /** @hide */
+
public static final int SIGNAL_STRENGTH_MODERATE = 2;
- /** @hide */
+
public static final int SIGNAL_STRENGTH_GOOD = 3;
- /** @hide */
+
public static final int SIGNAL_STRENGTH_GREAT = 4;
+
/** @hide */
public static final int NUM_SIGNAL_STRENGTH_BINS = 5;
+
/** @hide */
public static final String[] SIGNAL_STRENGTH_NAMES = {
"none", "poor", "moderate", "good", "great"
@@ -47,6 +48,12 @@ public abstract class CellSignalStrength {
/**
* Get signal level as an int from 0..4
+ * <p>
+ * @see SIGNAL_STRENGTH_NONE_OR_UNKNOWN
+ * @see SIGNAL_STRENGTH_POOR
+ * @see SIGNAL_STRENGTH_MODERATE
+ * @see SIGNAL_STRENGTH_GOOD
+ * @see SIGNAL_STRENGTH_GREAT
*/
public abstract int getLevel();