From 443d23eda4f9ed03e134ba2d445b2a2b017495dd Mon Sep 17 00:00:00 2001 From: Xin Guan Date: Wed, 5 Mar 2025 21:22:56 +0000 Subject: JobScheduler: Fix setImportantWhileForeground javadoc errors Bug: 401032680 Test: build Flag: DOCS_ONLY Change-Id: Ie255627a403f9d6d3df7391d139c66ecb7ac7ae6 --- apex/jobscheduler/framework/java/android/app/job/JobInfo.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apex') diff --git a/apex/jobscheduler/framework/java/android/app/job/JobInfo.java b/apex/jobscheduler/framework/java/android/app/job/JobInfo.java index cc2d104813e4..d48af2cccd59 100644 --- a/apex/jobscheduler/framework/java/android/app/job/JobInfo.java +++ b/apex/jobscheduler/framework/java/android/app/job/JobInfo.java @@ -810,7 +810,7 @@ public class JobInfo implements Parcelable { /** *

Note: 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. * *

Note: 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. * -- cgit v1.2.3-59-g8ed1b