Merge "Return 0 instead of throwing RuntimeException from getSmsCapacityOnIcc"
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user