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

Commit 01319777 authored by Kweku Adams's avatar Kweku Adams
Browse files

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
parent 7ce25ed8
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -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
+0 −1
Original line number Diff line number Diff line
@@ -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;