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="FlaggedApi" 6 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`)" 7 errorLine1=" mNfcOemExtension = new NfcOemExtension(mContext, this);" 8 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 9 <location 10 file="frameworks/base/nfc/java/android/nfc/NfcAdapter.java" 11 line="909" 12 column="28"/> 13 </issue> 14 15 <issue 16 id="FlaggedApi" 17 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`)" 18 errorLine1=" && ((pollTechnology & FLAG_SET_DEFAULT_TECH) == FLAG_SET_DEFAULT_TECH" 19 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> 20 <location 21 file="frameworks/base/nfc/java/android/nfc/NfcAdapter.java" 22 line="1917" 23 column="39"/> 24 </issue> 25 26 <issue 27 id="FlaggedApi" 28 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`)" 29 errorLine1=" && ((pollTechnology & FLAG_SET_DEFAULT_TECH) == FLAG_SET_DEFAULT_TECH" 30 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> 31 <location 32 file="frameworks/base/nfc/java/android/nfc/NfcAdapter.java" 33 line="1917" 34 column="65"/> 35 </issue> 36 37 <issue 38 id="FlaggedApi" 39 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`)" 40 errorLine1=" || (listenTechnology & FLAG_SET_DEFAULT_TECH) == FLAG_SET_DEFAULT_TECH)) {" 41 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> 42 <location 43 file="frameworks/base/nfc/java/android/nfc/NfcAdapter.java" 44 line="1918" 45 column="40"/> 46 </issue> 47 48 <issue 49 id="FlaggedApi" 50 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`)" 51 errorLine1=" || (listenTechnology & FLAG_SET_DEFAULT_TECH) == FLAG_SET_DEFAULT_TECH)) {" 52 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> 53 <location 54 file="frameworks/base/nfc/java/android/nfc/NfcAdapter.java" 55 line="1918" 56 column="66"/> 57 </issue> 58 59 <issue 60 id="FlaggedApi" 61 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`)" 62 errorLine1=" executor.execute(() -> callback.onVendorNciResponse(gid, oid, payload));" 63 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 64 <location 65 file="frameworks/base/nfc/java/android/nfc/NfcVendorNciCallbackListener.java" 66 line="88" 67 column="44"/> 68 </issue> 69 70 <issue 71 id="FlaggedApi" 72 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`)" 73 errorLine1=" executor.execute(() -> callback.onVendorNciNotification(gid, oid, payload));" 74 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 75 <location 76 file="frameworks/base/nfc/java/android/nfc/NfcVendorNciCallbackListener.java" 77 line="106" 78 column="44"/> 79 </issue> 80 81</issues> 82