Add getCdmaPrlVersion.
Bug:27612001
Change-Id: Ic17375c2c45e32769c9ca9bcefc77d3dce4294f3
diff --git a/src/com/android/phone/PhoneInterfaceManager.java b/src/com/android/phone/PhoneInterfaceManager.java
index b3f3be5..9b7132b 100644
--- a/src/com/android/phone/PhoneInterfaceManager.java
+++ b/src/com/android/phone/PhoneInterfaceManager.java
@@ -3209,6 +3209,28 @@
}
/**
+ * Return the Preferred Roaming List Version.
+ *
+ * @param subId the subscription ID that this request applies to.
+ * @return PRLVersion or null if error.
+ */
+ @Override
+ public String getCdmaPrlVersion(int subId) {
+ enforceReadPrivilegedPermission();
+ Phone phone = getPhone(subId);
+ if (phone == null) {
+ return null;
+ }
+ String cdmaPrlVersion = null;
+ try {
+ cdmaPrlVersion = phone.getCdmaPrlVersion();
+ } catch (Exception e) {
+ Log.e(LOG_TAG, "Not getting PRLVersion", e);
+ }
+ return cdmaPrlVersion;
+ }
+
+ /**
* Get snapshot of Telephony histograms
* @return List of Telephony histograms
* @hide