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

Commit e0e635f4 authored by Svet Ganov's avatar Svet Ganov
Browse files

Fix crash due to recent app op changes

Change-Id: Ied887fe9dd7287f14a4a6eeee8ebeecbc7aff38f
parent dce46028
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -488,7 +488,13 @@ public class SubscriptionController extends ISub.Stub {
            return subList;
        }

        final long identity = Binder.clearCallingIdentity();
        try {
            subList = getSubInfo(SubscriptionManager.SIM_SLOT_INDEX + ">=0", null);
        } finally {
            Binder.restoreCallingIdentity(identity);
        }

        if (subList != null) {
            // FIXME: Unnecessary when an insertion sort is used!
            Collections.sort(subList, new Comparator<SubscriptionInfo>() {