Return 0 instead of throwing RuntimeException from getSmsCapacityOnIcc
Test: none Bug: 170704921 Change-Id: I7d6985ab1aaf830c4560195189d01a661d478dbe
This commit is contained in:
parent
2ab1cc0fac
commit
c2f06b0e63
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user