Merge "Return 0 instead of throwing RuntimeException from getSmsCapacityOnIcc" am: 258ecb55a5

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1643623

Change-Id: I8ba7927d29d920e5e6526f9fed9ba6d1813f0ce0
This commit is contained in:
Treehugger Robot
2021-03-20 00:32:15 +00:00
committed by Automerger Merge Worker

View File

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