summaryrefslogtreecommitdiffstats
path: root/telephony/java/android/telephony/gsm
diff options
context:
space:
mode:
Diffstat (limited to 'telephony/java/android/telephony/gsm')
-rw-r--r--telephony/java/android/telephony/gsm/GsmCellLocation.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/telephony/java/android/telephony/gsm/GsmCellLocation.java b/telephony/java/android/telephony/gsm/GsmCellLocation.java
index 0d4e0be..fa1f985 100644
--- a/telephony/java/android/telephony/gsm/GsmCellLocation.java
+++ b/telephony/java/android/telephony/gsm/GsmCellLocation.java
@@ -119,4 +119,11 @@ public class GsmCellLocation extends CellLocation {
m.putInt("lac", mLac);
m.putInt("cid", mCid);
}
+
+ /**
+ * @hide
+ */
+ public boolean isEmpty() {
+ return (mLac == -1 && mCid == -1);
+ }
}