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

Commit 9222c803 authored by Jackal Guo's avatar Jackal Guo Committed by Android (Google) Code Review
Browse files

Merge "Address the feedbacks from API review"

parents 44409800 83577144
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -10952,10 +10952,13 @@ public abstract class PackageManager {

    /**
     * Attempt to relinquish the update ownership of the given package. Only the current
     * update owner of the given package can use this API or a SecurityException will be
     * thrown.
     * update owner of the given package can use this API.
     *
     * @param targetPackage The installed package whose update owner will be changed.
     * @throws IllegalArgumentException if the given package is invalid.
     * @throws SecurityException if you are not the current update owner of the given package.
     *
     * @see PackageInstaller.SessionParams#setRequestUpdateOwnership
     */
    public void relinquishUpdateOwnership(@NonNull String targetPackage) {
        throw new UnsupportedOperationException(