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

Commit 443d23ed authored by Xin Guan's avatar Xin Guan
Browse files

JobScheduler: Fix setImportantWhileForeground javadoc errors

Bug: 401032680
Test: build
Flag: DOCS_ONLY
Change-Id: Ie255627a403f9d6d3df7391d139c66ecb7ac7ae6
parent 973c2d1a
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -810,7 +810,7 @@ public class JobInfo implements Parcelable {

    /**
     * <p class="caution"><strong>Note:</strong> Beginning with
     * {@link android.os.Build.VERSION_CODES#B}, this flag will be ignored and no longer
     * {@link android.os.Build.VERSION_CODES#BAKLAVA}, this flag will be ignored and no longer
     * function effectively, regardless of the calling app's target SDK version.
     * Calling this method will always return {@code false}.
     *
@@ -2137,9 +2137,9 @@ public class JobInfo implements Parcelable {
         * Jobs marked as important-while-foreground are given {@link #PRIORITY_HIGH} by default.
         *
         * <p class="caution"><strong>Note:</strong> Beginning with
         * {@link android.os.Build.VERSION_CODES#B}, this flag will be ignored and no longer
         * {@link android.os.Build.VERSION_CODES#BAKLAVA}, this flag will be ignored and no longer
         * function effectively, regardless of the calling app's target SDK version.
         * {link #isImportantWhileForeground()} will always return {@code false}.
         * {@link #isImportantWhileForeground()} will always return {@code false}.
         * Apps should use {link #setExpedited(boolean)} with {@code true} to indicate
         * that this job is important and needs to run as soon as possible.
         *