Remove isForegroundJob.

This was supposed to be removed at the same we removed the related APIs
in JobInfo.Builder. It's not being used by anyone.

Bug: 186475837
Test: Android builds
Change-Id: Ib57029b7ba7e0c7b3f5bd36ba29a96e89eefb270
This commit is contained in:
Kweku Adams
2021-04-27 09:40:22 -07:00
parent 7ce25ed80e
commit 01319777d1
2 changed files with 0 additions and 9 deletions

View File

@@ -362,14 +362,6 @@ public class JobParameters implements Parcelable {
return mIsExpedited;
}
/**
* @deprecated Use {@link #isExpeditedJob()} instead.
*/
@Deprecated
public boolean isForegroundJob() {
return mIsExpedited;
}
/**
* For jobs with {@link android.app.job.JobInfo.Builder#setOverrideDeadline(long)} set, this
* provides an easy way to tell whether the job is being executed due to the deadline

View File

@@ -8014,7 +8014,6 @@ package android.app.job {
method @Nullable public String[] getTriggeredContentAuthorities();
method @Nullable public android.net.Uri[] getTriggeredContentUris();
method public boolean isExpeditedJob();
method @Deprecated public boolean isForegroundJob();
method public boolean isOverrideDeadlineExpired();
method public void writeToParcel(android.os.Parcel, int);
field @NonNull public static final android.os.Parcelable.Creator<android.app.job.JobParameters> CREATOR;