Check for telephony feature for testPersonalAppsSuspensionSms

  Skip OrgOwnedProfileOwnerTest#testPersonalAppsSuspensionSms if no telephony feature

Test: atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testPersonalAppsSuspensionSms
Bug: 149827369
Bug: 158130737
Change-Id: Ia56604f4be83eff2be91c75cf02c12d1007e37de
diff --git a/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/OrgOwnedProfileOwnerTest.java b/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/OrgOwnedProfileOwnerTest.java
index acb524b..f575fc7 100644
--- a/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/OrgOwnedProfileOwnerTest.java
+++ b/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/OrgOwnedProfileOwnerTest.java
@@ -474,7 +474,7 @@
 
     @Test
     public void testPersonalAppsSuspensionSms() throws Exception {
-        if (!mHasFeature) {
+        if (!mHasFeature || !mHasTelephony) {
             return;
         }