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

Commit b00bd621 authored by Patrick Baumann's avatar Patrick Baumann
Browse files

Adds @NonNull to getChildSessionIds

Addresses API council feedback to appropriately annotate
SessionInfo.getChildSessionIds.

Test: None
Bug: 126699287
Change-Id: Iaebc4f2db07b359cef0aff863e517c221259b47c
parent d91a716c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -11454,7 +11454,7 @@ package android.content.pm {
    method @Nullable public android.graphics.Bitmap getAppIcon();
    method @Nullable public CharSequence getAppLabel();
    method @Nullable public String getAppPackageName();
    method public int[] getChildSessionIds();
    method @NonNull public int[] getChildSessionIds();
    method public int getInstallLocation();
    method public int getInstallReason();
    method @Nullable public String getInstallerPackageName();
+1 −0
Original line number Diff line number Diff line
@@ -2166,6 +2166,7 @@ public class PackageInstaller {
         * Returns the set of session IDs that will be committed when this session is commited if
         * this session is a multi-package session.
         */
        @NonNull
        public int[] getChildSessionIds() {
            return childSessionIds;
        }