Merge "Fix some frameworks-telephony test compile errors." into jb-mr2-dev
diff --git a/src/java/com/android/internal/telephony/PhoneBase.java b/src/java/com/android/internal/telephony/PhoneBase.java
index 2cab9e5..4208326 100644
--- a/src/java/com/android/internal/telephony/PhoneBase.java
+++ b/src/java/com/android/internal/telephony/PhoneBase.java
@@ -774,7 +774,7 @@
@Override
public String getIccSerialNumber() {
IccRecords r = mIccRecords.get();
- return (r != null) ? r.getIccId() : "";
+ return (r != null) ? r.getIccId() : null;
}
@Override
diff --git a/src/java/com/android/internal/telephony/gsm/GSMPhone.java b/src/java/com/android/internal/telephony/gsm/GSMPhone.java
index b7b1901..9a4021b 100644
--- a/src/java/com/android/internal/telephony/gsm/GSMPhone.java
+++ b/src/java/com/android/internal/telephony/gsm/GSMPhone.java
@@ -896,13 +896,13 @@
@Override
public String getMsisdn() {
IccRecords r = mIccRecords.get();
- return (r != null) ? r.getMsisdnNumber() : "";
+ return (r != null) ? r.getMsisdnNumber() : null;
}
@Override
public String getLine1AlphaTag() {
IccRecords r = mIccRecords.get();
- return (r != null) ? r.getMsisdnAlphaTag() : "";
+ return (r != null) ? r.getMsisdnAlphaTag() : null;
}
@Override