Test testGetManualNetworkSelectionPlmnPersisted for only GSM phone

testGetManualNetworkSelectionPlmnPersisted uses
TelephonyManager.getManualNetworkSelectionPlmn() to get manual
network selection and expect it as the same as the selected one.
However, if the phone type is CDMA, it gets empty string always
because TelephonyManager.isManualNetworkSelectionAllowed() returns
false.
Because of that, this test should run only when phone type is GSM.

Bug: 160545126
Test: manual test pass
Change-Id: I5f969178a14b06d539e9e41ca0dc3a5d535cf4e4
(cherry picked from commit bbd600568af0be1a211cccd04244ece49d53fc54)
diff --git a/tests/tests/carrierapi/src/android/carrierapi/cts/CarrierApiTest.java b/tests/tests/carrierapi/src/android/carrierapi/cts/CarrierApiTest.java
index 0a5e7a5..416f0eb 100644
--- a/tests/tests/carrierapi/src/android/carrierapi/cts/CarrierApiTest.java
+++ b/tests/tests/carrierapi/src/android/carrierapi/cts/CarrierApiTest.java
@@ -571,6 +571,7 @@
 
     public void testGetManualNetworkSelectionPlmnPersisted() throws Exception {
         if (!hasCellular) return;
+        if (mTelephonyManager.getPhoneType() != TelephonyManager.PHONE_TYPE_GSM) return;
 
         try {
             mTelephonyManager.setNetworkSelectionModeManual(