1<?xml version="1.0" encoding="UTF-8"?>
2<issues format="6" by="lint 8.8.0-alpha06" type="baseline" client="gradle" dependencies="false" name="AGP (8.8.0-alpha06)" variant="all" version="8.8.0-alpha06">
3
4    <issue
5        id="BanSynchronizedMethods"
6        message="Use of synchronized methods is not recommended"
7        errorLine1="                            @Override"
8        errorLine2="                            ^">
9        <location
10            file="src/main/java/androidx/work/impl/utils/futures/AbstractFuture.java"/>
11    </issue>
12
13    <issue
14        id="BanThreadSleep"
15        message="Uses Thread.sleep()"
16        errorLine1="            Thread.sleep(duration);"
17        errorLine2="                   ~~~~~">
18        <location
19            file="src/main/java/androidx/work/impl/utils/ForceStopRunnable.java"/>
20    </issue>
21
22    <issue
23        id="BanThreadSleep"
24        message="Uses Thread.sleep()"
25        errorLine1="                Thread.sleep(1000L);"
26        errorLine2="                       ~~~~~">
27        <location
28            file="src/androidTest/java/androidx/work/worker/InterruptionAwareWorker.java"/>
29    </issue>
30
31    <issue
32        id="BanThreadSleep"
33        message="Uses Thread.sleep()"
34        errorLine1="            Thread.sleep(sleepDuration);"
35        errorLine2="                   ~~~~~">
36        <location
37            file="src/androidTest/java/androidx/work/worker/RandomSleepTestWorker.java"/>
38    </issue>
39
40    <issue
41        id="BanThreadSleep"
42        message="Uses Thread.sleep()"
43        errorLine1="                    Thread.sleep(sleepTime)"
44        errorLine2="                           ~~~~~">
45        <location
46            file="src/androidTest/java/androidx/work/impl/utils/SerialExecutorTest.kt"/>
47    </issue>
48
49    <issue
50        id="BanThreadSleep"
51        message="Uses Thread.sleep()"
52        errorLine1="            Thread.sleep(SLEEP_DURATION);"
53        errorLine2="                   ~~~~~">
54        <location
55            file="src/androidTest/java/androidx/work/worker/SleepTestWorker.java"/>
56    </issue>
57
58    <issue
59        id="BanThreadSleep"
60        message="Uses Thread.sleep()"
61        errorLine1="        Thread.sleep(5000L);"
62        errorLine2="               ~~~~~">
63        <location
64            file="src/androidTest/java/androidx/work/impl/background/systemjob/SystemJobServiceTest.java"/>
65    </issue>
66
67    <issue
68        id="BanThreadSleep"
69        message="Uses Thread.sleep()"
70        errorLine1="        Thread.sleep(5000L);"
71        errorLine2="               ~~~~~">
72        <location
73            file="src/androidTest/java/androidx/work/impl/background/systemjob/SystemJobServiceTest.java"/>
74    </issue>
75
76    <issue
77        id="BanThreadSleep"
78        message="Uses Thread.sleep()"
79        errorLine1="        Thread.sleep(1000L);"
80        errorLine2="               ~~~~~">
81        <location
82            file="src/androidTest/java/androidx/work/impl/background/systemjob/SystemJobServiceTest.java"/>
83    </issue>
84
85    <issue
86        id="BanThreadSleep"
87        message="Uses Thread.sleep()"
88        errorLine1="        Thread.sleep(1000L);"
89        errorLine2="               ~~~~~">
90        <location
91            file="src/androidTest/java/androidx/work/impl/background/systemjob/SystemJobServiceTest.java"/>
92    </issue>
93
94    <issue
95        id="BanThreadSleep"
96        message="Uses Thread.sleep()"
97        errorLine1="        Thread.sleep(SLEEP_DURATION_SMALL_MILLIS);"
98        errorLine2="               ~~~~~">
99        <location
100            file="src/androidTest/java/androidx/work/impl/WorkManagerImplTest.java"/>
101    </issue>
102
103    <issue
104        id="BanThreadSleep"
105        message="Uses Thread.sleep()"
106        errorLine1="        Thread.sleep(100); // introduce a small delay"
107        errorLine2="               ~~~~~">
108        <location
109            file="src/androidTest/java/androidx/work/impl/background/systemalarm/WorkTimerTest.java"/>
110    </issue>
111
112    <issue
113        id="BanThreadSleep"
114        message="Uses Thread.sleep()"
115        errorLine1="        Thread.sleep(200);"
116        errorLine2="               ~~~~~">
117        <location
118            file="src/androidTest/java/androidx/work/impl/background/systemalarm/WorkTimerTest.java"/>
119    </issue>
120
121    <issue
122        id="ForegroundServiceType"
123        message="To call `Service.startForeground()`, the `&lt;service>` element of manifest file must have the `foregroundServiceType` attribute specified"
124        errorLine1="            startForeground(notificationId, notification);"
125        errorLine2="            ~~~~~~~~~~~~~~~">
126        <location
127            file="src/main/java/androidx/work/impl/foreground/SystemForegroundService.java"/>
128    </issue>
129
130    <issue
131        id="ForegroundServiceType"
132        message="To call `Service.startForeground()`, the `&lt;service>` element of manifest file must have the `foregroundServiceType` attribute specified"
133        errorLine1="            service.startForeground(id, notification, foregroundServiceType);"
134        errorLine2="                    ~~~~~~~~~~~~~~~">
135        <location
136            file="src/main/java/androidx/work/impl/foreground/SystemForegroundService.java"/>
137    </issue>
138
139    <issue
140        id="ForegroundServiceType"
141        message="To call `Service.startForeground()`, the `&lt;service>` element of manifest file must have the `foregroundServiceType` attribute specified"
142        errorLine1="                service.startForeground(id, notification, foregroundServiceType);"
143        errorLine2="                        ~~~~~~~~~~~~~~~">
144        <location
145            file="src/main/java/androidx/work/impl/foreground/SystemForegroundService.java"/>
146    </issue>
147
148    <issue
149        id="ObsoleteSdkInt"
150        message="Unnecessary; `SDK_INT` is always >= 21"
151        errorLine1="    @get:RequiresApi(21) // NetworkRequest class is available since 21"
152        errorLine2="    ~~~~~~~~~~~~~~~~~~~~">
153        <location
154            file="src/main/java/androidx/work/Constraints.kt"/>
155    </issue>
156
157    <issue
158        id="ObsoleteSdkInt"
159        message="Unnecessary; `SDK_INT` is always >= 21"
160        errorLine1="        @RequiresApi(21)"
161        errorLine2="        ~~~~~~~~~~~~~~~~">
162        <location
163            file="src/main/java/androidx/work/Constraints.kt"/>
164    </issue>
165
166    <issue
167        id="ObsoleteSdkInt"
168        message="Unnecessary; `SDK_INT` is always >= 21"
169        errorLine1="@get:RequiresApi(21)"
170        errorLine2="~~~~~~~~~~~~~~~~~~~~">
171        <location
172            file="src/main/java/androidx/work/impl/background/systemjob/JobSchedulerExt.kt"/>
173    </issue>
174
175    <issue
176        id="ObsoleteSdkInt"
177        message="Unnecessary; `SDK_INT` is always >= 21"
178        errorLine1="@RequiresApi(21)"
179        errorLine2="~~~~~~~~~~~~~~~~">
180        <location
181            file="src/main/java/androidx/work/impl/background/systemjob/JobSchedulerExt.kt"/>
182    </issue>
183
184    <issue
185        id="ObsoleteSdkInt"
186        message="Unnecessary; `SDK_INT` is always >= 21"
187        errorLine1="@get:RequiresApi(21)"
188        errorLine2="~~~~~~~~~~~~~~~~~~~~">
189        <location
190            file="src/main/java/androidx/work/impl/background/systemjob/JobSchedulerExt.kt"/>
191    </issue>
192
193    <issue
194        id="ObsoleteSdkInt"
195        message="Unnecessary; `SDK_INT` is always >= 21"
196        errorLine1="@file:RequiresApi(21)"
197        errorLine2="~~~~~~~~~~~~~~~~~~~~~">
198        <location
199            file="src/main/java/androidx/work/impl/utils/NetworkApi21.kt"/>
200    </issue>
201
202    <issue
203        id="ObsoleteSdkInt"
204        message="Unnecessary; `SDK_INT` is always >= 21"
205        errorLine1="    @get:RequiresApi(21)"
206        errorLine2="    ~~~~~~~~~~~~~~~~~~~~">
207        <location
208            file="src/main/java/androidx/work/impl/utils/NetworkRequestCompat.kt"/>
209    </issue>
210
211    <issue
212        id="ObsoleteSdkInt"
213        message="Unnecessary; `SDK_INT` is always >= 21"
214        errorLine1="@RequiresApi(21)"
215        errorLine2="~~~~~~~~~~~~~~~~">
216        <location
217            file="src/main/java/androidx/work/impl/WorkDatabasePathHelper.kt"/>
218    </issue>
219
220    <issue
221        id="UnknownNullness"
222        message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
223        errorLine1="    public final void addListener(Runnable listener, Executor executor) {"
224        errorLine2="                                  ~~~~~~~~">
225        <location
226            file="src/main/java/androidx/work/impl/utils/futures/AbstractFuture.java"/>
227    </issue>
228
229    <issue
230        id="UnknownNullness"
231        message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
232        errorLine1="    public final void addListener(Runnable listener, Executor executor) {"
233        errorLine2="                                                     ~~~~~~~~">
234        <location
235            file="src/main/java/androidx/work/impl/utils/futures/AbstractFuture.java"/>
236    </issue>
237
238    <issue
239        id="UnknownNullness"
240        message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
241        errorLine1="    protected boolean setException(Throwable throwable) {"
242        errorLine2="                                   ~~~~~~~~~">
243        <location
244            file="src/main/java/androidx/work/impl/utils/futures/AbstractFuture.java"/>
245    </issue>
246
247    <issue
248        id="UnknownNullness"
249        message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
250        errorLine1="    protected boolean setFuture(ListenableFuture&lt;? extends V> future) {"
251        errorLine2="                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
252        <location
253            file="src/main/java/androidx/work/impl/utils/futures/AbstractFuture.java"/>
254    </issue>
255
256    <issue
257        id="UnknownNullness"
258        message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
259        errorLine1="    public static &lt;V> SettableFuture&lt;V> create() {"
260        errorLine2="                      ~~~~~~~~~~~~~~~~~">
261        <location
262            file="src/main/java/androidx/work/impl/utils/futures/SettableFuture.java"/>
263    </issue>
264
265    <issue
266        id="UnknownNullness"
267        message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
268        errorLine1="    public boolean setException(Throwable throwable) {"
269        errorLine2="                                ~~~~~~~~~">
270        <location
271            file="src/main/java/androidx/work/impl/utils/futures/SettableFuture.java"/>
272    </issue>
273
274    <issue
275        id="UnknownNullness"
276        message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
277        errorLine1="    public boolean setFuture(ListenableFuture&lt;? extends V> future) {"
278        errorLine2="                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
279        <location
280            file="src/main/java/androidx/work/impl/utils/futures/SettableFuture.java"/>
281    </issue>
282
283</issues>
284