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

Commit aa796c19 authored by Dario Freni's avatar Dario Freni
Browse files

Mark getStagedSessionErrorMessage as @NonNull.

Change-Id: I269175f24ef84e7e8b053528ab1074dad84bb6fe
Fix: 126698886
Test: n/a
parent 7b7e39bd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -11460,7 +11460,7 @@ package android.content.pm {
    method public int getSessionId();
    method public long getSize();
    method public int getStagedSessionErrorCode();
    method public String getStagedSessionErrorMessage();
    method @NonNull public String getStagedSessionErrorMessage();
    method public android.os.UserHandle getUser();
    method public boolean isActive();
    method public boolean isMultiPackage();
+1 −1
Original line number Diff line number Diff line
@@ -2130,7 +2130,7 @@ public class PackageInstaller {
         * Text description of the error code returned by {@code getStagedSessionErrorCode}, or
         * empty string if no error was encountered.
         */
        public String getStagedSessionErrorMessage() {
        public @NonNull String getStagedSessionErrorMessage() {
            checkSessionIsStaged();
            return mStagedSessionErrorMessage;
        }