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

Commit 9964f70f authored by Ricky Wai's avatar Ricky Wai
Browse files

Update PackageManager.getInstalledPackages() docs

Update the docs about getInstalledPackages() returns installed apps
on current user not on the device.

Test: NULL
Bug:77955905
Change-Id: I3d9c48be54f6355dc1701d2c359785a575fbc1db
parent 1bc47a4c
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -3344,7 +3344,7 @@ public abstract class PackageManager {
            @ComponentInfoFlags int flags) throws NameNotFoundException;

    /**
     * Return a List of all packages that are installed on the device.
     * Return a List of all packages that are installed for the current user.
     *
     * @param flags Additional option flags to modify the data returned.
     * @return A List of PackageInfo objects, one for each installed package,
@@ -3731,8 +3731,8 @@ public abstract class PackageManager {
            throws NameNotFoundException;

    /**
     * Return a List of all application packages that are installed on the
     * device. If flag GET_UNINSTALLED_PACKAGES has been set, a list of all
     * Return a List of all application packages that are installed for the
     * current user. If flag GET_UNINSTALLED_PACKAGES has been set, a list of all
     * applications including those deleted with {@code DONT_DELETE_DATA}
     * (partially installed apps with data directory) will be returned.
     *