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

Commit 9db6563b authored by Todd Kennedy's avatar Todd Kennedy
Browse files

Add @throws clause to getInstallerPackageName

It's confusing that this method would throw the unchecked
IllegalArgumentException.

Test: Manual
Change-Id: I0e7fbf888d6408783fbcf698db0407e773661968
Fixes: 73279116
parent 6b83824a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5067,6 +5067,7 @@ public abstract class PackageManager {
     * which market the package came from.
     *
     * @param packageName The name of the package to query
     * @throws IllegalArgumentException if the given package name is not installed
     */
    public abstract String getInstallerPackageName(String packageName);