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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user