blob: dd7b03de47cd511cd2f508009e79c2685ed2a73e [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 8.4.0-alpha01" type="baseline" client="" dependencies="true" name="" variant="all" version="8.4.0-alpha01">
<issue
id="NewApi"
message="Call requires API level 35 (current min is 34): `new android.nfc.cardemulation.AidGroup`"
errorLine1=" AidGroup aidGroup = new AidGroup(aids, category);"
errorLine2=" ~~~~~~~~~~~~">
<location
file="frameworks/base/nfc/java/android/nfc/cardemulation/CardEmulation.java"
line="377"
column="29"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 35 (current min is 34): `android.nfc.cardemulation.AidGroup#getAids`"
errorLine1=" return (group != null ? group.getAids() : null);"
errorLine2=" ~~~~~~~">
<location
file="frameworks/base/nfc/java/android/nfc/cardemulation/CardEmulation.java"
line="537"
column="43"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 35 (current min is 34): `android.nfc.cardemulation.AidGroup#getAids`"
errorLine1=" return (group != null ? group.getAids() : null);"
errorLine2=" ~~~~~~~">
<location
file="frameworks/base/nfc/java/android/nfc/cardemulation/CardEmulation.java"
line="547"
column="47"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 35 (current min is 34): `android.nfc.cardemulation.ApduServiceInfo#getAids`"
errorLine1=" return (serviceInfo != null ? serviceInfo.getAids() : null);"
errorLine2=" ~~~~~~~">
<location
file="frameworks/base/nfc/java/android/nfc/cardemulation/CardEmulation.java"
line="714"
column="55"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 35 (current min is 34): `android.nfc.cardemulation.ApduServiceInfo#getAids`"
errorLine1=" return (serviceInfo != null ? serviceInfo.getAids() : null);"
errorLine2=" ~~~~~~~">
<location
file="frameworks/base/nfc/java/android/nfc/cardemulation/CardEmulation.java"
line="724"
column="59"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 35 (current min is 34): `android.nfc.cardemulation.ApduServiceInfo#isOnHost`"
errorLine1=" if (!serviceInfo.isOnHost()) {"
errorLine2=" ~~~~~~~~">
<location
file="frameworks/base/nfc/java/android/nfc/cardemulation/CardEmulation.java"
line="755"
column="34"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 35 (current min is 34): `android.nfc.cardemulation.ApduServiceInfo#getOffHostSecureElement`"
errorLine1=" return serviceInfo.getOffHostSecureElement() == null ?"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/nfc/java/android/nfc/cardemulation/CardEmulation.java"
line="756"
column="40"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 35 (current min is 34): `android.nfc.cardemulation.ApduServiceInfo#getOffHostSecureElement`"
errorLine1=' "OffHost" : serviceInfo.getOffHostSecureElement();'
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/nfc/java/android/nfc/cardemulation/CardEmulation.java"
line="757"
column="53"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 35 (current min is 34): `android.nfc.cardemulation.ApduServiceInfo#isOnHost`"
errorLine1=" if (!serviceInfo.isOnHost()) {"
errorLine2=" ~~~~~~~~">
<location
file="frameworks/base/nfc/java/android/nfc/cardemulation/CardEmulation.java"
line="772"
column="38"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 35 (current min is 34): `android.nfc.cardemulation.ApduServiceInfo#getOffHostSecureElement`"
errorLine1=" return serviceInfo.getOffHostSecureElement() == null ?"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/nfc/java/android/nfc/cardemulation/CardEmulation.java"
line="773"
column="44"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 35 (current min is 34): `android.nfc.cardemulation.ApduServiceInfo#getOffHostSecureElement`"
errorLine1=' "Offhost" : serviceInfo.getOffHostSecureElement();'
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/nfc/java/android/nfc/cardemulation/CardEmulation.java"
line="774"
column="57"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 35 (current min is 34): `android.nfc.cardemulation.ApduServiceInfo#getDescription`"
errorLine1=" return (serviceInfo != null ? serviceInfo.getDescription() : null);"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="frameworks/base/nfc/java/android/nfc/cardemulation/CardEmulation.java"
line="798"
column="55"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 35 (current min is 34): `android.nfc.cardemulation.ApduServiceInfo#getDescription`"
errorLine1=" return (serviceInfo != null ? serviceInfo.getDescription() : null);"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="frameworks/base/nfc/java/android/nfc/cardemulation/CardEmulation.java"
line="808"
column="59"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 35 (current min is 34): `android.app.Activity#isResumed`"
errorLine1=" if (!activity.isResumed()) {"
errorLine2=" ~~~~~~~~~">
<location
file="frameworks/base/nfc/java/android/nfc/cardemulation/CardEmulation.java"
line="1032"
column="23"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 35 (current min is 34): `android.app.Activity#isResumed`"
errorLine1=" if (!activity.isResumed()) {"
errorLine2=" ~~~~~~~~~">
<location
file="frameworks/base/nfc/java/android/nfc/cardemulation/CardEmulation.java"
line="1066"
column="23"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 35 (current min is 34): `android.app.Activity#isResumed`"
errorLine1=" resumed = activity.isResumed();"
errorLine2=" ~~~~~~~~~">
<location
file="frameworks/base/nfc/java/android/nfc/NfcActivityManager.java"
line="124"
column="32"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 35 (current min is 34): `android.app.Activity#isResumed`"
errorLine1=" if (!activity.isResumed()) {"
errorLine2=" ~~~~~~~~~">
<location
file="frameworks/base/nfc/java/android/nfc/NfcAdapter.java"
line="2457"
column="23"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 35 (current min is 34): `android.app.Activity#isResumed`"
errorLine1=" if (!activity.isResumed()) {"
errorLine2=" ~~~~~~~~~">
<location
file="frameworks/base/nfc/java/android/nfc/cardemulation/NfcFCardEmulation.java"
line="315"
column="23"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 35 (current min is 34): `android.app.Activity#isResumed`"
errorLine1=" if (!activity.isResumed()) {"
errorLine2=" ~~~~~~~~~">
<location
file="frameworks/base/nfc/java/android/nfc/cardemulation/NfcFCardEmulation.java"
line="351"
column="23"/>
</issue>
<issue
id="FlaggedApi"
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`)"
errorLine1=" mNfcOemExtension = new NfcOemExtension(mContext, this);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/nfc/java/android/nfc/NfcAdapter.java"
line="909"
column="28"/>
</issue>
<issue
id="FlaggedApi"
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`)"
errorLine1=" &amp;&amp; ((pollTechnology &amp; FLAG_SET_DEFAULT_TECH) == FLAG_SET_DEFAULT_TECH"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/nfc/java/android/nfc/NfcAdapter.java"
line="1917"
column="39"/>
</issue>
<issue
id="FlaggedApi"
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`)"
errorLine1=" &amp;&amp; ((pollTechnology &amp; FLAG_SET_DEFAULT_TECH) == FLAG_SET_DEFAULT_TECH"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/nfc/java/android/nfc/NfcAdapter.java"
line="1917"
column="65"/>
</issue>
<issue
id="FlaggedApi"
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`)"
errorLine1=" || (listenTechnology &amp; FLAG_SET_DEFAULT_TECH) == FLAG_SET_DEFAULT_TECH)) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/nfc/java/android/nfc/NfcAdapter.java"
line="1918"
column="40"/>
</issue>
<issue
id="FlaggedApi"
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`)"
errorLine1=" || (listenTechnology &amp; FLAG_SET_DEFAULT_TECH) == FLAG_SET_DEFAULT_TECH)) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/nfc/java/android/nfc/NfcAdapter.java"
line="1918"
column="66"/>
</issue>
<issue
id="FlaggedApi"
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`)"
errorLine1=" executor.execute(() -> callback.onVendorNciResponse(gid, oid, payload));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/nfc/java/android/nfc/NfcVendorNciCallbackListener.java"
line="88"
column="44"/>
</issue>
<issue
id="FlaggedApi"
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`)"
errorLine1=" executor.execute(() -> callback.onVendorNciNotification(gid, oid, payload));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/nfc/java/android/nfc/NfcVendorNciCallbackListener.java"
line="106"
column="44"/>
</issue>
</issues>