Merge "Return 0 instead of throwing RuntimeException from getSmsCapacityOnIcc"

This commit is contained in:
Treehugger Robot
2021-03-20 00:28:35 +00:00
committed by Gerrit Code Review

View File

@@ -2127,7 +2127,7 @@ public final class SmsManager {
ret = iccISms.getSmsCapacityOnIccForSubscriber(getSubscriptionId()); ret = iccISms.getSmsCapacityOnIccForSubscriber(getSubscriptionId());
} }
} catch (RemoteException ex) { } catch (RemoteException ex) {
throw new RuntimeException(ex); Log.e(TAG, "getSmsCapacityOnIcc() RemoteException", ex);
} }
return ret; return ret;
} }