1<?xml version="1.0" encoding="UTF-8"?> 2<issues format="6" by="lint 8.4.0-alpha01" type="baseline" client="" dependencies="true" name="" variant="all" version="8.4.0-alpha01"> 3 4 <issue 5 id="NewApi" 6 message="Call requires API level 23 (current min is 21): `android.content.Context#getSystemService`" 7 errorLine1=" mTelephonyManager = context.getSystemService(TelephonyManager.class);" 8 errorLine2=" ~~~~~~~~~~~~~~~~"> 9 <location 10 file="frameworks/base/packages/SettingsLib/EmergencyNumber/src/com/android/settingslib/emergencynumber/EmergencyNumberUtils.java" 11 line="81" 12 column="41"/> 13 </issue> 14 15 <issue 16 id="NewApi" 17 message="Call requires API level 23 (current min is 21): `android.content.Context#getSystemService`" 18 errorLine1=" mCarrierConfigManager = context.getSystemService(CarrierConfigManager.class);" 19 errorLine2=" ~~~~~~~~~~~~~~~~"> 20 <location 21 file="frameworks/base/packages/SettingsLib/EmergencyNumber/src/com/android/settingslib/emergencynumber/EmergencyNumberUtils.java" 22 line="82" 23 column="45"/> 24 </issue> 25 26 <issue 27 id="NewApi" 28 message="Class requires API level 23 (current min is 21): `android.telephony.CarrierConfigManager`" 29 errorLine1=" mCarrierConfigManager = context.getSystemService(CarrierConfigManager.class);" 30 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 31 <location 32 file="frameworks/base/packages/SettingsLib/EmergencyNumber/src/com/android/settingslib/emergencynumber/EmergencyNumberUtils.java" 33 line="82" 34 column="62"/> 35 </issue> 36 37 <issue 38 id="NewApi" 39 message="Call requires API level 29 (current min is 21): `android.telephony.TelephonyManager#getEmergencyNumberList`" 40 errorLine1=" Map<Integer, List<EmergencyNumber>> allLists = mTelephonyManager.getEmergencyNumberList(" 41 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 42 <location 43 file="frameworks/base/packages/SettingsLib/EmergencyNumber/src/com/android/settingslib/emergencynumber/EmergencyNumberUtils.java" 44 line="177" 45 column="74"/> 46 </issue> 47 48 <issue 49 id="NewApi" 50 message="Call requires API level 29 (current min is 21): `android.telephony.emergency.EmergencyNumber#getEmergencyNumberSources`" 51 errorLine1=" emergencyNumber.getEmergencyNumberSources().contains(" 52 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> 53 <location 54 file="frameworks/base/packages/SettingsLib/EmergencyNumber/src/com/android/settingslib/emergencynumber/EmergencyNumberUtils.java" 55 line="200" 56 column="41"/> 57 </issue> 58 59 <issue 60 id="NewApi" 61 message="Call requires API level 24 (current min is 21): `android.telephony.SubscriptionManager#getDefaultSubscriptionId`" 62 errorLine1=" return promotedEmergencyNumberLists.get(SubscriptionManager.getDefaultSubscriptionId());" 63 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 64 <location 65 file="frameworks/base/packages/SettingsLib/EmergencyNumber/src/com/android/settingslib/emergencynumber/EmergencyNumberUtils.java" 66 line="223" 67 column="69"/> 68 </issue> 69 70 <issue 71 id="NewApi" 72 message="Call requires API level 29 (current min is 21): `android.telephony.emergency.EmergencyNumber#getNumber`" 73 errorLine1=" String number = emergencyNumber.getNumber();" 74 errorLine2=" ~~~~~~~~~"> 75 <location 76 file="frameworks/base/packages/SettingsLib/EmergencyNumber/src/com/android/settingslib/emergencynumber/EmergencyNumberUtils.java" 77 line="238" 78 column="41"/> 79 </issue> 80 81 <issue 82 id="NewApi" 83 message="Call requires API level 23 (current min is 21): `android.telephony.CarrierConfigManager#getConfigForSubId`" 84 errorLine1=" PersistableBundle b = carrierConfigManager.getConfigForSubId(subId);" 85 errorLine2=" ~~~~~~~~~~~~~~~~~"> 86 <location 87 file="frameworks/base/packages/SettingsLib/EmergencyNumber/src/com/android/settingslib/emergencynumber/EmergencyNumberUtils.java" 88 line="255" 89 column="52"/> 90 </issue> 91 92</issues>