blob: f6d6ca62e78c4a9ddc4af1078728f9e0ad7fd758 [file] [log] [blame]
Pedro Loureirod34f5362021-02-25 15:31:51 +00001<?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="Call requires API level R (current min is 29): `android.telephony.ims.ImsMmTelManager#getRegistrationState`"
7 errorLine1=" imsMmTelManager.getRegistrationState(executors, stateCallback);"
8 errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
9 <location
10 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/AbstractImsStatusPreferenceController.java"
11 line="116"
12 column="29"/>
13 </issue>
14
15 <issue
16 id="NewApi"
17 message="Call requires API level R (current min is 29): `android.net.wifi.hotspot2.PasspointConfiguration#getUniqueId`"
18 errorLine1=" mPasspointUniqueId = config.getUniqueId();"
19 errorLine2=" ~~~~~~~~~~~">
20 <location
21 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/AccessPoint.java"
22 line="379"
23 column="37"/>
24 </issue>
25
26 <issue
27 id="NewApi"
28 message="Call requires API level R (current min is 29): `android.net.wifi.hotspot2.PasspointConfiguration#getSubscriptionExpirationTimeMillis`"
29 errorLine1=" mSubscriptionExpirationTimeInMillis = config.getSubscriptionExpirationTimeMillis();"
30 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
31 <location
32 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/AccessPoint.java"
33 line="382"
34 column="54"/>
35 </issue>
36
37 <issue
38 id="NewApi"
39 message="Call requires API level R (current min is 29): `android.net.wifi.hotspot2.PasspointConfiguration#isOsuProvisioned`"
40 errorLine1=" if (config.isOsuProvisioned()) {"
41 errorLine2=" ~~~~~~~~~~~~~~~~">
42 <location
43 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/AccessPoint.java"
44 line="383"
45 column="20"/>
46 </issue>
47
48 <issue
49 id="NewApi"
50 message="Call requires API level R (current min is 29): `android.net.wifi.WifiConfiguration#getKey`"
51 errorLine1=" mPasspointUniqueId = config.getKey();"
52 errorLine2=" ~~~~~~">
53 <location
54 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/AccessPoint.java"
55 line="400"
56 column="37"/>
57 </issue>
58
59 <issue
60 id="NewApi"
61 message="Call requires API level R (current min is 29): `android.net.wifi.WifiManager#calculateSignalLevel`"
62 errorLine1=" int difference = wifiManager.calculateSignalLevel(other.mRssi)"
63 errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
64 <location
65 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/AccessPoint.java"
66 line="481"
67 column="38"/>
68 </issue>
69
70 <issue
71 id="NewApi"
72 message="Call requires API level R (current min is 29): `android.net.wifi.WifiManager#calculateSignalLevel`"
73 errorLine1=" - wifiManager.calculateSignalLevel(mRssi);"
74 errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
75 <location
76 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/AccessPoint.java"
77 line="482"
78 column="31"/>
79 </issue>
80
81 <issue
82 id="NewApi"
83 message="Call requires API level R (current min is 29): `android.net.wifi.WifiConfiguration#getKey`"
84 errorLine1=" return getKey(config.getKey());"
85 errorLine2=" ~~~~~~">
86 <location
87 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/AccessPoint.java"
88 line="707"
89 column="34"/>
90 </issue>
91
92 <issue
93 id="NewApi"
94 message="Call requires API level R (current min is 29): `android.net.wifi.WifiConfiguration#getKey`"
95 errorLine1=" return (isPasspoint() &amp;&amp; config.getKey().equals(mConfig.getKey()));"
96 errorLine2=" ~~~~~~">
97 <location
98 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/AccessPoint.java"
99 line="796"
100 column="45"/>
101 </issue>
102
103 <issue
104 id="NewApi"
105 message="Call requires API level R (current min is 29): `android.net.wifi.WifiConfiguration#getKey`"
106 errorLine1=" return (isPasspoint() &amp;&amp; config.getKey().equals(mConfig.getKey()));"
107 errorLine2=" ~~~~~~">
108 <location
109 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/AccessPoint.java"
110 line="796"
111 column="69"/>
112 </issue>
113
114 <issue
115 id="NewApi"
116 message="Call requires API level R (current min is 29): `android.net.wifi.WifiManager#calculateSignalLevel`"
117 errorLine1=" return getWifiManager().calculateSignalLevel(mRssi);"
118 errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
119 <location
120 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/AccessPoint.java"
121 line="903"
122 column="33"/>
123 </issue>
124
125 <issue
126 id="NewApi"
127 message="Call requires API level R (current min is 29): `android.net.wifi.hotspot2.PasspointConfiguration#getUniqueId`"
128 errorLine1=" String uniqueId = passpointConfig.getUniqueId();"
129 errorLine2=" ~~~~~~~~~~~">
130 <location
131 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/AccessPoint.java"
132 line="1988"
133 column="47"/>
134 </issue>
135
136 <issue
137 id="NewApi"
138 message="Call requires API level R (current min is 29): `android.net.wifi.WifiConfiguration#getKey`"
139 errorLine1=" if (TextUtils.equals(config.getKey(), uniqueId)) {"
140 errorLine2=" ~~~~~~">
141 <location
142 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/AccessPoint.java"
143 line="1992"
144 column="45"/>
145 </issue>
146
147 <issue
148 id="NewApi"
149 message="Call requires API level R (current min is 29): `android.util.SparseArray#contains`"
150 errorLine1=" return mEntriesMap.contains(userId);"
151 errorLine2=" ~~~~~~~~">
152 <location
153 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ApplicationsState.java"
154 line="1503"
155 column="28"/>
156 </issue>
157
158 <issue
159 id="NewApi"
160 message="Call requires API level R (current min is 29): `android.bluetooth.BluetoothDevice#getAlias`"
161 errorLine1=" + mDevice.getAlias() + &quot;, newProfileState &quot; + newProfileState);"
162 errorLine2=" ~~~~~~~~">
163 <location
164 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/CachedBluetoothDevice.java"
165 line="155"
166 column="31"/>
167 </issue>
168
169 <issue
170 id="NewApi"
171 message="Call requires API level R (current min is 29): `android.bluetooth.BluetoothDevice#getAlias`"
172 errorLine1=" final String aliasName = mDevice.getAlias();"
173 errorLine2=" ~~~~~~~~">
174 <location
175 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/CachedBluetoothDevice.java"
176 line="431"
177 column="42"/>
178 </issue>
179
180 <issue
181 id="NewApi"
182 message="Call requires API level 31 (current min is 29): `android.bluetooth.BluetoothDevice#setAlias`"
183 errorLine1=" mDevice.setAlias(name);"
184 errorLine2=" ~~~~~~~~">
185 <location
186 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/CachedBluetoothDevice.java"
187 line="442"
188 column="21"/>
189 </issue>
190
191 <issue
192 id="NewApi"
193 message="Call requires API level R (current min is 29): `android.bluetooth.BluetoothDevice#getAlias`"
194 errorLine1=" return !TextUtils.isEmpty(mDevice.getAlias());"
195 errorLine2=" ~~~~~~~~">
196 <location
197 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/CachedBluetoothDevice.java"
198 line="489"
199 column="43"/>
200 </issue>
201
202 <issue
203 id="NewApi"
204 message="Call requires API level R (current min is 29): `android.bluetooth.BluetoothDevice#getAlias`"
205 errorLine1=" Log.d(TAG, &quot;updating profiles for &quot; + mDevice.getAlias());"
206 errorLine2=" ~~~~~~~~">
207 <location
208 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/CachedBluetoothDevice.java"
209 line="638"
210 column="59"/>
211 </issue>
212
213 <issue
214 id="NewApi"
215 message="Call requires API level R (current min is 29): `android.bluetooth.BluetoothDevice#getAlias`"
216 errorLine1=" String name = device.getAlias();"
217 errorLine2=" ~~~~~~~~">
218 <location
219 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/CachedBluetoothDeviceManager.java"
220 line="171"
221 column="30"/>
222 </issue>
223
224 <issue
225 id="NewApi"
226 message="Class requires API level 31 (current min is 29): `android.net.wifi.WifiManager.SubsystemRestartTrackingCallback`"
227 errorLine1=" new SubsystemRestartTrackingCallback() {"
228 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
229 <location
230 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/connectivity/ConnectivitySubsystemsRecoveryManager.java"
231 line="62"
232 column="17"/>
233 </issue>
234
235 <issue
236 id="NewApi"
237 message="Class requires API level 31 (current min is 29): `android.telephony.TelephonyCallback`"
238 errorLine1=" private class MobileTelephonyCallback extends TelephonyCallback implements"
239 errorLine2=" ~~~~~~~~~~~~~~~~~">
240 <location
241 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/connectivity/ConnectivitySubsystemsRecoveryManager.java"
242 line="77"
243 column="51"/>
244 </issue>
245
246 <issue
247 id="NewApi"
248 message="Call requires API level 31 (current min is 29): `android.net.wifi.WifiManager#registerSubsystemRestartTrackingCallback`"
249 errorLine1=" mWifiManager.registerSubsystemRestartTrackingCallback(new HandlerExecutor(mHandler),"
250 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
251 <location
252 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/connectivity/ConnectivitySubsystemsRecoveryManager.java"
253 line="197"
254 column="22"/>
255 </issue>
256
257 <issue
258 id="NewApi"
259 message="Call requires API level 31 (current min is 29): `android.net.wifi.WifiManager#unregisterSubsystemRestartTrackingCallback`"
260 errorLine1=" mWifiManager.unregisterSubsystemRestartTrackingCallback("
261 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
262 <location
263 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/connectivity/ConnectivitySubsystemsRecoveryManager.java"
264 line="202"
265 column="22"/>
266 </issue>
267
268 <issue
269 id="NewApi"
270 message="Call requires API level 31 (current min is 29): `android.telephony.TelephonyManager#registerTelephonyCallback`"
271 errorLine1=" mTelephonyManager.registerTelephonyCallback(new HandlerExecutor(mHandler),"
272 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
273 <location
274 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/connectivity/ConnectivitySubsystemsRecoveryManager.java"
275 line="207"
276 column="27"/>
277 </issue>
278
279 <issue
280 id="NewApi"
281 message="Call requires API level 31 (current min is 29): `android.telephony.TelephonyManager#unregisterTelephonyCallback`"
282 errorLine1=" mTelephonyManager.unregisterTelephonyCallback(mTelephonyCallback);"
283 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
284 <location
285 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/connectivity/ConnectivitySubsystemsRecoveryManager.java"
286 line="212"
287 column="27"/>
288 </issue>
289
290 <issue
291 id="NewApi"
292 message="Call requires API level 31 (current min is 29): `android.telephony.TelephonyManager#isDataCapable`"
293 errorLine1=" return getTelephonyManager().isDataCapable()"
294 errorLine2=" ~~~~~~~~~~~~~">
295 <location
296 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/DataUsageController.java"
297 line="236"
298 column="38"/>
299 </issue>
300
301 <issue
302 id="NewApi"
303 message="Call requires API level R (current min is 29): `android.telephony.TelephonyManager#getSubscriptionId`"
304 errorLine1=" final int mobileDefaultSubId = telephonyManager.getSubscriptionId();"
305 errorLine2=" ~~~~~~~~~~~~~~~~~">
306 <location
307 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/DataUsageUtils.java"
308 line="41"
309 column="57"/>
310 </issue>
311
312 <issue
313 id="NewApi"
314 message="Call requires API level R (current min is 29): `android.media.MediaRoute2Info#getName`"
315 errorLine1=" return mRouteInfo.getName().toString();"
316 errorLine2=" ~~~~~~~">
317 <location
318 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/InfoMediaDevice.java"
319 line="51"
320 column="27"/>
321 </issue>
322
323 <issue
324 id="NewApi"
325 message="Call requires API level R (current min is 29): `android.media.MediaRoute2Info#getClientPackageName`"
326 errorLine1=" return mRouteInfo.getClientPackageName() != null"
327 errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
328 <location
329 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/InfoMediaDevice.java"
330 line="56"
331 column="27"/>
332 </issue>
333
334 <issue
335 id="NewApi"
336 message="Call requires API level R (current min is 29): `android.media.MediaRoute2Info#getFeatures`"
337 errorLine1=" final List&lt;String> features = mRouteInfo.getFeatures();"
338 errorLine2=" ~~~~~~~~~~~">
339 <location
340 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/InfoMediaDevice.java"
341 line="93"
342 column="50"/>
343 </issue>
344
345 <issue
346 id="NewApi"
347 message="Call requires API level R (current min is 29): `android.media.MediaRoute2Info#getId`"
348 errorLine1=" if (info != null &amp;&amp; info.getSelectableRoutes().contains(device.mRouteInfo.getId())) {"
349 errorLine2=" ~~~~~">
350 <location
351 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/InfoMediaManager.java"
352 line="131"
353 column="83"/>
354 </issue>
355
356 <issue
357 id="NewApi"
358 message="Call requires API level R (current min is 29): `android.media.RoutingSessionInfo#getSelectableRoutes`"
359 errorLine1=" if (info != null &amp;&amp; info.getSelectableRoutes().contains(device.mRouteInfo.getId())) {"
360 errorLine2=" ~~~~~~~~~~~~~~~~~~~">
361 <location
362 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/InfoMediaManager.java"
363 line="131"
364 column="34"/>
365 </issue>
366
367 <issue
368 id="NewApi"
369 message="Call requires API level R (current min is 29): `android.media.MediaRoute2Info#getId`"
370 errorLine1=" if (info != null &amp;&amp; info.getSelectedRoutes().contains(device.mRouteInfo.getId())) {"
371 errorLine2=" ~~~~~">
372 <location
373 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/InfoMediaManager.java"
374 line="162"
375 column="81"/>
376 </issue>
377
378 <issue
379 id="NewApi"
380 message="Call requires API level R (current min is 29): `android.media.RoutingSessionInfo#getSelectedRoutes`"
381 errorLine1=" if (info != null &amp;&amp; info.getSelectedRoutes().contains(device.mRouteInfo.getId())) {"
382 errorLine2=" ~~~~~~~~~~~~~~~~~">
383 <location
384 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/InfoMediaManager.java"
385 line="162"
386 column="34"/>
387 </issue>
388
389 <issue
390 id="NewApi"
391 message="Call requires API level R (current min is 29): `android.media.MediaRoute2Info#getName`"
392 errorLine1=" Log.d(TAG, route.getName() + &quot; is deselectable for &quot; + mPackageName);"
393 errorLine2=" ~~~~~~~">
394 <location
395 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/InfoMediaManager.java"
396 line="238"
397 column="34"/>
398 </issue>
399
400 <issue
401 id="NewApi"
402 message="Call requires API level R (current min is 29): `android.media.RoutingSessionInfo#getVolumeMax`"
403 errorLine1=" return info.getVolumeMax();"
404 errorLine2=" ~~~~~~~~~~~~">
405 <location
406 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/InfoMediaManager.java"
407 line="320"
408 column="25"/>
409 </issue>
410
411 <issue
412 id="NewApi"
413 message="Call requires API level R (current min is 29): `android.media.RoutingSessionInfo#getVolume`"
414 errorLine1=" return info.getVolume();"
415 errorLine2=" ~~~~~~~~~">
416 <location
417 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/InfoMediaManager.java"
418 line="341"
419 column="25"/>
420 </issue>
421
422 <issue
423 id="NewApi"
424 message="Call requires API level R (current min is 29): `android.media.RoutingSessionInfo#getName`"
425 errorLine1=" return info.getName();"
426 errorLine2=" ~~~~~~~">
427 <location
428 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/InfoMediaManager.java"
429 line="357"
430 column="25"/>
431 </issue>
432
433 <issue
434 id="NewApi"
435 message="Call requires API level R (current min is 29): `android.media.MediaRoute2Info#getName`"
436 errorLine1=" Log.d(TAG, &quot;buildAllRoutes() route : &quot; + route.getName() + &quot;, volume : &quot;"
437 errorLine2=" ~~~~~~~">
438 <location
439 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/InfoMediaManager.java"
440 line="408"
441 column="64"/>
442 </issue>
443
444 <issue
445 id="NewApi"
446 message="Call requires API level R (current min is 29): `android.media.MediaRoute2Info#getVolume`"
447 errorLine1=" + route.getVolume() + &quot;, type : &quot; + route.getType());"
448 errorLine2=" ~~~~~~~~~">
449 <location
450 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/InfoMediaManager.java"
451 line="409"
452 column="33"/>
453 </issue>
454
455 <issue
456 id="NewApi"
457 message="Call requires API level R (current min is 29): `android.media.MediaRoute2Info#isSystemRoute`"
458 errorLine1=" if (route.isSystemRoute()) {"
459 errorLine2=" ~~~~~~~~~~~~~">
460 <location
461 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/InfoMediaManager.java"
462 line="411"
463 column="23"/>
464 </issue>
465
466 <issue
467 id="NewApi"
468 message="Call requires API level R (current min is 29): `android.media.MediaRoute2Info#getName`"
469 errorLine1=" Log.d(TAG, &quot;buildAvailableRoutes() route : &quot; + route.getName() + &quot;, volume : &quot;"
470 errorLine2=" ~~~~~~~">
471 <location
472 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/InfoMediaManager.java"
473 line="424"
474 column="70"/>
475 </issue>
476
477 <issue
478 id="NewApi"
479 message="Call requires API level R (current min is 29): `android.media.MediaRoute2Info#getVolume`"
480 errorLine1=" + route.getVolume() + &quot;, type : &quot; + route.getType());"
481 errorLine2=" ~~~~~~~~~">
482 <location
483 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/InfoMediaManager.java"
484 line="425"
485 column="33"/>
486 </issue>
487
488 <issue
489 id="NewApi"
490 message="Call requires API level R (current min is 29): `android.media.MediaRoute2Info#getId`"
491 errorLine1=" &amp;&amp; getRoutingSessionInfo().getSelectedRoutes().contains(route.getId())"
492 errorLine2=" ~~~~~">
493 <location
494 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/InfoMediaManager.java"
495 line="444"
496 column="87"/>
497 </issue>
498
499 <issue
500 id="NewApi"
501 message="Call requires API level R (current min is 29): `android.media.RoutingSessionInfo#getSelectedRoutes`"
502 errorLine1=" &amp;&amp; getRoutingSessionInfo().getSelectedRoutes().contains(route.getId())"
503 errorLine2=" ~~~~~~~~~~~~~~~~~">
504 <location
505 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/InfoMediaManager.java"
506 line="444"
507 column="52"/>
508 </issue>
509
510 <issue
511 id="NewApi"
512 message="Call requires API level R (current min is 29): `android.media.RoutingSessionInfo#getName`"
513 errorLine1=" Log.d(TAG, &quot;onTransferred() oldSession : &quot; + oldSession.getName()"
514 errorLine2=" ~~~~~~~">
515 <location
516 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/InfoMediaManager.java"
517 line="509"
518 column="73"/>
519 </issue>
520
521 <issue
522 id="NewApi"
523 message="Call requires API level R (current min is 29): `android.media.RoutingSessionInfo#getName`"
524 errorLine1=" + &quot;, newSession : &quot; + newSession.getName());"
525 errorLine2=" ~~~~~~~">
526 <location
527 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/InfoMediaManager.java"
528 line="510"
529 column="58"/>
530 </issue>
531
532 <issue
533 id="NewApi"
534 message="Call requires API level R (current min is 29): `android.media.RoutingSessionInfo#getId`"
535 errorLine1=" if (TextUtils.equals(sessionId, info.getId())) {"
536 errorLine2=" ~~~~~">
537 <location
538 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/LocalMediaManager.java"
539 line="342"
540 column="50"/>
541 </issue>
542
543 <issue
544 id="NewApi"
545 message="Call requires API level R (current min is 29): `android.media.MediaRoute2Info#getVolumeMax`"
546 errorLine1=" return mRouteInfo.getVolumeMax();"
547 errorLine2=" ~~~~~~~~~~~~">
548 <location
549 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/MediaDevice.java"
550 line="221"
551 column="27"/>
552 </issue>
553
554 <issue
555 id="NewApi"
556 message="Call requires API level R (current min is 29): `android.media.MediaRoute2Info#getVolume`"
557 errorLine1=" return mRouteInfo.getVolume();"
558 errorLine2=" ~~~~~~~~~">
559 <location
560 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/MediaDevice.java"
561 line="234"
562 column="27"/>
563 </issue>
564
565 <issue
566 id="NewApi"
567 message="Call requires API level R (current min is 29): `android.media.MediaRoute2Info#getClientPackageName`"
568 errorLine1=" return mRouteInfo.getClientPackageName();"
569 errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
570 <location
571 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/MediaDevice.java"
572 line="247"
573 column="27"/>
574 </issue>
575
576 <issue
577 id="NewApi"
578 message="Call requires API level R (current min is 29): `android.media.MediaRoute2Info#getFeatures`"
579 errorLine1=" return mRouteInfo.getFeatures();"
580 errorLine2=" ~~~~~~~~~~~">
581 <location
582 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/MediaDevice.java"
583 line="387"
584 column="27"/>
585 </issue>
586
587 <issue
588 id="NewApi"
589 message="Call requires API level R (current min is 29): `android.media.MediaRoute2Info#getId`"
590 errorLine1=" return route.getId();"
591 errorLine2=" ~~~~~">
592 <location
593 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/MediaDeviceUtils.java"
594 line="57"
595 column="22"/>
596 </issue>
597
598 <issue
599 id="NewApi"
600 message="Call requires API level R (current min is 29): `android.telephony.TelephonyDisplayInfo#getOverrideNetworkType`"
601 errorLine1=" if (telephonyDisplayInfo.getOverrideNetworkType()"
602 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
603 <location
604 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/mobile/MobileMappings.java"
605 line="42"
606 column="34"/>
607 </issue>
608
609 <issue
610 id="NewApi"
611 message="Call requires API level R (current min is 29): `android.telephony.TelephonyDisplayInfo#getNetworkType`"
612 errorLine1=" return toIconKey(telephonyDisplayInfo.getNetworkType());"
613 errorLine2=" ~~~~~~~~~~~~~~">
614 <location
615 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/mobile/MobileMappings.java"
616 line="44"
617 column="51"/>
618 </issue>
619
620 <issue
621 id="NewApi"
622 message="Call requires API level R (current min is 29): `android.telephony.TelephonyDisplayInfo#getOverrideNetworkType`"
623 errorLine1=" return toDisplayIconKey(telephonyDisplayInfo.getOverrideNetworkType());"
624 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
625 <location
626 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/mobile/MobileMappings.java"
627 line="46"
628 column="58"/>
629 </issue>
630
631 <issue
632 id="NewApi"
633 message="Call requires API level 31 (current min is 29): `android.telephony.TelephonyManager#registerTelephonyCallback`"
634 errorLine1=" mPhone.registerTelephonyCallback(mReceiverHandler::post, mTelephonyCallback);"
635 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
636 <location
637 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/mobile/MobileStatusTracker.java"
638 line="80"
639 column="20"/>
640 </issue>
641
642 <issue
643 id="NewApi"
644 message="Call requires API level 31 (current min is 29): `android.telephony.TelephonyManager#unregisterTelephonyCallback`"
645 errorLine1=" mPhone.unregisterTelephonyCallback(mTelephonyCallback);"
646 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
647 <location
648 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/mobile/MobileStatusTracker.java"
649 line="82"
650 column="20"/>
651 </issue>
652
653 <issue
654 id="NewApi"
655 message="Class requires API level 31 (current min is 29): `android.telephony.TelephonyCallback`"
656 errorLine1=" public class MobileTelephonyCallback extends TelephonyCallback implements"
657 errorLine2=" ~~~~~~~~~~~~~~~~~">
658 <location
659 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/mobile/MobileStatusTracker.java"
660 line="109"
661 column="50"/>
662 </issue>
663
664 <issue
665 id="NewApi"
666 message="Class requires API level 31 (current min is 29): `android.telephony.TelephonyCallback.ServiceStateListener`"
667 errorLine1=" TelephonyCallback.ServiceStateListener,"
668 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
669 <location
670 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/mobile/MobileStatusTracker.java"
671 line="110"
672 column="13"/>
673 </issue>
674
675 <issue
676 id="NewApi"
677 message="Class requires API level 31 (current min is 29): `android.telephony.TelephonyCallback.SignalStrengthsListener`"
678 errorLine1=" TelephonyCallback.SignalStrengthsListener,"
679 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
680 <location
681 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/mobile/MobileStatusTracker.java"
682 line="111"
683 column="13"/>
684 </issue>
685
686 <issue
687 id="NewApi"
688 message="Class requires API level 31 (current min is 29): `android.telephony.TelephonyCallback.DataConnectionStateListener`"
689 errorLine1=" TelephonyCallback.DataConnectionStateListener,"
690 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
691 <location
692 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/mobile/MobileStatusTracker.java"
693 line="112"
694 column="13"/>
695 </issue>
696
697 <issue
698 id="NewApi"
699 message="Class requires API level 31 (current min is 29): `android.telephony.TelephonyCallback.DataActivityListener`"
700 errorLine1=" TelephonyCallback.DataActivityListener,"
701 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
702 <location
703 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/mobile/MobileStatusTracker.java"
704 line="113"
705 column="13"/>
706 </issue>
707
708 <issue
709 id="NewApi"
710 message="Class requires API level 31 (current min is 29): `android.telephony.TelephonyCallback.CarrierNetworkListener`"
711 errorLine1=" TelephonyCallback.CarrierNetworkListener,"
712 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
713 <location
714 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/mobile/MobileStatusTracker.java"
715 line="114"
716 column="13"/>
717 </issue>
718
719 <issue
720 id="NewApi"
721 message="Class requires API level 31 (current min is 29): `android.telephony.TelephonyCallback.ActiveDataSubscriptionIdListener`"
722 errorLine1=" TelephonyCallback.ActiveDataSubscriptionIdListener,"
723 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
724 <location
725 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/mobile/MobileStatusTracker.java"
726 line="115"
727 column="13"/>
728 </issue>
729
730 <issue
731 id="NewApi"
732 message="Class requires API level 31 (current min is 29): `android.telephony.TelephonyCallback.DisplayInfoListener`"
733 errorLine1=" TelephonyCallback.DisplayInfoListener{"
734 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
735 <location
736 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/mobile/MobileStatusTracker.java"
737 line="116"
738 column="13"/>
739 </issue>
740
741 <issue
742 id="NewApi"
743 message="Call requires API level R (current min is 29): `android.telephony.SubscriptionManager#getActiveDataSubscriptionId`"
744 errorLine1=" return SubscriptionManager.getActiveDataSubscriptionId();"
745 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
746 <location
747 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/mobile/MobileStatusTracker.java"
748 line="207"
749 column="40"/>
750 </issue>
751
752 <issue
753 id="NewApi"
754 message="Call requires API level 31 (current min is 29): `com.google.android.collect.Lists#newArrayList`"
755 errorLine1=" private ArrayList&lt;NetworkPolicy> mPolicies = Lists.newArrayList();"
756 errorLine2=" ~~~~~~~~~~~~">
757 <location
758 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/NetworkPolicyEditor.java"
759 line="54"
760 column="56"/>
761 </issue>
762
763 <issue
764 id="NewApi"
765 message="Call requires API level R (current min is 29): `android.media.MediaRoute2Info#getName`"
766 errorLine1=" name = mRouteInfo.getName();"
767 errorLine2=" ~~~~~~~">
768 <location
769 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/PhoneMediaDevice.java"
770 line="71"
771 column="35"/>
772 </issue>
773
774 <issue
775 id="NewApi"
776 message="Call requires API level R (current min is 29): `android.app.admin.DevicePolicyManager#isOrganizationOwnedDeviceWithManagedProfile`"
777 errorLine1=" if (profileAdmin != null &amp;&amp; dpm.isOrganizationOwnedDeviceWithManagedProfile()) {"
778 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
779 <location
780 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/RestrictedLockUtilsInternal.java"
781 line="280"
782 column="45"/>
783 </issue>
784
785 <issue
786 id="NewApi"
787 message="Call requires API level R (current min is 29): `android.content.Context#bindServiceAsUser`"
788 errorLine1=" mContext.bindServiceAsUser(mServiceIntent, mServiceConnection, Context.BIND_AUTO_CREATE,"
789 errorLine2=" ~~~~~~~~~~~~~~~~~">
790 <location
791 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/suggestions/SuggestionController.java"
792 line="83"
793 column="18"/>
794 </issue>
795
796 <issue
797 id="NewApi"
798 message="Call requires API level R (current min is 29): `new android.net.NetworkInfo`"
799 errorLine1=" mNetworkInfo = new NetworkInfo("
800 errorLine2=" ~~~~~~~~~~~~~~~">
801 <location
802 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/TestAccessPointBuilder.java"
803 line="110"
804 column="28"/>
805 </issue>
806
807 <issue
808 id="NewApi"
809 message="Call requires API level R (current min is 29): `android.net.wifi.WifiManager#getMaxSignalLevel`"
810 errorLine1=" int maxSignalLevel = wifiManager.getMaxSignalLevel();"
811 errorLine2=" ~~~~~~~~~~~~~~~~~">
812 <location
813 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/TestAccessPointBuilder.java"
814 line="131"
815 column="42"/>
816 </issue>
817
818 <issue
819 id="NewApi"
820 message="Call requires API level 31 (current min is 29): `android.telephony.TelephonyManager#isDataCapable`"
821 errorLine1=" return !context.getSystemService(TelephonyManager.class).isDataCapable();"
822 errorLine2=" ~~~~~~~~~~~~~">
823 <location
824 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/Utils.java"
825 line="447"
826 column="66"/>
827 </issue>
828
829 <issue
830 id="NewApi"
831 message="Call requires API level R (current min is 29): `android.net.NetworkRequest.Builder#clearCapabilities`"
832 errorLine1=" .clearCapabilities()"
833 errorLine2=" ~~~~~~~~~~~~~~~~~">
834 <location
835 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/WifiStatusTracker.java"
836 line="72"
837 column="14"/>
838 </issue>
839
840 <issue
841 id="NewApi"
842 message="Call requires API level 31 (current min is 29): `android.net.wifi.WifiInfo#getSubscriptionId`"
843 errorLine1=" subId = mWifiInfo.getSubscriptionId();"
844 errorLine2=" ~~~~~~~~~~~~~~~~~">
845 <location
846 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/WifiStatusTracker.java"
847 line="231"
848 column="39"/>
849 </issue>
850
851 <issue
852 id="NewApi"
853 message="Call requires API level 31 (current min is 29): `android.net.wifi.WifiInfo#getSubscriptionId`"
854 errorLine1=" subId = mWifiInfo.getSubscriptionId();"
855 errorLine2=" ~~~~~~~~~~~~~~~~~">
856 <location
857 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/WifiStatusTracker.java"
858 line="263"
859 column="35"/>
860 </issue>
861
862 <issue
863 id="NewApi"
864 message="Call requires API level R (current min is 29): `android.net.wifi.WifiManager#calculateSignalLevel`"
865 errorLine1=" level = mWifiManager.calculateSignalLevel(rssi);"
866 errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
867 <location
868 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/WifiStatusTracker.java"
869 line="279"
870 column="30"/>
871 </issue>
872
873 <issue
874 id="NewApi"
875 message="Call requires API level R (current min is 29): `android.net.NetworkRequest.Builder#clearCapabilities`"
876 errorLine1=" .clearCapabilities()"
877 errorLine2=" ~~~~~~~~~~~~~~~~~">
878 <location
879 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/WifiTracker.java"
880 line="243"
881 column="18"/>
882 </issue>
883
884 <issue
885 id="NewApi"
886 message="Call requires API level R (current min is 29): `android.net.wifi.WifiInfo#getWifiStandard`"
887 errorLine1=" visibility.append(&quot; standard = &quot;).append(info.getWifiStandard());"
888 errorLine2=" ~~~~~~~~~~~~~~~">
889 <location
890 file="frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/WifiUtils.java"
891 line="104"
892 column="59"/>
893 </issue>
894
895</issues>