Cole Faust | 90c366f | 2024-01-16 16:16:43 -0800 | [diff] [blame] | 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 35 (current min is 34): `new android.nfc.cardemulation.AidGroup`" |
| 7 | errorLine1=" AidGroup aidGroup = new AidGroup(aids, category);" |
| 8 | errorLine2=" ~~~~~~~~~~~~"> |
| 9 | <location |
| 10 | file="frameworks/base/nfc/java/android/nfc/cardemulation/CardEmulation.java" |
| 11 | line="377" |
| 12 | column="29"/> |
| 13 | </issue> |
| 14 | |
| 15 | <issue |
| 16 | id="NewApi" |
| 17 | message="Call requires API level 35 (current min is 34): `android.nfc.cardemulation.AidGroup#getAids`" |
| 18 | errorLine1=" return (group != null ? group.getAids() : null);" |
| 19 | errorLine2=" ~~~~~~~"> |
| 20 | <location |
| 21 | file="frameworks/base/nfc/java/android/nfc/cardemulation/CardEmulation.java" |
| 22 | line="537" |
| 23 | column="43"/> |
| 24 | </issue> |
| 25 | |
| 26 | <issue |
| 27 | id="NewApi" |
| 28 | message="Call requires API level 35 (current min is 34): `android.nfc.cardemulation.AidGroup#getAids`" |
| 29 | errorLine1=" return (group != null ? group.getAids() : null);" |
| 30 | errorLine2=" ~~~~~~~"> |
| 31 | <location |
| 32 | file="frameworks/base/nfc/java/android/nfc/cardemulation/CardEmulation.java" |
| 33 | line="547" |
| 34 | column="47"/> |
| 35 | </issue> |
| 36 | |
| 37 | <issue |
| 38 | id="NewApi" |
| 39 | message="Call requires API level 35 (current min is 34): `android.nfc.cardemulation.ApduServiceInfo#getAids`" |
| 40 | errorLine1=" return (serviceInfo != null ? serviceInfo.getAids() : null);" |
| 41 | errorLine2=" ~~~~~~~"> |
| 42 | <location |
| 43 | file="frameworks/base/nfc/java/android/nfc/cardemulation/CardEmulation.java" |
| 44 | line="714" |
| 45 | column="55"/> |
| 46 | </issue> |
| 47 | |
| 48 | <issue |
| 49 | id="NewApi" |
| 50 | message="Call requires API level 35 (current min is 34): `android.nfc.cardemulation.ApduServiceInfo#getAids`" |
| 51 | errorLine1=" return (serviceInfo != null ? serviceInfo.getAids() : null);" |
| 52 | errorLine2=" ~~~~~~~"> |
| 53 | <location |
| 54 | file="frameworks/base/nfc/java/android/nfc/cardemulation/CardEmulation.java" |
| 55 | line="724" |
| 56 | column="59"/> |
| 57 | </issue> |
| 58 | |
| 59 | <issue |
| 60 | id="NewApi" |
| 61 | message="Call requires API level 35 (current min is 34): `android.nfc.cardemulation.ApduServiceInfo#isOnHost`" |
| 62 | errorLine1=" if (!serviceInfo.isOnHost()) {" |
| 63 | errorLine2=" ~~~~~~~~"> |
| 64 | <location |
| 65 | file="frameworks/base/nfc/java/android/nfc/cardemulation/CardEmulation.java" |
| 66 | line="755" |
| 67 | column="34"/> |
| 68 | </issue> |
| 69 | |
| 70 | <issue |
| 71 | id="NewApi" |
| 72 | message="Call requires API level 35 (current min is 34): `android.nfc.cardemulation.ApduServiceInfo#getOffHostSecureElement`" |
| 73 | errorLine1=" return serviceInfo.getOffHostSecureElement() == null ?" |
| 74 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> |
| 75 | <location |
| 76 | file="frameworks/base/nfc/java/android/nfc/cardemulation/CardEmulation.java" |
| 77 | line="756" |
| 78 | column="40"/> |
| 79 | </issue> |
| 80 | |
| 81 | <issue |
| 82 | id="NewApi" |
| 83 | message="Call requires API level 35 (current min is 34): `android.nfc.cardemulation.ApduServiceInfo#getOffHostSecureElement`" |
| 84 | errorLine1=' "OffHost" : serviceInfo.getOffHostSecureElement();' |
| 85 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> |
| 86 | <location |
| 87 | file="frameworks/base/nfc/java/android/nfc/cardemulation/CardEmulation.java" |
| 88 | line="757" |
| 89 | column="53"/> |
| 90 | </issue> |
| 91 | |
| 92 | <issue |
| 93 | id="NewApi" |
| 94 | message="Call requires API level 35 (current min is 34): `android.nfc.cardemulation.ApduServiceInfo#isOnHost`" |
| 95 | errorLine1=" if (!serviceInfo.isOnHost()) {" |
| 96 | errorLine2=" ~~~~~~~~"> |
| 97 | <location |
| 98 | file="frameworks/base/nfc/java/android/nfc/cardemulation/CardEmulation.java" |
| 99 | line="772" |
| 100 | column="38"/> |
| 101 | </issue> |
| 102 | |
| 103 | <issue |
| 104 | id="NewApi" |
| 105 | message="Call requires API level 35 (current min is 34): `android.nfc.cardemulation.ApduServiceInfo#getOffHostSecureElement`" |
| 106 | errorLine1=" return serviceInfo.getOffHostSecureElement() == null ?" |
| 107 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> |
| 108 | <location |
| 109 | file="frameworks/base/nfc/java/android/nfc/cardemulation/CardEmulation.java" |
| 110 | line="773" |
| 111 | column="44"/> |
| 112 | </issue> |
| 113 | |
| 114 | <issue |
| 115 | id="NewApi" |
| 116 | message="Call requires API level 35 (current min is 34): `android.nfc.cardemulation.ApduServiceInfo#getOffHostSecureElement`" |
| 117 | errorLine1=' "Offhost" : serviceInfo.getOffHostSecureElement();' |
| 118 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> |
| 119 | <location |
| 120 | file="frameworks/base/nfc/java/android/nfc/cardemulation/CardEmulation.java" |
| 121 | line="774" |
| 122 | column="57"/> |
| 123 | </issue> |
| 124 | |
| 125 | <issue |
| 126 | id="NewApi" |
| 127 | message="Call requires API level 35 (current min is 34): `android.nfc.cardemulation.ApduServiceInfo#getDescription`" |
| 128 | errorLine1=" return (serviceInfo != null ? serviceInfo.getDescription() : null);" |
| 129 | errorLine2=" ~~~~~~~~~~~~~~"> |
| 130 | <location |
| 131 | file="frameworks/base/nfc/java/android/nfc/cardemulation/CardEmulation.java" |
| 132 | line="798" |
| 133 | column="55"/> |
| 134 | </issue> |
| 135 | |
| 136 | <issue |
| 137 | id="NewApi" |
| 138 | message="Call requires API level 35 (current min is 34): `android.nfc.cardemulation.ApduServiceInfo#getDescription`" |
| 139 | errorLine1=" return (serviceInfo != null ? serviceInfo.getDescription() : null);" |
| 140 | errorLine2=" ~~~~~~~~~~~~~~"> |
| 141 | <location |
| 142 | file="frameworks/base/nfc/java/android/nfc/cardemulation/CardEmulation.java" |
| 143 | line="808" |
| 144 | column="59"/> |
| 145 | </issue> |
| 146 | |
| 147 | <issue |
| 148 | id="NewApi" |
| 149 | message="Call requires API level 35 (current min is 34): `android.app.Activity#isResumed`" |
| 150 | errorLine1=" if (!activity.isResumed()) {" |
| 151 | errorLine2=" ~~~~~~~~~"> |
| 152 | <location |
| 153 | file="frameworks/base/nfc/java/android/nfc/cardemulation/CardEmulation.java" |
| 154 | line="1032" |
| 155 | column="23"/> |
| 156 | </issue> |
| 157 | |
| 158 | <issue |
| 159 | id="NewApi" |
| 160 | message="Call requires API level 35 (current min is 34): `android.app.Activity#isResumed`" |
| 161 | errorLine1=" if (!activity.isResumed()) {" |
| 162 | errorLine2=" ~~~~~~~~~"> |
| 163 | <location |
| 164 | file="frameworks/base/nfc/java/android/nfc/cardemulation/CardEmulation.java" |
| 165 | line="1066" |
| 166 | column="23"/> |
| 167 | </issue> |
| 168 | |
| 169 | <issue |
| 170 | id="NewApi" |
| 171 | message="Call requires API level 35 (current min is 34): `android.app.Activity#isResumed`" |
| 172 | errorLine1=" resumed = activity.isResumed();" |
| 173 | errorLine2=" ~~~~~~~~~"> |
| 174 | <location |
| 175 | file="frameworks/base/nfc/java/android/nfc/NfcActivityManager.java" |
| 176 | line="124" |
| 177 | column="32"/> |
| 178 | </issue> |
| 179 | |
| 180 | <issue |
| 181 | id="NewApi" |
| 182 | message="Call requires API level 35 (current min is 34): `android.app.Activity#isResumed`" |
| 183 | errorLine1=" if (!activity.isResumed()) {" |
| 184 | errorLine2=" ~~~~~~~~~"> |
| 185 | <location |
| 186 | file="frameworks/base/nfc/java/android/nfc/NfcAdapter.java" |
| 187 | line="2457" |
| 188 | column="23"/> |
| 189 | </issue> |
| 190 | |
| 191 | <issue |
| 192 | id="NewApi" |
| 193 | message="Call requires API level 35 (current min is 34): `android.app.Activity#isResumed`" |
| 194 | errorLine1=" if (!activity.isResumed()) {" |
| 195 | errorLine2=" ~~~~~~~~~"> |
| 196 | <location |
| 197 | file="frameworks/base/nfc/java/android/nfc/cardemulation/NfcFCardEmulation.java" |
| 198 | line="315" |
| 199 | column="23"/> |
| 200 | </issue> |
| 201 | |
| 202 | <issue |
| 203 | id="NewApi" |
| 204 | message="Call requires API level 35 (current min is 34): `android.app.Activity#isResumed`" |
| 205 | errorLine1=" if (!activity.isResumed()) {" |
| 206 | errorLine2=" ~~~~~~~~~"> |
| 207 | <location |
| 208 | file="frameworks/base/nfc/java/android/nfc/cardemulation/NfcFCardEmulation.java" |
| 209 | line="351" |
| 210 | column="23"/> |
| 211 | </issue> |
| 212 | |
MÃ¥rten Kongstad | 6ea2a8b | 2024-06-17 17:18:49 +0200 | [diff] [blame^] | 213 | <issue |
| 214 | id="FlaggedApi" |
| 215 | message="Method `NfcOemExtension()` is a flagged API and should be inside an `if (Flags.nfcOemExtension())` check (or annotate the surrounding method `NfcAdapter` with `@FlaggedApi(Flags.FLAG_NFC_OEM_EXTENSION) to transfer requirement to caller`)" |
| 216 | errorLine1=" mNfcOemExtension = new NfcOemExtension(mContext, this);" |
| 217 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 218 | <location |
| 219 | file="frameworks/base/nfc/java/android/nfc/NfcAdapter.java" |
| 220 | line="909" |
| 221 | column="28"/> |
| 222 | </issue> |
| 223 | |
| 224 | <issue |
| 225 | id="FlaggedApi" |
| 226 | message="Field `FLAG_SET_DEFAULT_TECH` is a flagged API and should be inside an `if (Flags.nfcSetDefaultDiscTech())` check (or annotate the surrounding method `setDiscoveryTechnology` with `@FlaggedApi(Flags.FLAG_NFC_SET_DEFAULT_DISC_TECH) to transfer requirement to caller`)" |
| 227 | errorLine1=" && ((pollTechnology & FLAG_SET_DEFAULT_TECH) == FLAG_SET_DEFAULT_TECH" |
| 228 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> |
| 229 | <location |
| 230 | file="frameworks/base/nfc/java/android/nfc/NfcAdapter.java" |
| 231 | line="1917" |
| 232 | column="39"/> |
| 233 | </issue> |
| 234 | |
| 235 | <issue |
| 236 | id="FlaggedApi" |
| 237 | message="Field `FLAG_SET_DEFAULT_TECH` is a flagged API and should be inside an `if (Flags.nfcSetDefaultDiscTech())` check (or annotate the surrounding method `setDiscoveryTechnology` with `@FlaggedApi(Flags.FLAG_NFC_SET_DEFAULT_DISC_TECH) to transfer requirement to caller`)" |
| 238 | errorLine1=" && ((pollTechnology & FLAG_SET_DEFAULT_TECH) == FLAG_SET_DEFAULT_TECH" |
| 239 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> |
| 240 | <location |
| 241 | file="frameworks/base/nfc/java/android/nfc/NfcAdapter.java" |
| 242 | line="1917" |
| 243 | column="65"/> |
| 244 | </issue> |
| 245 | |
| 246 | <issue |
| 247 | id="FlaggedApi" |
| 248 | message="Field `FLAG_SET_DEFAULT_TECH` is a flagged API and should be inside an `if (Flags.nfcSetDefaultDiscTech())` check (or annotate the surrounding method `setDiscoveryTechnology` with `@FlaggedApi(Flags.FLAG_NFC_SET_DEFAULT_DISC_TECH) to transfer requirement to caller`)" |
| 249 | errorLine1=" || (listenTechnology & FLAG_SET_DEFAULT_TECH) == FLAG_SET_DEFAULT_TECH)) {" |
| 250 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> |
| 251 | <location |
| 252 | file="frameworks/base/nfc/java/android/nfc/NfcAdapter.java" |
| 253 | line="1918" |
| 254 | column="40"/> |
| 255 | </issue> |
| 256 | |
| 257 | <issue |
| 258 | id="FlaggedApi" |
| 259 | message="Field `FLAG_SET_DEFAULT_TECH` is a flagged API and should be inside an `if (Flags.nfcSetDefaultDiscTech())` check (or annotate the surrounding method `setDiscoveryTechnology` with `@FlaggedApi(Flags.FLAG_NFC_SET_DEFAULT_DISC_TECH) to transfer requirement to caller`)" |
| 260 | errorLine1=" || (listenTechnology & FLAG_SET_DEFAULT_TECH) == FLAG_SET_DEFAULT_TECH)) {" |
| 261 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> |
| 262 | <location |
| 263 | file="frameworks/base/nfc/java/android/nfc/NfcAdapter.java" |
| 264 | line="1918" |
| 265 | column="66"/> |
| 266 | </issue> |
| 267 | |
| 268 | <issue |
| 269 | id="FlaggedApi" |
| 270 | message="Method `onVendorNciResponse()` is a flagged API and should be inside an `if (Flags.nfcVendorCmd())` check (or annotate the surrounding method `onVendorResponseReceived` with `@FlaggedApi(Flags.FLAG_NFC_VENDOR_CMD) to transfer requirement to caller`)" |
| 271 | errorLine1=" executor.execute(() -> callback.onVendorNciResponse(gid, oid, payload));" |
| 272 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 273 | <location |
| 274 | file="frameworks/base/nfc/java/android/nfc/NfcVendorNciCallbackListener.java" |
| 275 | line="88" |
| 276 | column="44"/> |
| 277 | </issue> |
| 278 | |
| 279 | <issue |
| 280 | id="FlaggedApi" |
| 281 | message="Method `onVendorNciNotification()` is a flagged API and should be inside an `if (Flags.nfcVendorCmd())` check (or annotate the surrounding method `onVendorNotificationReceived` with `@FlaggedApi(Flags.FLAG_NFC_VENDOR_CMD) to transfer requirement to caller`)" |
| 282 | errorLine1=" executor.execute(() -> callback.onVendorNciNotification(gid, oid, payload));" |
| 283 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 284 | <location |
| 285 | file="frameworks/base/nfc/java/android/nfc/NfcVendorNciCallbackListener.java" |
| 286 | line="106" |
| 287 | column="44"/> |
| 288 | </issue> |
| 289 | |
Cole Faust | 90c366f | 2024-01-16 16:16:43 -0800 | [diff] [blame] | 290 | </issues> |