• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="UTF-8"?>
2<issues format="5" by="lint 4.1.0" client="cli" variant="all" version="4.1.0">
3
4    <issue
5        id="NewApi"
6        message="Field requires API level 24 (current min is 23): `android.media.tv.TvContract.RecordedPrograms#CONTENT_URI`"
7        errorLine1="                        context, TvContract.RecordedPrograms.CONTENT_URI)) {"
8        errorLine2="                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
9        <location
10            file="packages/apps/TV/src/com/android/tv/util/AsyncDbTask.java"
11            line="137"
12            column="34"/>
13    </issue>
14
15    <issue
16        id="NewApi"
17        message="Field requires API level 24 (current min is 23): `android.media.tv.TvContract.RecordedPrograms#CONTENT_URI`"
18        errorLine1="                        context, TvContract.RecordedPrograms.CONTENT_URI)) {"
19        errorLine2="                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
20        <location
21            file="packages/apps/TV/src/com/android/tv/util/AsyncDbTask.java"
22            line="143"
23            column="34"/>
24    </issue>
25
26    <issue
27        id="NewApi"
28        message="Call requires API level 24 (current min is 23): `updateAndStartServiceIfNeeded`"
29        errorLine1="            scheduler.updateAndStartServiceIfNeeded();"
30        errorLine2="                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
31        <location
32            file="packages/apps/TV/src/com/android/tv/receiver/BootCompletedReceiver.java"
33            line="90"
34            column="23"/>
35    </issue>
36
37    <issue
38        id="NewApi"
39        message="Call requires API level 24 (current min is 23): `android.media.tv.TvContract#isChannelUriForPassthroughInput`"
40        errorLine1="        if (!TvContract.isChannelUriForPassthroughInput(uri)) {"
41        errorLine2="                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
42        <location
43            file="packages/apps/TV/src/com/android/tv/data/ChannelImpl.java"
44            line="444"
45            column="25"/>
46    </issue>
47
48    <issue
49        id="NewApi"
50        message="Call requires API level 24 (current min is 23): `android.media.tv.TvInputInfo#canRecord`"
51        errorLine1="                if (info.canRecord()) {"
52        errorLine2="                         ~~~~~~~~~">
53        <location
54            file="packages/apps/TV/src/com/android/tv/menu/ChannelsRowAdapter.java"
55            line="255"
56            column="26"/>
57    </issue>
58
59    <issue
60        id="NewApi"
61        message="Call requires API level 24 (current min is 23): `android.media.session.MediaController.TransportControls#prepare`"
62        errorLine1="        getActivity().getMediaController().getTransportControls().prepare();"
63        errorLine2="                                                                  ~~~~~~~">
64        <location
65            file="packages/apps/TV/src/com/android/tv/dvr/ui/playback/DvrPlaybackOverlayFragment.java"
66            line="448"
67            column="67"/>
68    </issue>
69
70    <issue
71        id="NewApi"
72        message="Call requires API level 24 (current min is 23): `android.media.tv.TvView#timeShiftPlay`"
73        errorLine1="            mTvView.timeShiftPlay(mInputId, mRecordedProgramUri);"
74        errorLine2="                    ~~~~~~~~~~~~~">
75        <location
76            file="packages/apps/TV/src/com/android/tv/dvr/DvrTvView.java"
77            line="77"
78            column="21"/>
79    </issue>
80
81    <issue
82        id="NewApi"
83        message="Call requires API level 24 (current min is 23): `android.media.tv.TvInputInfo#loadCustomLabel`"
84        errorLine1="        CharSequence customLabel = input.loadCustomLabel(getContext());"
85        errorLine2="                                         ~~~~~~~~~~~~~~~">
86        <location
87            file="packages/apps/TV/src/com/android/tv/ui/InputBannerView.java"
88            line="75"
89            column="42"/>
90    </issue>
91
92    <issue
93        id="NewApi"
94        message="Call requires API level 24 (current min is 23): `android.media.tv.TvInputInfo#canRecord`"
95        errorLine1="            tunerCount = mInput.canRecord() ? mInput.getTunerCount() : 0;"
96        errorLine2="                                ~~~~~~~~~">
97        <location
98            file="packages/apps/TV/src/com/android/tv/dvr/recorder/InputTaskScheduler.java"
99            line="310"
100            column="33"/>
101    </issue>
102
103    <issue
104        id="NewApi"
105        message="Call requires API level 24 (current min is 23): `android.media.tv.TvInputInfo#getTunerCount`"
106        errorLine1="            tunerCount = mInput.canRecord() ? mInput.getTunerCount() : 0;"
107        errorLine2="                                                     ~~~~~~~~~~~~~">
108        <location
109            file="packages/apps/TV/src/com/android/tv/dvr/recorder/InputTaskScheduler.java"
110            line="310"
111            column="54"/>
112    </issue>
113
114    <issue
115        id="NewApi"
116        message="Call requires API level 24 (current min is 23): `android.media.tv.TvContract#isChannelUriForPassthroughInput`"
117        errorLine1="                TvContract.isChannelUriForPassthroughInput(getIntent().getData());"
118        errorLine2="                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
119        <location
120            file="packages/apps/TV/src/com/android/tv/MainActivity.java"
121            line="534"
122            column="28"/>
123    </issue>
124
125    <issue
126        id="NewApi"
127        message="Call requires API level 24 (current min is 23): `android.media.tv.TvContract#isChannelUriForPassthroughInput`"
128        errorLine1="            if (TvContract.isChannelUriForPassthroughInput(mInitChannelUri)) {"
129        errorLine2="                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
130        <location
131            file="packages/apps/TV/src/com/android/tv/MainActivity.java"
132            line="1002"
133            column="28"/>
134    </issue>
135
136    <issue
137        id="NewApi"
138        message="Call requires API level 24 (current min is 23): `android.media.tv.TvContract#isChannelUriForPassthroughInput`"
139        errorLine1="        if ((channelUri == null || !TvContract.isChannelUriForPassthroughInput(channelUri))"
140        errorLine2="                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
141        <location
142            file="packages/apps/TV/src/com/android/tv/MainActivity.java"
143            line="1029"
144            column="48"/>
145    </issue>
146
147    <issue
148        id="NewApi"
149        message="Call requires API level 24 (current min is 23): `android.media.tv.TvContract#isChannelUriForPassthroughInput`"
150        errorLine1="                TvContract.isChannelUriForPassthroughInput(channelUri)"
151        errorLine2="                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
152        <location
153            file="packages/apps/TV/src/com/android/tv/MainActivity.java"
154            line="1037"
155            column="28"/>
156    </issue>
157
158    <issue
159        id="NewApi"
160        message="Call requires API level 24 (current min is 23): `android.media.tv.TvContract#isChannelUriForPassthroughInput`"
161        errorLine1="            if (TvContract.isChannelUriForPassthroughInput(channelUri)) {"
162        errorLine2="                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
163        <location
164            file="packages/apps/TV/src/com/android/tv/MainActivity.java"
165            line="1065"
166            column="28"/>
167    </issue>
168
169    <issue
170        id="NewApi"
171        message="Call requires API level 24 (current min is 23): `android.media.tv.TvContract#isChannelUriForPassthroughInput`"
172        errorLine1="            } else if (TvContract.isChannelUriForPassthroughInput(mInitChannelUri)) {"
173        errorLine2="                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
174        <location
175            file="packages/apps/TV/src/com/android/tv/MainActivity.java"
176            line="1544"
177            column="35"/>
178    </issue>
179
180    <issue
181        id="NewApi"
182        message="Method reference requires API level 24 (current min is 23): `MainActivity.super::enterPictureInPictureMode`"
183        errorLine1="            mHandler.post(MainActivity.super::enterPictureInPictureMode);"
184        errorLine2="                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
185        <location
186            file="packages/apps/TV/src/com/android/tv/MainActivity.java"
187            line="2402"
188            column="27"/>
189    </issue>
190
191    <issue
192        id="NewApi"
193        message="Call requires API level 24 (current min is 23): `android.media.tv.TvContract#isChannelUriForPassthroughInput`"
194        errorLine1="        return TvContract.isChannelUriForPassthroughInput(uri)"
195        errorLine2="                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
196        <location
197            file="packages/apps/TV/src/com/android/tv/MainActivity.java"
198            line="2813"
199            column="27"/>
200    </issue>
201
202    <issue
203        id="NewApi"
204        message="Call requires API level 28 (current min is 23): `android.media.tv.TvInputManager#getBlockedRatings`"
205        errorLine1="            for (TvContentRating tvContentRating : mTvInputManager.getBlockedRatings()) {"
206        errorLine2="                                                                   ~~~~~~~~~~~~~~~~~">
207        <location
208            file="packages/apps/TV/src/com/android/tv/parental/ParentalControlSettings.java"
209            line="74"
210            column="68"/>
211    </issue>
212
213    <issue
214        id="NewApi"
215        message="Call requires API level 28 (current min is 23): `android.media.tv.TvInputManager#getBlockedRatings`"
216        errorLine1="        mRatings = new HashSet&lt;>(mTvInputManager.getBlockedRatings());"
217        errorLine2="                                                 ~~~~~~~~~~~~~~~~~">
218        <location
219            file="packages/apps/TV/src/com/android/tv/parental/ParentalControlSettings.java"
220            line="89"
221            column="50"/>
222    </issue>
223
224    <issue
225        id="NewApi"
226        message="Call requires API level 28 (current min is 23): `android.media.tv.TvInputManager#getBlockedRatings`"
227        errorLine1="        Set&lt;TvContentRating> removed = new HashSet&lt;>(mTvInputManager.getBlockedRatings());"
228        errorLine2="                                                                     ~~~~~~~~~~~~~~~~~">
229        <location
230            file="packages/apps/TV/src/com/android/tv/parental/ParentalControlSettings.java"
231            line="93"
232            column="70"/>
233    </issue>
234
235    <issue
236        id="NewApi"
237        message="Call requires API level 28 (current min is 23): `android.media.tv.TvInputManager#getBlockedRatings`"
238        errorLine1="        added.removeAll(mTvInputManager.getBlockedRatings());"
239        errorLine2="                                        ~~~~~~~~~~~~~~~~~">
240        <location
241            file="packages/apps/TV/src/com/android/tv/parental/ParentalControlSettings.java"
242            line="100"
243            column="41"/>
244    </issue>
245
246    <issue
247        id="NewApi"
248        message="Call requires API level 24 (current min is 23): `android.media.tv.TvContract#isChannelUriForPassthroughInput`"
249        errorLine1="            if (TvContract.isChannelUriForPassthroughInput(channelUri)) {"
250        errorLine2="                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
251        <location
252            file="packages/apps/TV/src/com/android/tv/SelectInputActivity.java"
253            line="69"
254            column="28"/>
255    </issue>
256
257    <issue
258        id="NewApi"
259        message="Call requires API level 24 (current min is 23): `android.media.tv.TvInputInfo#isHidden`"
260        errorLine1="                if (!input.isHidden(getContext())) {"
261        errorLine2="                           ~~~~~~~~">
262        <location
263            file="packages/apps/TV/src/com/android/tv/ui/SelectInputView.java"
264            line="253"
265            column="28"/>
266    </issue>
267
268    <issue
269        id="NewApi"
270        message="Call requires API level 24 (current min is 23): `android.media.tv.TvInputInfo#loadCustomLabel`"
271        errorLine1="        CharSequence customLabel = input.loadCustomLabel(getContext());"
272        errorLine2="                                         ~~~~~~~~~~~~~~~">
273        <location
274            file="packages/apps/TV/src/com/android/tv/ui/SelectInputView.java"
275            line="287"
276            column="42"/>
277    </issue>
278
279    <issue
280        id="NewApi"
281        message="Call requires API level 24 (current min is 23): `android.media.tv.TvView#tune`"
282        errorLine1="            mTvView.tune(mInputInfo.getId(), mCurrentChannel.getUri(), params);"
283        errorLine2="                    ~~~~">
284        <location
285            file="packages/apps/TV/src/com/android/tv/ui/TunableTvView.java"
286            line="671"
287            column="21"/>
288    </issue>
289
290    <issue
291        id="NewApi"
292        message="Call requires API level 24 (current min is 23): `android.media.tv.TvInputInfo#getTunerCount`"
293        errorLine1="                                input.getTunerCount(),"
294        errorLine2="                                      ~~~~~~~~~~~~~">
295        <location
296            file="packages/apps/TV/src/com/android/tv/ui/TunableTvView.java"
297            line="1174"
298            column="39"/>
299    </issue>
300
301    <issue
302        id="NewApi"
303        message="Call requires API level 24 (current min is 23): `createScheduler`"
304        errorLine1="                mRecordingScheduler = RecordingScheduler.createScheduler(this);"
305        errorLine2="                                                         ~~~~~~~~~~~~~~~">
306        <location
307            file="packages/apps/TV/src/com/android/tv/TvApplication.java"
308            line="216"
309            column="58"/>
310    </issue>
311
312    <issue
313        id="NewApi"
314        message="Call requires API level 24 (current min is 23): `android.media.tv.TvInputInfo#isHidden`"
315        errorLine1="                if (!input.isHidden(this)) {"
316        errorLine2="                           ~~~~~~~~">
317        <location
318            file="packages/apps/TV/src/com/android/tv/TvApplication.java"
319            line="402"
320            column="28"/>
321    </issue>
322
323    <issue
324        id="NewApi"
325        message="Call requires API level 24 (current min is 23): `android.media.tv.TvInputInfo#loadCustomLabel`"
326        errorLine1="                        CharSequence inputCustomLabel = info.loadCustomLabel(mContext);"
327        errorLine2="                                                             ~~~~~~~~~~~~~~~">
328        <location
329            file="packages/apps/TV/src/com/android/tv/util/TvInputManagerHelper.java"
330            line="216"
331            column="62"/>
332    </issue>
333
334    <issue
335        id="NewApi"
336        message="Call requires API level 24 (current min is 23): `android.media.tv.TvInputInfo#loadCustomLabel`"
337        errorLine1="                    CharSequence inputCustomLabel = info.loadCustomLabel(mContext);"
338        errorLine2="                                                         ~~~~~~~~~~~~~~~">
339        <location
340            file="packages/apps/TV/src/com/android/tv/util/TvInputManagerHelper.java"
341            line="257"
342            column="58"/>
343    </issue>
344
345    <issue
346        id="NewApi"
347        message="Call requires API level 24 (current min is 23): `android.media.tv.TvInputManager.TvInputCallback#onInputUpdated`"
348        errorLine1="                        callback.onInputUpdated(inputId);"
349        errorLine2="                                 ~~~~~~~~~~~~~~">
350        <location
351            file="packages/apps/TV/src/com/android/tv/util/TvInputManagerHelper.java"
352            line="265"
353            column="34"/>
354    </issue>
355
356    <issue
357        id="NewApi"
358        message="Call requires API level 24 (current min is 23): `android.media.tv.TvInputInfo#loadCustomLabel`"
359        errorLine1="                    CharSequence inputCustomLabel = inputInfo.loadCustomLabel(mContext);"
360        errorLine2="                                                              ~~~~~~~~~~~~~~~">
361        <location
362            file="packages/apps/TV/src/com/android/tv/util/TvInputManagerHelper.java"
363            line="279"
364            column="63"/>
365    </issue>
366
367    <issue
368        id="NewApi"
369        message="Call requires API level 24 (current min is 23): `android.media.tv.TvInputManager.TvInputCallback#onTvInputInfoUpdated`"
370        errorLine1="                        callback.onTvInputInfoUpdated(inputInfo);"
371        errorLine2="                                 ~~~~~~~~~~~~~~~~~~~~">
372        <location
373            file="packages/apps/TV/src/com/android/tv/util/TvInputManagerHelper.java"
374            line="284"
375            column="34"/>
376    </issue>
377
378    <issue
379        id="NewApi"
380        message="Call requires API level 24 (current min is 23): `android.media.tv.TvInputInfo#loadCustomLabel`"
381        errorLine1="            CharSequence customLabelCharSequence = info.loadCustomLabel(mContext);"
382        errorLine2="                                                        ~~~~~~~~~~~~~~~">
383        <location
384            file="packages/apps/TV/src/com/android/tv/util/TvInputManagerHelper.java"
385            line="472"
386            column="57"/>
387    </issue>
388
389    <issue
390        id="NewApi"
391        message="Call requires API level 24 (current min is 23): `android.media.tv.TvInputInfo#loadCustomLabel`"
392        errorLine1="            String customLabel = canonicalizeLabel(input.loadCustomLabel(mContext));"
393        errorLine2="                                                         ~~~~~~~~~~~~~~~">
394        <location
395            file="packages/apps/TV/src/com/android/tv/search/TvProviderSearch.java"
396            line="510"
397            column="58"/>
398    </issue>
399
400    <issue
401        id="NewApi"
402        message="Call requires API level 24 (current min is 23): `android.media.tv.TvInputInfo#loadCustomLabel`"
403        errorLine1="            String customLabel = canonicalizeLabel(input.loadCustomLabel(mContext));"
404        errorLine2="                                                         ~~~~~~~~~~~~~~~">
405        <location
406            file="packages/apps/TV/src/com/android/tv/search/TvProviderSearch.java"
407            line="535"
408            column="58"/>
409    </issue>
410
411    <issue
412        id="NewApi"
413        message="Call requires API level 24 (current min is 23): `android.media.tv.TvContract#isChannelUriForPassthroughInput`"
414        errorLine1="        return isChannelUriForTunerInput(uri) || TvContract.isChannelUriForPassthroughInput(uri);"
415        errorLine2="                                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
416        <location
417            file="packages/apps/TV/src/com/android/tv/util/Utils.java"
418            line="276"
419            column="61"/>
420    </issue>
421
422</issues>
423