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

Commit 6f42bb2e authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Mark getStagedSessionErrorMessage as @NonNull."

parents b14ac6e9 aa796c19
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -11461,7 +11461,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;
        }