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

Commit 7afa84c3 authored by Benjamin Miller's avatar Benjamin Miller
Browse files

Docs-change: clarification of LauncherApps.getApplicationInfo()

Staged at: go/dac-stage/reference/android/content/pm/LauncherApps.html#getApplicationInfo(java.lang.String, int, android.os.UserHandle)

Test: make ds-docs and output staged
Bug: 38024981
Change-Id: I9f256d675433457b7c85fa111ed87d1147f1f2bc
parent f75d22dc
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -608,15 +608,15 @@ public class LauncherApps {
    }

    /**
     * Get {@link ApplicationInfo} for a profile
     * Returns {@link ApplicationInfo} about an application installed for a specific user profile.
     *
     * @param packageName The package name of the application
     * @param flags Additional option flags {@link PackageManager#getApplicationInfo}
     * @param user The UserHandle of the profile.
     *
     * @return An {@link ApplicationInfo} containing information about the package or
     *         null if the package isn't installed for the given user, or the target user
     *         is not enabled.
     * @return {@link ApplicationInfo} containing information about the package. Returns
     *         {@code null} if the package isn't installed for the given profile, or the profile
     *         isn't enabled.
     */
    public ApplicationInfo getApplicationInfo(@NonNull String packageName,
            @ApplicationInfoFlags int flags, @NonNull UserHandle user)