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

Commit b6552594 authored by Benedict Wong's avatar Benedict Wong Committed by Automerger Merge Worker
Browse files

Merge "Add NonNull annotation to getAllSubscriptionInfoList" am: e5e23888

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1485142

Change-Id: I70f81584da85defea3d71d97c3a363af5b32f72d
parents 7ff2eff0 e5e23888
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;
    }