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

Commit 3b1cc632 authored by Chris Poultney's avatar Chris Poultney
Browse files

Fix API doc errors

Fix: 383546277
Fix: 383351836
Flag: android.app.live_wallpaper_content_handling
Test: n/a, documentation change only
Change-Id: I44ce2791b76a932f7d7b64f994663d9d7eb4a409
parent 84f5f8ff
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2730,6 +2730,7 @@ public class WallpaperManager {
     * @param allowBackup {@code true} if the OS is permitted to back up this wallpaper
     *                    image for restore to a future device; {@code false} otherwise.
     * @param which       Flags indicating which wallpaper(s) to configure with the new imagery.
     * @return An integer ID assigned to the newly active wallpaper; or zero on failure.
     * @hide
     */
    @FlaggedApi(FLAG_LIVE_WALLPAPER_CONTENT_HANDLING)
+5 −3
Original line number Diff line number Diff line
@@ -118,14 +118,16 @@ public final class WallpaperDescription implements Parcelable {
    }

    /**
     * @return the title for this wallpaper, with each list element intended to be a separate
     * line, or {@code null} if not provided
     * @return the title for this wallpaper, or {@code null} if not provided
     */
    @Nullable public CharSequence getTitle() {
        return mTitle;
    }

    /** @return the description for this wallpaper */
    /**
     * @return the description for this wallpaper, with each list element intended to be shown on a
     * separate line in the UI
     */
    @NonNull
    public List<CharSequence> getDescription() {
        return mDescription;