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

Commit 3f2248b5 authored by Xin Guan's avatar Xin Guan
Browse files

Suppresses the API lint warning for android.app.JobInfo

Bug: 340879911
Test: build/pre-submit
Change-Id: Ie9a2a30dcf39e7cb782628521c7b3af1c96cfc34
parent a0edfdbe
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -31,6 +31,7 @@ import android.annotation.IntDef;
import android.annotation.NonNull;
import android.annotation.Nullable;
import android.annotation.RequiresPermission;
import android.annotation.SuppressLint;
import android.app.Notification;
import android.compat.Compatibility;
import android.compat.annotation.ChangeId;
@@ -1366,6 +1367,7 @@ public class JobInfo implements Parcelable {
         * @return This object for method chaining
         */
        @FlaggedApi(Flags.FLAG_JOB_DEBUG_INFO_APIS)
        @SuppressLint("BuilderSetStyle")
        @NonNull
        public Builder removeDebugTag(@NonNull String tag) {
            mDebugTags.remove(tag);