Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c2f06b0e authored by Amit Mahajan's avatar Amit Mahajan
Browse files

Return 0 instead of throwing RuntimeException from getSmsCapacityOnIcc

Test: none
Bug: 170704921
Change-Id: I7d6985ab1aaf830c4560195189d01a661d478dbe
parent 2ab1cc0f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
    }