Merge "Remove isForegroundJob." into sc-dev

This commit is contained in:
Kweku Adams
2021-04-28 16:08:38 +00:00
committed by Android (Google) Code Review
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;