Merge "Add isValid method to CiwlanConfig class"
diff --git a/extphone/src/com/qti/extphone/CiwlanConfig.java b/extphone/src/com/qti/extphone/CiwlanConfig.java
index 8bc8048..2da5906 100644
--- a/extphone/src/com/qti/extphone/CiwlanConfig.java
+++ b/extphone/src/com/qti/extphone/CiwlanConfig.java
@@ -71,6 +71,10 @@
return (mHomeMode != UNSUPPORTED && mRoamMode != UNSUPPORTED);
}
+ public boolean isValid() {
+ return (mHomeMode != INVALID && mRoamMode != INVALID);
+ }
+
@Override
public int describeContents() {
return 0;