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

Commit a5dc2dac authored by Jack Yu's avatar Jack Yu
Browse files

Do not crash SubscriptionManager clients

To be consistent with many other subscription manager APIs, do
not crash the clients when service is not available.

Fix: 269726553
Test: atest SubscriptionManagerTest
Change-Id: I96266e586bb75b8c98775514d7be57a1f0e410ea
parent d2cbc033
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -3561,7 +3561,6 @@ public class SubscriptionManagerService extends ISub.Stub {
     * else {@code false} if subscription is not associated with user.
     *
     * @throws SecurityException if the caller doesn't have permissions required.
     * @throws IllegalStateException if subscription service is not available.
     *
     */
    @Override
@@ -3612,7 +3611,6 @@ public class SubscriptionManagerService extends ISub.Stub {
     * @return list of subscriptionInfo associated with the user.
     *
     * @throws SecurityException if the caller doesn't have permissions required.
     * @throws IllegalStateException if subscription service is not available.
     *
     */
    @Override