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

Commit e5e23888 authored by Benedict Wong's avatar Benedict Wong Committed by Gerrit Code Review
Browse files

Merge "Add NonNull annotation to getAllSubscriptionInfoList"

parents 04c894b6 061b2f76
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1365,6 +1365,7 @@ public class SubscriptionManager {
     * include those that were inserted before, maybe empty but not null.
     * @hide
     */
    @NonNull
    @UnsupportedAppUsage
    public List<SubscriptionInfo> getAllSubscriptionInfoList() {
        if (VDBG) logd("[getAllSubscriptionInfoList]+");
@@ -1382,7 +1383,7 @@ public class SubscriptionManager {
        }

        if (result == null) {
            result = new ArrayList<>();
            result = Collections.emptyList();
        }
        return result;
    }