1<?xml version="1.0" encoding="UTF-8"?>
2<issues format="6" by="lint 8.4.0-alpha08" type="baseline" client="" dependencies="true" name="" variant="all" version="8.4.0-alpha08">
3
4    <issue
5        id="FlaggedApi"
6        message="This is a flagged API and should be inside an `if (Flags.mediaCognitionService())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_MEDIA_COGNITION_SERVICE) to transfer requirement to caller`)"
7        errorLine1="public final class GetProcessingVersionsCallbackImpl implements MediaCognitionGetVersionsCallback {"
8        errorLine2="                                                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
9        <location
10            file="packages/providers/MediaProvider/apex/framework/java/android/provider/mediacognitionutils/GetProcessingVersionsCallbackImpl.java"
11            line="31"
12            column="65"/>
13    </issue>
14
15    <issue
16        id="FlaggedApi"
17        message="Field `TAG` is a flagged API and should be inside an `if (Flags.mediaCognitionService())` check (or annotate the surrounding method `onSuccess` with `@FlaggedApi(Flags.FLAG_MEDIA_COGNITION_SERVICE) to transfer requirement to caller`)"
18        errorLine1="            Log.w(MediaCognitionService.TAG, &quot;The callback can only be called once&quot;);"
19        errorLine2="                                        ~~~">
20        <location
21            file="packages/providers/MediaProvider/apex/framework/java/android/provider/mediacognitionutils/GetProcessingVersionsCallbackImpl.java"
22            line="47"
23            column="41"/>
24    </issue>
25
26    <issue
27        id="FlaggedApi"
28        message="Field `TAG` is a flagged API and should be inside an `if (Flags.mediaCognitionService())` check (or annotate the surrounding method `onSuccess` with `@FlaggedApi(Flags.FLAG_MEDIA_COGNITION_SERVICE) to transfer requirement to caller`)"
29        errorLine1="            Log.w(MediaCognitionService.TAG,"
30        errorLine2="                                        ~~~">
31        <location
32            file="packages/providers/MediaProvider/apex/framework/java/android/provider/mediacognitionutils/GetProcessingVersionsCallbackImpl.java"
33            line="54"
34            column="41"/>
35    </issue>
36
37    <issue
38        id="FlaggedApi"
39        message="Field `TAG` is a flagged API and should be inside an `if (Flags.mediaCognitionService())` check (or annotate the surrounding method `onFailure` with `@FlaggedApi(Flags.FLAG_MEDIA_COGNITION_SERVICE) to transfer requirement to caller`)"
40        errorLine1="            Log.w(MediaCognitionService.TAG, &quot;The callback can only be called once&quot;);"
41        errorLine2="                                        ~~~">
42        <location
43            file="packages/providers/MediaProvider/apex/framework/java/android/provider/mediacognitionutils/GetProcessingVersionsCallbackImpl.java"
44            line="62"
45            column="41"/>
46    </issue>
47
48    <issue
49        id="FlaggedApi"
50        message="Field `TAG` is a flagged API and should be inside an `if (Flags.mediaCognitionService())` check (or annotate the surrounding method `onFailure` with `@FlaggedApi(Flags.FLAG_MEDIA_COGNITION_SERVICE) to transfer requirement to caller`)"
51        errorLine1="            Log.w(MediaCognitionService.TAG,"
52        errorLine2="                                        ~~~">
53        <location
54            file="packages/providers/MediaProvider/apex/framework/java/android/provider/mediacognitionutils/GetProcessingVersionsCallbackImpl.java"
55            line="69"
56            column="41"/>
57    </issue>
58
59    <issue
60        id="FlaggedApi"
61        message="@FlaggedApi should specify an actual flag constant; raw strings are discouraged (and more importantly, **not enforced**)"
62        errorLine1="    @FlaggedApi(&quot;com.android.providers.media.flags.pick_ordered_images&quot;)"
63        errorLine2="                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
64        <location
65            file="packages/providers/MediaProvider/apex/framework/java/android/provider/MediaStore.java"
66            line="867"
67            column="17"/>
68    </issue>
69
70    <issue
71        id="FlaggedApi"
72        message="@FlaggedApi should specify an actual flag constant; raw strings are discouraged (and more importantly, **not enforced**)"
73        errorLine1="    @FlaggedApi(&quot;com.android.providers.media.flags.picker_accent_color&quot;)"
74        errorLine2="                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
75        <location
76            file="packages/providers/MediaProvider/apex/framework/java/android/provider/MediaStore.java"
77            line="913"
78            column="17"/>
79    </issue>
80
81    <issue
82        id="FlaggedApi"
83        message="@FlaggedApi should specify an actual flag constant; raw strings are discouraged (and more importantly, **not enforced**)"
84        errorLine1="    @FlaggedApi(&quot;com.android.providers.media.flags.picker_default_tab&quot;)"
85        errorLine2="                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
86        <location
87            file="packages/providers/MediaProvider/apex/framework/java/android/provider/MediaStore.java"
88            line="926"
89            column="17"/>
90    </issue>
91
92    <issue
93        id="FlaggedApi"
94        message="@FlaggedApi should specify an actual flag constant; raw strings are discouraged (and more importantly, **not enforced**)"
95        errorLine1="    @FlaggedApi(&quot;com.android.providers.media.flags.picker_default_tab&quot;)"
96        errorLine2="                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
97        <location
98            file="packages/providers/MediaProvider/apex/framework/java/android/provider/MediaStore.java"
99            line="942"
100            column="17"/>
101    </issue>
102
103    <issue
104        id="FlaggedApi"
105        message="@FlaggedApi should specify an actual flag constant; raw strings are discouraged (and more importantly, **not enforced**)"
106        errorLine1="    @FlaggedApi(&quot;com.android.providers.media.flags.picker_default_tab&quot;)"
107        errorLine2="                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
108        <location
109            file="packages/providers/MediaProvider/apex/framework/java/android/provider/MediaStore.java"
110            line="942"
111            column="17"/>
112    </issue>
113
114    <issue
115        id="FlaggedApi"
116        message="@FlaggedApi should specify an actual flag constant; raw strings are discouraged (and more importantly, **not enforced**)"
117        errorLine1="    @FlaggedApi(&quot;com.android.providers.media.flags.picker_default_tab&quot;)"
118        errorLine2="                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
119        <location
120            file="packages/providers/MediaProvider/apex/framework/java/android/provider/MediaStore.java"
121            line="949"
122            column="17"/>
123    </issue>
124
125    <issue
126        id="FlaggedApi"
127        message="@FlaggedApi should specify an actual flag constant; raw strings are discouraged (and more importantly, **not enforced**)"
128        errorLine1="    @FlaggedApi(&quot;com.android.providers.media.flags.picker_default_tab&quot;)"
129        errorLine2="                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
130        <location
131            file="packages/providers/MediaProvider/apex/framework/java/android/provider/MediaStore.java"
132            line="949"
133            column="17"/>
134    </issue>
135
136    <issue
137        id="FlaggedApi"
138        message="@FlaggedApi should specify an actual flag constant; raw strings are discouraged (and more importantly, **not enforced**)"
139        errorLine1="    @FlaggedApi(&quot;com.android.providers.media.flags.picker_pre_selection&quot;)"
140        errorLine2="                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
141        <location
142            file="packages/providers/MediaProvider/apex/framework/java/android/provider/MediaStore.java"
143            line="1033"
144            column="17"/>
145    </issue>
146
147    <issue
148        id="FlaggedApi"
149        message="@FlaggedApi should specify an actual flag constant; raw strings are discouraged (and more importantly, **not enforced**)"
150        errorLine1="    @FlaggedApi(&quot;com.android.providers.media.flags.picker_recent_selection&quot;)"
151        errorLine2="                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
152        <location
153            file="packages/providers/MediaProvider/apex/framework/java/android/provider/MediaStore.java"
154            line="1182"
155            column="17"/>
156    </issue>
157
158    <issue
159        id="FlaggedApi"
160        message="@FlaggedApi should specify an actual flag constant; raw strings are discouraged (and more importantly, **not enforced**)"
161        errorLine1="    @FlaggedApi(&quot;com.android.providers.media.flags.access_media_owner_package_name_permission&quot;)"
162        errorLine2="                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
163        <location
164            file="packages/providers/MediaProvider/apex/framework/java/android/provider/MediaStore.java"
165            line="1190"
166            column="17"/>
167    </issue>
168
169    <issue
170        id="FlaggedApi"
171        message="This is a flagged API and should be inside an `if (Flags.mediaCognitionService())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_MEDIA_COGNITION_SERVICE) to transfer requirement to caller`)"
172        errorLine1="public final class ProcessMediaCallbackImpl implements MediaCognitionProcessingCallback {"
173        errorLine2="                                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
174        <location
175            file="packages/providers/MediaProvider/apex/framework/java/android/provider/mediacognitionutils/ProcessMediaCallbackImpl.java"
176            line="36"
177            column="56"/>
178    </issue>
179
180    <issue
181        id="FlaggedApi"
182        message="Field `TAG` is a flagged API and should be inside an `if (Flags.mediaCognitionService())` check (or annotate the surrounding method `onSuccess` with `@FlaggedApi(Flags.FLAG_MEDIA_COGNITION_SERVICE) to transfer requirement to caller`)"
183        errorLine1="            Log.w(MediaCognitionService.TAG, &quot;The callback can only be called once&quot;);"
184        errorLine2="                                        ~~~">
185        <location
186            file="packages/providers/MediaProvider/apex/framework/java/android/provider/mediacognitionutils/ProcessMediaCallbackImpl.java"
187            line="55"
188            column="41"/>
189    </issue>
190
191    <issue
192        id="FlaggedApi"
193        message="Field `TAG` is a flagged API and should be inside an `if (Flags.mediaCognitionService())` check (or annotate the surrounding method `onSuccess` with `@FlaggedApi(Flags.FLAG_MEDIA_COGNITION_SERVICE) to transfer requirement to caller`)"
194        errorLine1="            Log.w(MediaCognitionService.TAG, &quot;Empty response&quot;);"
195        errorLine2="                                        ~~~">
196        <location
197            file="packages/providers/MediaProvider/apex/framework/java/android/provider/mediacognitionutils/ProcessMediaCallbackImpl.java"
198            line="60"
199            column="41"/>
200    </issue>
201
202    <issue
203        id="FlaggedApi"
204        message="Field `TAG` is a flagged API and should be inside an `if (Flags.mediaCognitionService())` check (or annotate the surrounding method `onSuccess` with `@FlaggedApi(Flags.FLAG_MEDIA_COGNITION_SERVICE) to transfer requirement to caller`)"
205        errorLine1="            Log.w(MediaCognitionService.TAG,"
206        errorLine2="                                        ~~~">
207        <location
208            file="packages/providers/MediaProvider/apex/framework/java/android/provider/mediacognitionutils/ProcessMediaCallbackImpl.java"
209            line="66"
210            column="41"/>
211    </issue>
212
213    <issue
214        id="FlaggedApi"
215        message="Field `TAG` is a flagged API and should be inside an `if (Flags.mediaCognitionService())` check (or annotate the surrounding method `onFailure` with `@FlaggedApi(Flags.FLAG_MEDIA_COGNITION_SERVICE) to transfer requirement to caller`)"
216        errorLine1="            Log.w(MediaCognitionService.TAG, &quot;The callback can only be called once&quot;);"
217        errorLine2="                                        ~~~">
218        <location
219            file="packages/providers/MediaProvider/apex/framework/java/android/provider/mediacognitionutils/ProcessMediaCallbackImpl.java"
220            line="75"
221            column="41"/>
222    </issue>
223
224    <issue
225        id="FlaggedApi"
226        message="Field `TAG` is a flagged API and should be inside an `if (Flags.mediaCognitionService())` check (or annotate the surrounding method `onFailure` with `@FlaggedApi(Flags.FLAG_MEDIA_COGNITION_SERVICE) to transfer requirement to caller`)"
227        errorLine1="            Log.w(MediaCognitionService.TAG,"
228        errorLine2="                                        ~~~">
229        <location
230            file="packages/providers/MediaProvider/apex/framework/java/android/provider/mediacognitionutils/ProcessMediaCallbackImpl.java"
231            line="82"
232            column="41"/>
233    </issue>
234
235    <issue
236        id="FlaggedApi"
237        message="Class `ProcessingTypes` is a flagged API and should be inside an `if (Flags.mediaCognitionService())` check (or annotate the surrounding method `wrapInCursorWindows` with `@FlaggedApi(Flags.FLAG_MEDIA_COGNITION_SERVICE) to transfer requirement to caller`)"
238        errorLine1="        final int numColumns = ProcessingTypes.class.getDeclaredFields().length + 1;"
239        errorLine2="                               ~~~~~~~~~~~~~~~~~~~~~">
240        <location
241            file="packages/providers/MediaProvider/apex/framework/java/android/provider/mediacognitionutils/ProcessMediaCallbackImpl.java"
242            line="98"
243            column="32"/>
244    </issue>
245
246    <issue
247        id="FlaggedApi"
248        message="Method `getRequest()` is a flagged API and should be inside an `if (Flags.mediaCognitionService())` check (or annotate the surrounding method `wrapInCursorWindows` with `@FlaggedApi(Flags.FLAG_MEDIA_COGNITION_SERVICE) to transfer requirement to caller`)"
249        errorLine1="                final MediaCognitionProcessingRequest request = responses.get(row).getRequest();"
250        errorLine2="                                                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
251        <location
252            file="packages/providers/MediaProvider/apex/framework/java/android/provider/mediacognitionutils/ProcessMediaCallbackImpl.java"
253            line="132"
254            column="65"/>
255    </issue>
256
257    <issue
258        id="FlaggedApi"
259        message="Method `getUri()` is a flagged API and should be inside an `if (Flags.mediaCognitionService())` check (or annotate the surrounding method `wrapInCursorWindows` with `@FlaggedApi(Flags.FLAG_MEDIA_COGNITION_SERVICE) to transfer requirement to caller`)"
260        errorLine1="                if (request == null || request.getUri() == null"
261        errorLine2="                                       ~~~~~~~~~~~~~~~~">
262        <location
263            file="packages/providers/MediaProvider/apex/framework/java/android/provider/mediacognitionutils/ProcessMediaCallbackImpl.java"
264            line="133"
265            column="40"/>
266    </issue>
267
268    <issue
269        id="FlaggedApi"
270        message="Method `getUri()` is a flagged API and should be inside an `if (Flags.mediaCognitionService())` check (or annotate the surrounding method `wrapInCursorWindows` with `@FlaggedApi(Flags.FLAG_MEDIA_COGNITION_SERVICE) to transfer requirement to caller`)"
271        errorLine1="                        || request.getUri().getLastPathSegment() == null) {"
272        errorLine2="                           ~~~~~~~~~~~~~~~~">
273        <location
274            file="packages/providers/MediaProvider/apex/framework/java/android/provider/mediacognitionutils/ProcessMediaCallbackImpl.java"
275            line="134"
276            column="28"/>
277    </issue>
278
279    <issue
280        id="FlaggedApi"
281        message="Field `TAG` is a flagged API and should be inside an `if (Flags.mediaCognitionService())` check (or annotate the surrounding method `wrapInCursorWindows` with `@FlaggedApi(Flags.FLAG_MEDIA_COGNITION_SERVICE) to transfer requirement to caller`)"
282        errorLine1="                    Log.w(MediaCognitionService.TAG, &quot;Correct request not&quot;"
283        errorLine2="                                                ~~~">
284        <location
285            file="packages/providers/MediaProvider/apex/framework/java/android/provider/mediacognitionutils/ProcessMediaCallbackImpl.java"
286            line="135"
287            column="49"/>
288    </issue>
289
290    <issue
291        id="FlaggedApi"
292        message="Method `getUri()` is a flagged API and should be inside an `if (Flags.mediaCognitionService())` check (or annotate the surrounding method `wrapInCursorWindows` with `@FlaggedApi(Flags.FLAG_MEDIA_COGNITION_SERVICE) to transfer requirement to caller`)"
293        errorLine1="                dataAdded &amp;= window.putString(request.getUri().getLastPathSegment(),"
294        errorLine2="                                              ~~~~~~~~~~~~~~~~">
295        <location
296            file="packages/providers/MediaProvider/apex/framework/java/android/provider/mediacognitionutils/ProcessMediaCallbackImpl.java"
297            line="141"
298            column="47"/>
299    </issue>
300
301    <issue
302        id="FlaggedApi"
303        message="Field `IMAGE_OCR_LATIN` is a flagged API and should be inside an `if (Flags.mediaCognitionService())` check (or annotate the surrounding method `addImageOcrLatin` with `@FlaggedApi(Flags.FLAG_MEDIA_COGNITION_SERVICE) to transfer requirement to caller`)"
304        errorLine1="        final int column = Integer.numberOfTrailingZeros(ProcessingTypes.IMAGE_OCR_LATIN) + 1;"
305        errorLine2="                                                                         ~~~~~~~~~~~~~~~">
306        <location
307            file="packages/providers/MediaProvider/apex/framework/java/android/provider/mediacognitionutils/ProcessMediaCallbackImpl.java"
308            line="184"
309            column="74"/>
310    </issue>
311
312    <issue
313        id="FlaggedApi"
314        message="Field `IMAGE_OCR_LATIN` is a flagged API and should be inside an `if (Flags.mediaCognitionService())` check (or annotate the surrounding method `addImageOcrLatin` with `@FlaggedApi(Flags.FLAG_MEDIA_COGNITION_SERVICE) to transfer requirement to caller`)"
315        errorLine1="        if (request.checkProcessingRequired(ProcessingTypes.IMAGE_OCR_LATIN)"
316        errorLine2="                                                            ~~~~~~~~~~~~~~~">
317        <location
318            file="packages/providers/MediaProvider/apex/framework/java/android/provider/mediacognitionutils/ProcessMediaCallbackImpl.java"
319            line="186"
320            column="61"/>
321    </issue>
322
323    <issue
324        id="FlaggedApi"
325        message="Method `checkProcessingRequired()` is a flagged API and should be inside an `if (Flags.mediaCognitionService())` check (or annotate the surrounding method `addImageOcrLatin` with `@FlaggedApi(Flags.FLAG_MEDIA_COGNITION_SERVICE) to transfer requirement to caller`)"
326        errorLine1="        if (request.checkProcessingRequired(ProcessingTypes.IMAGE_OCR_LATIN)"
327        errorLine2="            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
328        <location
329            file="packages/providers/MediaProvider/apex/framework/java/android/provider/mediacognitionutils/ProcessMediaCallbackImpl.java"
330            line="186"
331            column="13"/>
332    </issue>
333
334    <issue
335        id="FlaggedApi"
336        message="Method `getImageOcrLatin()` is a flagged API and should be inside an `if (Flags.mediaCognitionService())` check (or annotate the surrounding method `addImageOcrLatin` with `@FlaggedApi(Flags.FLAG_MEDIA_COGNITION_SERVICE) to transfer requirement to caller`)"
337        errorLine1="                &amp;&amp; response.getImageOcrLatin() != null) {"
338        errorLine2="                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
339        <location
340            file="packages/providers/MediaProvider/apex/framework/java/android/provider/mediacognitionutils/ProcessMediaCallbackImpl.java"
341            line="187"
342            column="20"/>
343    </issue>
344
345    <issue
346        id="FlaggedApi"
347        message="Method `getImageOcrLatin()` is a flagged API and should be inside an `if (Flags.mediaCognitionService())` check (or annotate the surrounding method `addImageOcrLatin` with `@FlaggedApi(Flags.FLAG_MEDIA_COGNITION_SERVICE) to transfer requirement to caller`)"
348        errorLine1="            return window.putString(response.getImageOcrLatin(), row, column);"
349        errorLine2="                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
350        <location
351            file="packages/providers/MediaProvider/apex/framework/java/android/provider/mediacognitionutils/ProcessMediaCallbackImpl.java"
352            line="188"
353            column="37"/>
354    </issue>
355
356    <issue
357        id="FlaggedApi"
358        message="Field `IMAGE_LABEL` is a flagged API and should be inside an `if (Flags.mediaCognitionService())` check (or annotate the surrounding method `addImageLabels` with `@FlaggedApi(Flags.FLAG_MEDIA_COGNITION_SERVICE) to transfer requirement to caller`)"
359        errorLine1="        final int column = Integer.numberOfTrailingZeros(ProcessingTypes.IMAGE_LABEL) + 1;"
360        errorLine2="                                                                         ~~~~~~~~~~~">
361        <location
362            file="packages/providers/MediaProvider/apex/framework/java/android/provider/mediacognitionutils/ProcessMediaCallbackImpl.java"
363            line="195"
364            column="74"/>
365    </issue>
366
367    <issue
368        id="FlaggedApi"
369        message="Field `IMAGE_LABEL` is a flagged API and should be inside an `if (Flags.mediaCognitionService())` check (or annotate the surrounding method `addImageLabels` with `@FlaggedApi(Flags.FLAG_MEDIA_COGNITION_SERVICE) to transfer requirement to caller`)"
370        errorLine1="        if (request.checkProcessingRequired(ProcessingTypes.IMAGE_LABEL)"
371        errorLine2="                                                            ~~~~~~~~~~~">
372        <location
373            file="packages/providers/MediaProvider/apex/framework/java/android/provider/mediacognitionutils/ProcessMediaCallbackImpl.java"
374            line="196"
375            column="61"/>
376    </issue>
377
378    <issue
379        id="FlaggedApi"
380        message="Method `checkProcessingRequired()` is a flagged API and should be inside an `if (Flags.mediaCognitionService())` check (or annotate the surrounding method `addImageLabels` with `@FlaggedApi(Flags.FLAG_MEDIA_COGNITION_SERVICE) to transfer requirement to caller`)"
381        errorLine1="        if (request.checkProcessingRequired(ProcessingTypes.IMAGE_LABEL)"
382        errorLine2="            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
383        <location
384            file="packages/providers/MediaProvider/apex/framework/java/android/provider/mediacognitionutils/ProcessMediaCallbackImpl.java"
385            line="196"
386            column="13"/>
387    </issue>
388
389    <issue
390        id="FlaggedApi"
391        message="Method `getImageLabels()` is a flagged API and should be inside an `if (Flags.mediaCognitionService())` check (or annotate the surrounding method `addImageLabels` with `@FlaggedApi(Flags.FLAG_MEDIA_COGNITION_SERVICE) to transfer requirement to caller`)"
392        errorLine1="                &amp;&amp; response.getImageLabels() != null) {"
393        errorLine2="                   ~~~~~~~~~~~~~~~~~~~~~~~~~">
394        <location
395            file="packages/providers/MediaProvider/apex/framework/java/android/provider/mediacognitionutils/ProcessMediaCallbackImpl.java"
396            line="197"
397            column="20"/>
398    </issue>
399
400    <issue
401        id="FlaggedApi"
402        message="Method `getImageLabels()` is a flagged API and should be inside an `if (Flags.mediaCognitionService())` check (or annotate the surrounding method `addImageLabels` with `@FlaggedApi(Flags.FLAG_MEDIA_COGNITION_SERVICE) to transfer requirement to caller`)"
403        errorLine1="            return window.putString(String.join(&quot;|&quot;, response.getImageLabels()),"
404        errorLine2="                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~">
405        <location
406            file="packages/providers/MediaProvider/apex/framework/java/android/provider/mediacognitionutils/ProcessMediaCallbackImpl.java"
407            line="198"
408            column="54"/>
409    </issue>
410
411</issues>
412