Merge "Return 0 instead of throwing RuntimeException from getSmsCapacityOnIcc" am: 258ecb55a5 am: e8ed5b17cf am: 3873fd0c6a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1643623 Change-Id: I53cc9c17607de633dd6bb6a7380a53d1193e8c39
This commit is contained in:
@@ -2219,7 +2219,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