[go: nahoru, domu]

blob: bc41c4bce87ed4c62243a9eeb8db68f54ca0f934 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<issues format="5" by="lint 4.2.0-alpha15" client="gradle" variant="debug" version="4.2.0-alpha15">
<issue
id="InlinedApi"
message="Field requires API level 29 (current min is 14): `android.view.textclassifier.ConversationAction#TYPE_VIEW_CALENDAR`"
errorLine1=" android.view.textclassifier.ConversationAction.TYPE_VIEW_CALENDAR;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationAction.java"
line="76"
column="13"/>
</issue>
<issue
id="InlinedApi"
message="Field requires API level 29 (current min is 14): `android.view.textclassifier.ConversationAction#TYPE_VIEW_MAP`"
errorLine1=" android.view.textclassifier.ConversationAction.TYPE_VIEW_MAP;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationAction.java"
line="81"
column="13"/>
</issue>
<issue
id="InlinedApi"
message="Field requires API level 29 (current min is 14): `android.view.textclassifier.ConversationAction#TYPE_TRACK_FLIGHT`"
errorLine1=" android.view.textclassifier.ConversationAction.TYPE_TRACK_FLIGHT;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationAction.java"
line="86"
column="13"/>
</issue>
<issue
id="InlinedApi"
message="Field requires API level 29 (current min is 14): `android.view.textclassifier.ConversationAction#TYPE_OPEN_URL`"
errorLine1=" android.view.textclassifier.ConversationAction.TYPE_OPEN_URL;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationAction.java"
line="91"
column="13"/>
</issue>
<issue
id="InlinedApi"
message="Field requires API level 29 (current min is 14): `android.view.textclassifier.ConversationAction#TYPE_SEND_SMS`"
errorLine1=" android.view.textclassifier.ConversationAction.TYPE_SEND_SMS;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationAction.java"
line="96"
column="13"/>
</issue>
<issue
id="InlinedApi"
message="Field requires API level 29 (current min is 14): `android.view.textclassifier.ConversationAction#TYPE_CALL_PHONE`"
errorLine1=" android.view.textclassifier.ConversationAction.TYPE_CALL_PHONE;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationAction.java"
line="101"
column="13"/>
</issue>
<issue
id="InlinedApi"
message="Field requires API level 29 (current min is 14): `android.view.textclassifier.ConversationAction#TYPE_SEND_EMAIL`"
errorLine1=" android.view.textclassifier.ConversationAction.TYPE_SEND_EMAIL;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationAction.java"
line="106"
column="13"/>
</issue>
<issue
id="InlinedApi"
message="Field requires API level 29 (current min is 14): `android.view.textclassifier.ConversationAction#TYPE_TEXT_REPLY`"
errorLine1=" android.view.textclassifier.ConversationAction.TYPE_TEXT_REPLY;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationAction.java"
line="111"
column="13"/>
</issue>
<issue
id="InlinedApi"
message="Field requires API level 29 (current min is 14): `android.view.textclassifier.ConversationAction#TYPE_CREATE_REMINDER`"
errorLine1=" android.view.textclassifier.ConversationAction.TYPE_CREATE_REMINDER;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationAction.java"
line="116"
column="13"/>
</issue>
<issue
id="InlinedApi"
message="Field requires API level 29 (current min is 14): `android.view.textclassifier.ConversationAction#TYPE_SHARE_LOCATION`"
errorLine1=" android.view.textclassifier.ConversationAction.TYPE_SHARE_LOCATION;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationAction.java"
line="121"
column="13"/>
</issue>
<issue
id="InlinedApi"
message="Field requires API level 28 (current min is 14): `android.view.textclassifier.SelectionEvent#ACTION_OVERTYPE`"
errorLine1=" android.view.textclassifier.SelectionEvent.ACTION_OVERTYPE;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/SelectionEvent.java"
line="67"
column="13"/>
</issue>
<issue
id="InlinedApi"
message="Field requires API level 28 (current min is 14): `android.view.textclassifier.SelectionEvent#ACTION_COPY`"
errorLine1=" public static final int ACTION_COPY = android.view.textclassifier.SelectionEvent.ACTION_COPY;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/SelectionEvent.java"
line="69"
column="43"/>
</issue>
<issue
id="InlinedApi"
message="Field requires API level 28 (current min is 14): `android.view.textclassifier.SelectionEvent#ACTION_PASTE`"
errorLine1=" public static final int ACTION_PASTE = android.view.textclassifier.SelectionEvent.ACTION_PASTE;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/SelectionEvent.java"
line="71"
column="44"/>
</issue>
<issue
id="InlinedApi"
message="Field requires API level 28 (current min is 14): `android.view.textclassifier.SelectionEvent#ACTION_CUT`"
errorLine1=" public static final int ACTION_CUT = android.view.textclassifier.SelectionEvent.ACTION_CUT;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/SelectionEvent.java"
line="73"
column="42"/>
</issue>
<issue
id="InlinedApi"
message="Field requires API level 28 (current min is 14): `android.view.textclassifier.SelectionEvent#ACTION_SHARE`"
errorLine1=" public static final int ACTION_SHARE = android.view.textclassifier.SelectionEvent.ACTION_SHARE;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/SelectionEvent.java"
line="75"
column="44"/>
</issue>
<issue
id="InlinedApi"
message="Field requires API level 28 (current min is 14): `android.view.textclassifier.SelectionEvent#ACTION_SMART_SHARE`"
errorLine1=" android.view.textclassifier.SelectionEvent.ACTION_SMART_SHARE;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/SelectionEvent.java"
line="78"
column="13"/>
</issue>
<issue
id="InlinedApi"
message="Field requires API level 28 (current min is 14): `android.view.textclassifier.SelectionEvent#ACTION_DRAG`"
errorLine1=" public static final int ACTION_DRAG = android.view.textclassifier.SelectionEvent.ACTION_DRAG;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/SelectionEvent.java"
line="80"
column="43"/>
</issue>
<issue
id="InlinedApi"
message="Field requires API level 28 (current min is 14): `android.view.textclassifier.SelectionEvent#ACTION_ABANDON`"
errorLine1=" android.view.textclassifier.SelectionEvent.ACTION_ABANDON;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/SelectionEvent.java"
line="83"
column="13"/>
</issue>
<issue
id="InlinedApi"
message="Field requires API level 28 (current min is 14): `android.view.textclassifier.SelectionEvent#ACTION_OTHER`"
errorLine1=" public static final int ACTION_OTHER = android.view.textclassifier.SelectionEvent.ACTION_OTHER;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/SelectionEvent.java"
line="85"
column="44"/>
</issue>
<issue
id="InlinedApi"
message="Field requires API level 28 (current min is 14): `android.view.textclassifier.SelectionEvent#ACTION_SELECT_ALL`"
errorLine1=" android.view.textclassifier.SelectionEvent.ACTION_SELECT_ALL;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/SelectionEvent.java"
line="90"
column="13"/>
</issue>
<issue
id="InlinedApi"
message="Field requires API level 28 (current min is 14): `android.view.textclassifier.SelectionEvent#ACTION_RESET`"
errorLine1=" public static final int ACTION_RESET = android.view.textclassifier.SelectionEvent.ACTION_RESET;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/SelectionEvent.java"
line="92"
column="44"/>
</issue>
<issue
id="InlinedApi"
message="Field requires API level 28 (current min is 14): `android.view.textclassifier.SelectionEvent#EVENT_SELECTION_STARTED`"
errorLine1=" android.view.textclassifier.SelectionEvent.EVENT_SELECTION_STARTED;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/SelectionEvent.java"
line="128"
column="13"/>
</issue>
<issue
id="InlinedApi"
message="Field requires API level 28 (current min is 14): `android.view.textclassifier.SelectionEvent#EVENT_SELECTION_MODIFIED`"
errorLine1=" android.view.textclassifier.SelectionEvent.EVENT_SELECTION_MODIFIED;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/SelectionEvent.java"
line="131"
column="13"/>
</issue>
<issue
id="InlinedApi"
message="Field requires API level 28 (current min is 14): `android.view.textclassifier.SelectionEvent#EVENT_SMART_SELECTION_SINGLE`"
errorLine1=" android.view.textclassifier.SelectionEvent.EVENT_SMART_SELECTION_SINGLE;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/SelectionEvent.java"
line="134"
column="13"/>
</issue>
<issue
id="InlinedApi"
message="Field requires API level 28 (current min is 14): `android.view.textclassifier.SelectionEvent#EVENT_SMART_SELECTION_MULTI`"
errorLine1=" android.view.textclassifier.SelectionEvent.EVENT_SMART_SELECTION_MULTI;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/SelectionEvent.java"
line="137"
column="13"/>
</issue>
<issue
id="InlinedApi"
message="Field requires API level 28 (current min is 14): `android.view.textclassifier.SelectionEvent#EVENT_AUTO_SELECTION`"
errorLine1=" android.view.textclassifier.SelectionEvent.EVENT_AUTO_SELECTION;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/SelectionEvent.java"
line="140"
column="13"/>
</issue>
<issue
id="InlinedApi"
message="Field requires API level 28 (current min is 14): `android.view.textclassifier.SelectionEvent#INVOCATION_MANUAL`"
errorLine1=" android.view.textclassifier.SelectionEvent.INVOCATION_MANUAL;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/SelectionEvent.java"
line="150"
column="13"/>
</issue>
<issue
id="InlinedApi"
message="Field requires API level 28 (current min is 14): `android.view.textclassifier.SelectionEvent#INVOCATION_LINK`"
errorLine1=" android.view.textclassifier.SelectionEvent.INVOCATION_LINK;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/SelectionEvent.java"
line="153"
column="13"/>
</issue>
<issue
id="InlinedApi"
message="Field requires API level 28 (current min is 14): `android.view.textclassifier.SelectionEvent#INVOCATION_UNKNOWN`"
errorLine1=" android.view.textclassifier.SelectionEvent.INVOCATION_UNKNOWN;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/SelectionEvent.java"
line="156"
column="13"/>
</issue>
<issue
id="UnusedAttribute"
message="Attribute `elevation` is only used in API level 21 and higher (current min is 14)"
errorLine1=" android:elevation=&quot;@dimen/text_edit_floating_toolbar_elevation&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/floating_popup_container.xml"
line="24"
column="5"/>
</issue>
<issue
id="UnusedAttribute"
message="Attribute `importantForAccessibility` is only used in API level 16 and higher (current min is 14)"
errorLine1=" android:importantForAccessibility=&quot;no&quot; />"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/floating_popup_menu_button.xml"
line="42"
column="9"/>
</issue>
<issue
id="UnusedAttribute"
message="Attribute `fontFamily` is only used in API level 16 and higher (current min is 14) Did you mean `app:fontFamily` ?"
errorLine1=" android:fontFamily=&quot;sans-serif-medium&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/floating_popup_menu_button.xml"
line="55"
column="9"/>
</issue>
<issue
id="UnusedAttribute"
message="Attribute `importantForAccessibility` is only used in API level 16 and higher (current min is 14)"
errorLine1=" android:importantForAccessibility=&quot;no&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/floating_popup_menu_button.xml"
line="61"
column="9"/>
</issue>
<issue
id="InflateParams"
message="Avoid passing `null` as the view root (needed to resolve layout parameters on the inflated layout&apos;s root element)"
errorLine1=" .inflate(R.layout.floating_popup_overflow_button, null);"
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1396"
column="71"/>
</issue>
<issue
id="InflateParams"
message="Avoid passing `null` as the view root (needed to resolve layout parameters on the inflated layout&apos;s root element)"
errorLine1=" .inflate(R.layout.floating_popup_menu_button, null);"
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1655"
column="63"/>
</issue>
<issue
id="InflateParams"
message="Avoid passing `null` as the view root (needed to resolve layout parameters on the inflated layout&apos;s root element)"
errorLine1=" .inflate(R.layout.floating_popup_container, null);"
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1700"
column="61"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 26, the call containing class androidx.textclassifier.BundleUtils is not annotated with @RequiresApi(x) where x is at least 26. Either annotate the containing class with at least @RequiresApi(26) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(26)."
errorLine1=" return bundle.deepCopy();"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/BundleUtils.java"
line="46"
column="27"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 29, the call containing class androidx.textclassifier.ConversationAction is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)."
errorLine1=" return new android.view.textclassifier.ConversationAction.Builder(getType())"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationAction.java"
line="223"
column="16"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 29, the call containing class androidx.textclassifier.ConversationAction is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)."
errorLine1=" .setAction("
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationAction.java"
line="224"
column="18"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 29, the call containing class androidx.textclassifier.ConversationAction is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)."
errorLine1=" .setConfidenceScore(getConfidenceScore())"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationAction.java"
line="228"
column="18"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 29, the call containing class androidx.textclassifier.ConversationAction is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)."
errorLine1=" .setTextReply(getTextReply())"
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationAction.java"
line="229"
column="18"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 29, the call containing class androidx.textclassifier.ConversationAction is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)."
errorLine1=" .setExtras(getExtras())"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationAction.java"
line="230"
column="18"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 29, the call containing class androidx.textclassifier.ConversationAction is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)."
errorLine1=" .build();"
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationAction.java"
line="231"
column="18"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 29, the call containing class androidx.textclassifier.ConversationAction is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)."
errorLine1=" return new ConversationAction.Builder(conversationAction.getType())"
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationAction.java"
line="254"
column="66"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 29, the call containing class androidx.textclassifier.ConversationAction is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)."
errorLine1=" conversationAction.getAction() == null"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationAction.java"
line="256"
column="44"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 29, the call containing class androidx.textclassifier.ConversationAction is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)."
errorLine1=" conversationAction.getAction()))"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationAction.java"
line="259"
column="60"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 29, the call containing class androidx.textclassifier.ConversationAction is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)."
errorLine1=" .setConfidenceScore(conversationAction.getConfidenceScore())"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationAction.java"
line="260"
column="56"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 29, the call containing class androidx.textclassifier.ConversationAction is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)."
errorLine1=" .setTextReply(conversationAction.getTextReply())"
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationAction.java"
line="261"
column="50"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 29, the call containing class androidx.textclassifier.ConversationAction is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)."
errorLine1=" .setExtras(conversationAction.getExtras())"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationAction.java"
line="262"
column="47"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 24, the call containing class androidx.textclassifier.ConversationActions is not annotated with @RequiresApi(x) where x is at least 24. Either annotate the containing class with at least @RequiresApi(24) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(24)."
errorLine1=" conversationActions.getConversationActions().stream()"
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationActions.java"
line="115"
column="62"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 29, the call containing class androidx.textclassifier.ConversationActions is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)."
errorLine1=" conversationActions.getConversationActions().stream()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationActions.java"
line="115"
column="37"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 24, the call containing class androidx.textclassifier.ConversationActions is not annotated with @RequiresApi(x) where x is at least 24. Either annotate the containing class with at least @RequiresApi(24) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(24)."
errorLine1=" .map(ConversationAction::fromPlatform)"
errorLine2=" ~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationActions.java"
line="116"
column="26"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 24, the call containing class androidx.textclassifier.ConversationActions is not annotated with @RequiresApi(x) where x is at least 24. Either annotate the containing class with at least @RequiresApi(24) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(24)."
errorLine1=" .collect(Collectors.toList()),"
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationActions.java"
line="117"
column="26"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 24, the call containing class androidx.textclassifier.ConversationActions is not annotated with @RequiresApi(x) where x is at least 24. Either annotate the containing class with at least @RequiresApi(24) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(24)."
errorLine1=" .collect(Collectors.toList()),"
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationActions.java"
line="117"
column="45"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 29, the call containing class androidx.textclassifier.ConversationActions is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)."
errorLine1=" conversationActions.getId());"
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationActions.java"
line="118"
column="37"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 29, the call containing class androidx.textclassifier.ConversationActions is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)."
errorLine1=" return new android.view.textclassifier.ConversationActions("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationActions.java"
line="123"
column="16"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 24, the call containing class androidx.textclassifier.ConversationActions is not annotated with @RequiresApi(x) where x is at least 24. Either annotate the containing class with at least @RequiresApi(24) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(24)."
errorLine1=" getConversationActions().stream()"
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationActions.java"
line="124"
column="46"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 24, the call containing class androidx.textclassifier.ConversationActions is not annotated with @RequiresApi(x) where x is at least 24. Either annotate the containing class with at least @RequiresApi(24) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(24)."
errorLine1=" .map(ConversationAction::toPlatform)"
errorLine2=" ~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationActions.java"
line="125"
column="26"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 24, the call containing class androidx.textclassifier.ConversationActions is not annotated with @RequiresApi(x) where x is at least 24. Either annotate the containing class with at least @RequiresApi(24) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(24)."
errorLine1=" .collect(Collectors.toList()),"
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationActions.java"
line="126"
column="26"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 24, the call containing class androidx.textclassifier.ConversationActions is not annotated with @RequiresApi(x) where x is at least 24. Either annotate the containing class with at least @RequiresApi(24) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(24)."
errorLine1=" .collect(Collectors.toList()),"
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationActions.java"
line="126"
column="45"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 29, the call containing class androidx.textclassifier.ConversationActions.Message is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)."
errorLine1=" return new android.view.textclassifier.ConversationActions.Message.Builder("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationActions.java"
line="243"
column="20"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 29, the call containing class androidx.textclassifier.ConversationActions.Message is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)."
errorLine1=" .setText(getText())"
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationActions.java"
line="245"
column="22"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 29, the call containing class androidx.textclassifier.ConversationActions.Message is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)."
errorLine1=" .setReferenceTime(ConvertUtils.createZonedDateTimeFromUtc(getReferenceTime()))"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationActions.java"
line="246"
column="22"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 29, the call containing class androidx.textclassifier.ConversationActions.Message is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)."
errorLine1=" .setExtras(getExtras())"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationActions.java"
line="247"
column="22"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 29, the call containing class androidx.textclassifier.ConversationActions.Message is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)."
errorLine1=" .build();"
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationActions.java"
line="248"
column="22"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 29, the call containing class androidx.textclassifier.ConversationActions.Message is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)."
errorLine1=" Person.fromAndroidPerson(message.getAuthor()))"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationActions.java"
line="259"
column="54"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 29, the call containing class androidx.textclassifier.ConversationActions.Message is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)."
errorLine1=" .setText(message.getText())"
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationActions.java"
line="260"
column="38"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 29, the call containing class androidx.textclassifier.ConversationActions.Message is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)."
errorLine1=" .setReferenceTime(ConvertUtils.zonedDateTimeToUtcMs(message.getReferenceTime()))"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationActions.java"
line="261"
column="81"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 29, the call containing class androidx.textclassifier.ConversationActions.Message is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)."
errorLine1=" .setExtras(message.getExtras())"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationActions.java"
line="262"
column="40"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 29, the call containing class androidx.textclassifier.ConversationActions.Request is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)."
errorLine1=" new android.view.textclassifier.ConversationActions.Request.Builder("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationActions.java"
line="456"
column="21"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 24, the call containing class androidx.textclassifier.ConversationActions.Request is not annotated with @RequiresApi(x) where x is at least 24. Either annotate the containing class with at least @RequiresApi(24) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(24)."
errorLine1=" getConversation().stream()"
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationActions.java"
line="457"
column="39"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 24, the call containing class androidx.textclassifier.ConversationActions.Request is not annotated with @RequiresApi(x) where x is at least 24. Either annotate the containing class with at least @RequiresApi(24) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(24)."
errorLine1=" .map(msg -> msg.toPlatform())"
errorLine2=" ~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationActions.java"
line="458"
column="30"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 24, the call containing class androidx.textclassifier.ConversationActions.Request is not annotated with @RequiresApi(x) where x is at least 24. Either annotate the containing class with at least @RequiresApi(24) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(24)."
errorLine1=" .collect(Collectors.toList()))"
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationActions.java"
line="459"
column="30"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 24, the call containing class androidx.textclassifier.ConversationActions.Request is not annotated with @RequiresApi(x) where x is at least 24. Either annotate the containing class with at least @RequiresApi(24) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(24)."
errorLine1=" .collect(Collectors.toList()))"
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationActions.java"
line="459"
column="49"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 29, the call containing class androidx.textclassifier.ConversationActions.Request is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)."
errorLine1=" .setHints(getHints())"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationActions.java"
line="460"
column="22"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 29, the call containing class androidx.textclassifier.ConversationActions.Request is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)."
errorLine1=" .setExtras(getExtras())"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationActions.java"
line="461"
column="22"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 29, the call containing class androidx.textclassifier.ConversationActions.Request is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)."
errorLine1=" .setTypeConfig(getTypeConfig().toPlatform());"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationActions.java"
line="462"
column="22"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 29, the call containing class androidx.textclassifier.ConversationActions.Request is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)."
errorLine1=" builder.setMaxSuggestions(getMaxSuggestions());"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationActions.java"
line="467"
column="25"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 29, the call containing class androidx.textclassifier.ConversationActions.Request is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)."
errorLine1=" return builder.build();"
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationActions.java"
line="470"
column="28"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 24, the call containing class androidx.textclassifier.ConversationActions.Request is not annotated with @RequiresApi(x) where x is at least 24. Either annotate the containing class with at least @RequiresApi(24) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(24)."
errorLine1=" request.getConversation().stream()"
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationActions.java"
line="481"
column="47"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 29, the call containing class androidx.textclassifier.ConversationActions.Request is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)."
errorLine1=" request.getConversation().stream()"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationActions.java"
line="481"
column="29"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 24, the call containing class androidx.textclassifier.ConversationActions.Request is not annotated with @RequiresApi(x) where x is at least 24. Either annotate the containing class with at least @RequiresApi(24) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(24)."
errorLine1=" .map(Message::fromPlatform)"
errorLine2=" ~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationActions.java"
line="482"
column="30"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 24, the call containing class androidx.textclassifier.ConversationActions.Request is not annotated with @RequiresApi(x) where x is at least 24. Either annotate the containing class with at least @RequiresApi(24) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(24)."
errorLine1=" .collect(Collectors.toList()))"
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationActions.java"
line="483"
column="30"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 24, the call containing class androidx.textclassifier.ConversationActions.Request is not annotated with @RequiresApi(x) where x is at least 24. Either annotate the containing class with at least @RequiresApi(24) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(24)."
errorLine1=" .collect(Collectors.toList()))"
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationActions.java"
line="483"
column="49"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 29, the call containing class androidx.textclassifier.ConversationActions.Request is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)."
errorLine1=" .setHints(request.getHints())"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationActions.java"
line="484"
column="39"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 29, the call containing class androidx.textclassifier.ConversationActions.Request is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)."
errorLine1=" .setMaxSuggestions(request.getMaxSuggestions())"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationActions.java"
line="485"
column="48"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 29, the call containing class androidx.textclassifier.ConversationActions.Request is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)."
errorLine1=" .setExtras(request.getExtras())"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationActions.java"
line="486"
column="40"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 29, the call containing class androidx.textclassifier.ConversationActions.Request is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)."
errorLine1=" TextClassifier.EntityConfig.fromPlatform(request.getTypeConfig()))"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConversationActions.java"
line="488"
column="78"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 26, the call containing class androidx.textclassifier.ConvertUtils is not annotated with @RequiresApi(x) where x is at least 26. Either annotate the containing class with at least @RequiresApi(26) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(26)."
errorLine1=" return ZonedDateTime.ofInstant(Instant.ofEpochMilli(timeInMs), ZoneOffset.UTC);"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConvertUtils.java"
line="84"
column="30"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 26, the call containing class androidx.textclassifier.ConvertUtils is not annotated with @RequiresApi(x) where x is at least 26. Either annotate the containing class with at least @RequiresApi(26) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(26)."
errorLine1=" return ZonedDateTime.ofInstant(Instant.ofEpochMilli(timeInMs), ZoneOffset.UTC);"
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConvertUtils.java"
line="84"
column="48"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.ConvertUtils is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" final int entityCount = textLink.getEntityCount();"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConvertUtils.java"
line="93"
column="42"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.ConvertUtils is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" String entity = textLink.getEntity(i);"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConvertUtils.java"
line="96"
column="38"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.ConvertUtils is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" floatMap.put(entity, textLink.getConfidenceScore(entity));"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConvertUtils.java"
line="97"
column="43"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 26, the call containing class androidx.textclassifier.ConvertUtils is not annotated with @RequiresApi(x) where x is at least 26. Either annotate the containing class with at least @RequiresApi(26) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(26)."
errorLine1=" return zonedDateTime.toInstant().toEpochMilli();"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConvertUtils.java"
line="122"
column="30"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 26, the call containing class androidx.textclassifier.ConvertUtils is not annotated with @RequiresApi(x) where x is at least 26. Either annotate the containing class with at least @RequiresApi(26) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(26)."
errorLine1=" return zonedDateTime.toInstant().toEpochMilli();"
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/ConvertUtils.java"
line="122"
column="42"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" .getDrawable(R.drawable.ft_avd_tooverflow, mContext.getTheme());"
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="499"
column="22"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 19, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 19. Either annotate the containing class with at least @RequiresApi(19) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(19)."
errorLine1=" mArrow.setAutoMirrored(true);"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="500"
column="20"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" .getDrawable(R.drawable.ft_avd_toarrow, mContext.getTheme());"
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="502"
column="22"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 19, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 19. Either annotate the containing class with at least @RequiresApi(19) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(19)."
errorLine1=" mOverflow.setAutoMirrored(true);"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="503"
column="23"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" .getDrawable(R.drawable.ft_avd_toarrow_animation, mContext.getTheme());"
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="505"
column="22"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 19, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 19. Either annotate the containing class with at least @RequiresApi(19) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(19)."
errorLine1=" mToArrow.setAutoMirrored(true);"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="506"
column="22"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" .getDrawable(R.drawable.ft_avd_tooverflow_animation, mContext.getTheme());"
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="508"
column="22"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 19, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 19. Either annotate the containing class with at least @RequiresApi(19) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(19)."
errorLine1=" mToOverflow.setAutoMirrored(true);"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="509"
column="25"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" final int targetWidth = mOverflowPanelSize.getWidth();"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="807"
column="56"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" final int targetHeight = mOverflowPanelSize.getHeight();"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="808"
column="57"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 16, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 16. Either annotate the containing class with at least @RequiresApi(16) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(16)."
errorLine1=" .alpha(0).withLayer()"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="876"
column="31"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" final int targetWidth = mMainPanelSize.getWidth();"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="884"
column="52"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" final int targetHeight = mMainPanelSize.getHeight();"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="909"
column="53"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 16, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 16. Either annotate the containing class with at least @RequiresApi(16) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(16)."
errorLine1=" .alpha(1).withLayer()"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="951"
column="31"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 16, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 16. Either annotate the containing class with at least @RequiresApi(16) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(16)."
errorLine1=" .alpha(0).withLayer()"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="956"
column="31"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" mOverflowButton.setX(containerSize.getWidth()"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="986"
column="56"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" - mOverflowButtonSize.getWidth()); // align right"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="987"
column="51"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" - containerSize.getWidth() - mMarginHorizontal); // align right"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="991"
column="45"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" mMainPanel.setY(containerSize.getHeight()"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1000"
column="51"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" mOverflowButton.setY(containerSize.getHeight()"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1002"
column="56"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" - mOverflowButtonSize.getHeight()); // align bottom"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1003"
column="51"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" mOverflowPanel.setY(mOverflowButtonSize.getHeight()); // align bottom"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1010"
column="61"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" - containerSize.getWidth() - mMarginHorizontal); // align right"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1033"
column="49"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" mOverflowButton.setX(containerSize.getWidth()"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1035"
column="60"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" - mOverflowButtonSize.getWidth()); // align right"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1036"
column="55"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" mOverflowPanel.setX(containerSize.getWidth()"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1037"
column="59"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" - mOverflowPanelSize.getWidth()); // align right"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1038"
column="54"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" + mOverflowPanelSize.getHeight() - containerSize.getHeight());"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1045"
column="54"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" + mOverflowPanelSize.getHeight() - containerSize.getHeight());"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1045"
column="82"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" mOverflowPanel.setY(containerSize.getHeight()"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1048"
column="59"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" - mOverflowPanelSize.getHeight()); // align bottom"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1049"
column="54"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" mOverflowPanel.setY(mOverflowButtonSize.getHeight()); // align bottom"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1055"
column="65"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" final int maxItemSize = (suggestedHeight - mOverflowButtonSize.getHeight())"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1069"
column="80"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" if (mOverflowPanelSize.getHeight() != newHeight) {"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1072"
column="40"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" mOverflowPanelSize = new Size(mOverflowPanelSize.getWidth(), newHeight);"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1073"
column="42"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" mOverflowPanelSize = new Size(mOverflowPanelSize.getWidth(), newHeight);"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1073"
column="70"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" final int deltaHeight = mOverflowPanelSize.getHeight() - newHeight;"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1079"
column="68"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" width = Math.max(width, mMainPanelSize.getWidth());"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1094"
column="56"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" height = Math.max(height, mMainPanelSize.getHeight());"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1095"
column="58"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" width = Math.max(width, mOverflowPanelSize.getWidth());"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1098"
column="60"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" height = Math.max(height, mOverflowPanelSize.getHeight());"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1099"
column="62"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 17, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 17. Either annotate the containing class with at least @RequiresApi(17) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(17)."
errorLine1=" .getLayoutDirection();"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1126"
column="22"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 17, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 17. Either annotate the containing class with at least @RequiresApi(17) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(17)."
errorLine1=" mMainPanel.setPaddingRelative(0, 0, 0, 0);"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1160"
column="24"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 17, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 17. Either annotate the containing class with at least @RequiresApi(17) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(17)."
errorLine1=" menuItemButton.setPaddingRelative("
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1183"
column="36"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 17, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 17. Either annotate the containing class with at least @RequiresApi(17) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(17)."
errorLine1=" (int) (1.5 * menuItemButton.getPaddingStart()),"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1184"
column="57"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 17, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 17. Either annotate the containing class with at least @RequiresApi(17) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(17)."
errorLine1=" menuItemButton.getPaddingEnd(),"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1186"
column="44"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 17, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 17. Either annotate the containing class with at least @RequiresApi(17) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(17)."
errorLine1=" menuItemButton.setPaddingRelative("
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1193"
column="36"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 17, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 17. Either annotate the containing class with at least @RequiresApi(17) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(17)."
errorLine1=" menuItemButton.getPaddingStart(),"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1194"
column="44"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 17, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 17. Either annotate the containing class with at least @RequiresApi(17) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(17)."
errorLine1=" (int) (1.5 * menuItemButton.getPaddingEnd()),"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1196"
column="57"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" menuItemButtonWidth &lt;= availableWidth - mOverflowButtonSize.getWidth();"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1206"
column="85"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 17, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 17. Either annotate the containing class with at least @RequiresApi(17) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(17)."
errorLine1=" mMainPanel.setPaddingRelative(0, 0, mOverflowButtonSize.getWidth(), 0);"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1232"
column="28"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" mMainPanel.setPaddingRelative(0, 0, mOverflowButtonSize.getWidth(), 0);"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1232"
column="73"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" mOverflowPanel.setY(mOverflowButtonSize.getHeight());"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1252"
column="57"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" int width = Math.max(getOverflowWidth(), mOverflowButtonSize.getWidth());"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1255"
column="74"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" mOverflowPanelSize = new Size(width, height);"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1257"
column="34"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" mMainPanel.setY(mContentContainer.getHeight() - mMainPanelSize.getHeight());"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1305"
column="80"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" mOverflowPanel.setY(mContentContainer.getHeight() - mOverflowPanelSize.getHeight());"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1307"
column="88"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" + mOverflowButtonSize.getHeight()"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1336"
column="43"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" int w = mMainPanelSize.getWidth() - mOverflowPanelSize.getWidth();"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1362"
column="40"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" int w = mMainPanelSize.getWidth() - mOverflowPanelSize.getWidth();"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1362"
column="72"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" int h = mOverflowPanelSize.getHeight() - mMainPanelSize.getHeight();"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1363"
column="44"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" int h = mOverflowPanelSize.getHeight() - mMainPanelSize.getHeight();"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1363"
column="73"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class null is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" mMainPanelSize.getWidth(),"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1378"
column="48"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class null is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" getItem(position), mOverflowPanelSize.getWidth(), convertView);"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1427"
column="75"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" return new Size(view.getMeasuredWidth(), view.getMeasuredHeight());"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1493"
column="20"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" setSize(view, size.getWidth(), size.getHeight());"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1507"
column="32"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" setSize(view, size.getWidth(), size.getHeight());"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1507"
column="49"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 16, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup.OverflowPanel is not annotated with @RequiresApi(x) where x is at least 16. Either annotate the containing class with at least @RequiresApi(16) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(16)."
errorLine1=" setScrollBarDefaultDelayBeforeFade(ViewConfiguration.getScrollDefaultDelay() * 3);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1547"
column="17"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 23, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup.OverflowPanel is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)."
errorLine1=" setScrollIndicators(View.SCROLL_INDICATOR_TOP | View.SCROLL_INDICATOR_BOTTOM);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1548"
column="17"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup.OverflowPanel is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" int height = mPopup.mOverflowPanelSize.getHeight()"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1555"
column="56"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup.OverflowPanel is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" - mPopup.mOverflowButtonSize.getHeight();"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1556"
column="54"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 18, the call containing class androidx.textclassifier.LegacyTextClassifier.MatchMakerImpl is not annotated with @RequiresApi(x) where x is at least 18. Either annotate the containing class with at least @RequiresApi(18) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(18)."
errorLine1=" ? ((UserManager) userManager).getUserRestrictions() : new Bundle();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/LegacyTextClassifier.java"
line="208"
column="51"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.PlatformTextClassifierWrapper is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" mPlatformTextClassifier.suggestSelection("
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/PlatformTextClassifierWrapper.java"
line="70"
column="45"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.PlatformTextClassifierWrapper is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" mPlatformTextClassifier.classifyText("
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/PlatformTextClassifierWrapper.java"
line="91"
column="45"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.PlatformTextClassifierWrapper is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" return TextLinks.fromPlatform(mPlatformTextClassifier.generateLinks("
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/PlatformTextClassifierWrapper.java"
line="112"
column="67"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 29, the call containing class androidx.textclassifier.PlatformTextClassifierWrapper is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)."
errorLine1=" mPlatformTextClassifier.suggestConversationActions("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/PlatformTextClassifierWrapper.java"
line="126"
column="45"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.SelectionEvent is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" return android.view.textclassifier.SelectionEvent.createSelectionStartedEvent("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/SelectionEvent.java"
line="745"
column="63"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.SelectionEvent is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" return android.view.textclassifier.SelectionEvent.createSelectionModifiedEvent("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/SelectionEvent.java"
line="751"
column="63"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.SelectionEvent is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" return android.view.textclassifier.SelectionEvent.createSelectionModifiedEvent("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/SelectionEvent.java"
line="769"
column="63"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.SelectionEvent is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" return android.view.textclassifier.SelectionEvent.createSelectionModifiedEvent("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/SelectionEvent.java"
line="776"
column="59"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.SelectionEvent is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" return android.view.textclassifier.SelectionEvent.createSelectionActionEvent("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/SelectionEvent.java"
line="791"
column="63"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.SelectionEvent is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" return android.view.textclassifier.SelectionEvent.createSelectionActionEvent("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/SelectionEvent.java"
line="799"
column="59"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 26, the call containing class androidx.textclassifier.TextClassification is not annotated with @RequiresApi(x) where x is at least 26. Either annotate the containing class with at least @RequiresApi(26) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(26)."
errorLine1=" .setText(textClassification.getText());"
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassification.java"
line="227"
column="45"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.TextClassification is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" builder.setId(textClassification.getId());"
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassification.java"
line="230"
column="46"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 26, the call containing class androidx.textclassifier.TextClassification is not annotated with @RequiresApi(x) where x is at least 26. Either annotate the containing class with at least @RequiresApi(26) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(26)."
errorLine1=" final int entityCount = textClassification.getEntityCount();"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassification.java"
line="233"
column="52"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 26, the call containing class androidx.textclassifier.TextClassification is not annotated with @RequiresApi(x) where x is at least 26. Either annotate the containing class with at least @RequiresApi(26) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(26)."
errorLine1=" String entity = textClassification.getEntity(i);"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassification.java"
line="235"
column="48"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 26, the call containing class androidx.textclassifier.TextClassification is not annotated with @RequiresApi(x) where x is at least 26. Either annotate the containing class with at least @RequiresApi(26) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(26)."
errorLine1=" builder.setEntityType(entity, textClassification.getConfidenceScore(entity));"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassification.java"
line="236"
column="62"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.TextClassification is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" List&lt;RemoteAction> actions = textClassification.getActions();"
errorLine2=" ~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassification.java"
line="240"
column="61"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 26, the call containing class androidx.textclassifier.TextClassification is not annotated with @RequiresApi(x) where x is at least 26. Either annotate the containing class with at least @RequiresApi(26) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(26)."
errorLine1=" if (textClassification.getIntent() != null"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassification.java"
line="245"
column="36"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 26, the call containing class androidx.textclassifier.TextClassification is not annotated with @RequiresApi(x) where x is at least 26. Either annotate the containing class with at least @RequiresApi(26) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(26)."
errorLine1=" &amp;&amp; !TextUtils.isEmpty(textClassification.getLabel())) {"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassification.java"
line="246"
column="62"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 26, the call containing class androidx.textclassifier.TextClassification is not annotated with @RequiresApi(x) where x is at least 26. Either annotate the containing class with at least @RequiresApi(26) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(26)."
errorLine1=" textClassification.getText().hashCode(),"
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassification.java"
line="266"
column="44"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 26, the call containing class androidx.textclassifier.TextClassification is not annotated with @RequiresApi(x) where x is at least 26. Either annotate the containing class with at least @RequiresApi(26) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(26)."
errorLine1=" textClassification.getIntent(),"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassification.java"
line="267"
column="44"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 26, the call containing class androidx.textclassifier.TextClassification is not annotated with @RequiresApi(x) where x is at least 26. Either annotate the containing class with at least @RequiresApi(26) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(26)."
errorLine1=" Drawable drawable = textClassification.getIcon();"
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassification.java"
line="270"
column="48"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 26, the call containing class androidx.textclassifier.TextClassification is not annotated with @RequiresApi(x) where x is at least 26. Either annotate the containing class with at least @RequiresApi(26) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(26)."
errorLine1=" CharSequence label = textClassification.getLabel();"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassification.java"
line="271"
column="49"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 26, the call containing class androidx.textclassifier.TextClassification is not annotated with @RequiresApi(x) where x is at least 26. Either annotate the containing class with at least @RequiresApi(26) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(26)."
errorLine1=" icon = ConvertUtils.createIconFromDrawable(textClassification.getIcon());"
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassification.java"
line="277"
column="75"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 26, the call containing class androidx.textclassifier.TextClassification is not annotated with @RequiresApi(x) where x is at least 26. Either annotate the containing class with at least @RequiresApi(26) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(26)."
errorLine1=" new android.view.textclassifier.TextClassification.Builder()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassification.java"
line="292"
column="17"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 26, the call containing class androidx.textclassifier.TextClassification is not annotated with @RequiresApi(x) where x is at least 26. Either annotate the containing class with at least @RequiresApi(26) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(26)."
errorLine1=" .setText(getText() == null ? null : getText().toString());"
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassification.java"
line="293"
column="26"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.TextClassification is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" builder.setId(getId());"
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassification.java"
line="296"
column="21"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 26, the call containing class androidx.textclassifier.TextClassification is not annotated with @RequiresApi(x) where x is at least 26. Either annotate the containing class with at least @RequiresApi(26) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(26)."
errorLine1=" builder.setEntityType(entity, getConfidenceScore(entity));"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassification.java"
line="302"
column="21"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.TextClassification is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" builder.addAction(action.toRemoteAction());"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassification.java"
line="308"
column="25"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 26, the call containing class androidx.textclassifier.TextClassification is not annotated with @RequiresApi(x) where x is at least 26. Either annotate the containing class with at least @RequiresApi(26) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(26)."
errorLine1=" builder.setLabel(firstAction.getTitle().toString())"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassification.java"
line="314"
column="21"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 26, the call containing class androidx.textclassifier.TextClassification is not annotated with @RequiresApi(x) where x is at least 26. Either annotate the containing class with at least @RequiresApi(26) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(26)."
errorLine1=" .setIcon(firstAction.getIcon().loadDrawable(context))"
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassification.java"
line="315"
column="22"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 26, the call containing class androidx.textclassifier.TextClassification is not annotated with @RequiresApi(x) where x is at least 26. Either annotate the containing class with at least @RequiresApi(26) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(26)."
errorLine1=" .setOnClickListener(new View.OnClickListener() {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassification.java"
line="316"
column="22"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 26, the call containing class androidx.textclassifier.TextClassification is not annotated with @RequiresApi(x) where x is at least 26. Either annotate the containing class with at least @RequiresApi(26) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(26)."
errorLine1=" return builder.build();"
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassification.java"
line="328"
column="24"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.TextClassification.Request is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" request.getText(), request.getStartIndex(), request.getEndIndex())"
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassification.java"
line="513"
column="29"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.TextClassification.Request is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" request.getText(), request.getStartIndex(), request.getEndIndex())"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassification.java"
line="513"
column="48"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.TextClassification.Request is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" request.getText(), request.getStartIndex(), request.getEndIndex())"
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassification.java"
line="513"
column="73"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.TextClassification.Request is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" .setReferenceTime(ConvertUtils.zonedDateTimeToUtcMs(request.getReferenceTime()))"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassification.java"
line="514"
column="81"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.TextClassification.Request is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" .setDefaultLocales(ConvertUtils.wrapLocalList(request.getDefaultLocales()))"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassification.java"
line="515"
column="75"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.TextClassification.Request is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" return new android.view.textclassifier.TextClassification.Request.Builder("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassification.java"
line="522"
column="20"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.TextClassification.Request is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" .setDefaultLocales(ConvertUtils.unwrapLocalListCompat(getDefaultLocales()))"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassification.java"
line="524"
column="22"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.TextClassification.Request is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" .setReferenceTime(ConvertUtils.createZonedDateTimeFromUtc(mReferenceTime))"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassification.java"
line="525"
column="22"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.TextClassification.Request is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" .build();"
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassification.java"
line="526"
column="22"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.TextClassificationContext is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" return new android.view.textclassifier.TextClassificationContext.Builder("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassificationContext.java"
line="163"
column="16"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.TextClassificationContext is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" mPackageName, mWidgetType).setWidgetVersion(mWidgetVersion).build();"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassificationContext.java"
line="164"
column="44"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.TextClassificationContext is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" mPackageName, mWidgetType).setWidgetVersion(mWidgetVersion).build();"
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassificationContext.java"
line="164"
column="77"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 26, the call containing class androidx.textclassifier.TextClassificationManager is not annotated with @RequiresApi(x) where x is at least 26. Either annotate the containing class with at least @RequiresApi(26) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(26)."
errorLine1=" textClassificationManager.setTextClassifier(platformTextClassifier);"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassificationManager.java"
line="128"
column="35"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.TextClassifier.EntityConfig is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" return android.view.textclassifier.TextClassifier.EntityConfig.create("
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassifier.java"
line="393"
column="80"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.TextClassifier.EntityConfig is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" .createWithExplicitEntityList(new ArrayList&lt;>(entitiesSet));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassifier.java"
line="402"
column="22"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 29, the call containing class androidx.textclassifier.TextClassifier.EntityConfig is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)."
errorLine1=" return new android.view.textclassifier.TextClassifier.EntityConfig.Builder()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassifier.java"
line="407"
column="20"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 29, the call containing class androidx.textclassifier.TextClassifier.EntityConfig is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)."
errorLine1=" .setIncludedTypes(mIncludedTypes)"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassifier.java"
line="408"
column="22"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 29, the call containing class androidx.textclassifier.TextClassifier.EntityConfig is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)."
errorLine1=" .setExcludedTypes(mExcludedTypes)"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassifier.java"
line="409"
column="22"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 29, the call containing class androidx.textclassifier.TextClassifier.EntityConfig is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)."
errorLine1=" .setHints(mHints)"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassifier.java"
line="410"
column="22"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 29, the call containing class androidx.textclassifier.TextClassifier.EntityConfig is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)."
errorLine1=" .includeTypesFromTextClassifier(mIncludeTypesFromTextClassifier)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassifier.java"
line="411"
column="22"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 29, the call containing class androidx.textclassifier.TextClassifier.EntityConfig is not annotated with @RequiresApi(x) where x is at least 29. Either annotate the containing class with at least @RequiresApi(29) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(29)."
errorLine1=" .build();"
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassifier.java"
line="412"
column="22"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.TextLinks.Request is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" return new android.view.textclassifier.TextLinks.Request.Builder(getText())"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextLinks.java"
line="522"
column="20"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.TextLinks.Request is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" .setDefaultLocales(unwrapLocalListCompat(getDefaultLocales()))"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextLinks.java"
line="523"
column="22"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.TextLinks.Request is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" .setEntityConfig(toPlatformEntityConfig(getEntityConfig()))"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextLinks.java"
line="524"
column="22"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.TextLinks.Request is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" .build();"
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextLinks.java"
line="525"
column="22"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.TextLinks.Request is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" return new TextLinks.Request.Builder(request.getText())"
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextLinks.java"
line="534"
column="58"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.TextLinks.Request is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" .setDefaultLocales(ConvertUtils.wrapLocalList(request.getDefaultLocales()))"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextLinks.java"
line="535"
column="75"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.TextLinks.Request is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" TextClassifier.EntityConfig.fromPlatform(request.getEntityConfig()))"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextLinks.java"
line="537"
column="78"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 24, the call containing class androidx.textclassifier.TextLinks.DefaultTextLinkSpan is not annotated with @RequiresApi(x) where x is at least 24. Either annotate the containing class with at least @RequiresApi(24) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(24)."
errorLine1=" return ConvertUtils.wrapLocalList(textView.getTextLocales());"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextLinks.java"
line="755"
column="60"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 17, the call containing class androidx.textclassifier.TextLinks.DefaultTextLinkSpan is not annotated with @RequiresApi(x) where x is at least 17. Either annotate the containing class with at least @RequiresApi(17) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(17)."
errorLine1=" return LocaleListCompat.create(textView.getTextLocale());"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextLinks.java"
line="757"
column="57"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.TextLinks is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" Collection&lt;android.view.textclassifier.TextLinks.TextLink> links = textLinks.getLinks();"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextLinks.java"
line="845"
column="86"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.TextLinks is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" builder.addLink(link.getStart(), link.getEnd(),"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextLinks.java"
line="848"
column="34"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.TextLinks is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" builder.addLink(link.getStart(), link.getEnd(),"
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextLinks.java"
line="848"
column="51"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.TextLinks is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" new android.view.textclassifier.TextLinks.Builder((String) getText());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextLinks.java"
line="860"
column="17"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.TextLinks is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" builder.addLink("
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextLinks.java"
line="862"
column="21"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.TextLinks is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" return builder.build();"
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextLinks.java"
line="867"
column="24"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 26, the call containing class androidx.textclassifier.TextSelection is not annotated with @RequiresApi(x) where x is at least 26. Either annotate the containing class with at least @RequiresApi(26) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(26)."
errorLine1=" textSelection.getSelectionStartIndex(), textSelection.getSelectionEndIndex());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextSelection.java"
line="183"
column="31"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 26, the call containing class androidx.textclassifier.TextSelection is not annotated with @RequiresApi(x) where x is at least 26. Either annotate the containing class with at least @RequiresApi(26) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(26)."
errorLine1=" textSelection.getSelectionStartIndex(), textSelection.getSelectionEndIndex());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextSelection.java"
line="183"
column="71"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.TextSelection is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" builder.setId(textSelection.getId());"
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextSelection.java"
line="186"
column="41"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 26, the call containing class androidx.textclassifier.TextSelection is not annotated with @RequiresApi(x) where x is at least 26. Either annotate the containing class with at least @RequiresApi(26) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(26)."
errorLine1=" final int entityCount = textSelection.getEntityCount();"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextSelection.java"
line="189"
column="47"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 26, the call containing class androidx.textclassifier.TextSelection is not annotated with @RequiresApi(x) where x is at least 26. Either annotate the containing class with at least @RequiresApi(26) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(26)."
errorLine1=" String entity = textSelection.getEntity(i);"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextSelection.java"
line="191"
column="43"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 26, the call containing class androidx.textclassifier.TextSelection is not annotated with @RequiresApi(x) where x is at least 26. Either annotate the containing class with at least @RequiresApi(26) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(26)."
errorLine1=" builder.setEntityType(entity, textSelection.getConfidenceScore(entity));"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextSelection.java"
line="192"
column="57"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 26, the call containing class androidx.textclassifier.TextSelection is not annotated with @RequiresApi(x) where x is at least 26. Either annotate the containing class with at least @RequiresApi(26) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(26)."
errorLine1=" new android.view.textclassifier.TextSelection.Builder("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextSelection.java"
line="207"
column="17"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.TextSelection is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" builder.setId(getId());"
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextSelection.java"
line="211"
column="21"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 26, the call containing class androidx.textclassifier.TextSelection is not annotated with @RequiresApi(x) where x is at least 26. Either annotate the containing class with at least @RequiresApi(26) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(26)."
errorLine1=" builder.setEntityType(entity, getConfidenceScore(entity));"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextSelection.java"
line="217"
column="21"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 26, the call containing class androidx.textclassifier.TextSelection is not annotated with @RequiresApi(x) where x is at least 26. Either annotate the containing class with at least @RequiresApi(26) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(26)."
errorLine1=" return builder.build();"
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextSelection.java"
line="219"
column="24"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.TextSelection.Request is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" request.getText(), request.getStartIndex(), request.getEndIndex())"
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextSelection.java"
line="375"
column="29"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.TextSelection.Request is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" request.getText(), request.getStartIndex(), request.getEndIndex())"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextSelection.java"
line="375"
column="48"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.TextSelection.Request is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" request.getText(), request.getStartIndex(), request.getEndIndex())"
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextSelection.java"
line="375"
column="73"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.TextSelection.Request is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" .setDefaultLocales(ConvertUtils.wrapLocalList(request.getDefaultLocales()))"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextSelection.java"
line="376"
column="75"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.TextSelection.Request is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" return new android.view.textclassifier.TextSelection.Request.Builder("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextSelection.java"
line="387"
column="20"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.TextSelection.Request is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" .setDefaultLocales(ConvertUtils.unwrapLocalListCompat(mDefaultLocales))"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextSelection.java"
line="389"
column="22"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 28, the call containing class androidx.textclassifier.TextSelection.Request is not annotated with @RequiresApi(x) where x is at least 28. Either annotate the containing class with at least @RequiresApi(28) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(28)."
errorLine1=" .build();"
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextSelection.java"
line="390"
column="22"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 26, the call containing class androidx.textclassifier.widget.ToolbarController is not annotated with @RequiresApi(x) where x is at least 26. Either annotate the containing class with at least @RequiresApi(26) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(26)."
errorLine1=" item.setContentDescription(action.getContentDescription());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/ToolbarController.java"
line="278"
column="22"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 23, the call containing class null is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)."
errorLine1=" textView.getContext().getSystemService(ClipboardManager.class);"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/ToolbarController.java"
line="323"
column="47"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 23, the call containing class androidx.textclassifier.widget.ToolbarController.ActionModeCallback is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)."
errorLine1=" if (actionMode.getType() == ActionMode.TYPE_FLOATING) {"
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/ToolbarController.java"
line="471"
column="28"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 23, the call containing class androidx.textclassifier.widget.ToolbarController.ActionModeCallback is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)."
errorLine1=" ((ActionMode.Callback2) mOriginalCallback).onGetContentRect(mode, view, outRect);"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/ToolbarController.java"
line="517"
column="60"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 18, the call containing class androidx.textclassifier.widget.ToolbarController.OnToolbarDismissListener is not annotated with @RequiresApi(x) where x is at least 18. Either annotate the containing class with at least @RequiresApi(18) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(18)."
errorLine1=" mObserver.addOnWindowFocusChangeListener(mTextViewListener);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/ToolbarController.java"
line="546"
column="23"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 18, the call containing class androidx.textclassifier.widget.ToolbarController.OnToolbarDismissListener is not annotated with @RequiresApi(x) where x is at least 18. Either annotate the containing class with at least @RequiresApi(18) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(18)."
errorLine1=" mObserver.addOnWindowAttachListener(mTextViewListener);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/ToolbarController.java"
line="548"
column="23"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 18, the call containing class androidx.textclassifier.widget.ToolbarController.OnToolbarDismissListener is not annotated with @RequiresApi(x) where x is at least 18. Either annotate the containing class with at least @RequiresApi(18) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(18)."
errorLine1=" mObserver.removeOnWindowFocusChangeListener(mTextViewListener);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/ToolbarController.java"
line="553"
column="23"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 18, the call containing class androidx.textclassifier.widget.ToolbarController.OnToolbarDismissListener is not annotated with @RequiresApi(x) where x is at least 18. Either annotate the containing class with at least @RequiresApi(18) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(18)."
errorLine1=" mObserver.removeOnWindowAttachListener(mTextViewListener);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/ToolbarController.java"
line="555"
column="23"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 23, the call containing class androidx.textclassifier.widget.ToolbarController.OnToolbarDismissListener is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)."
errorLine1=" mTextView.setCustomInsertionActionModeCallback(mInsertionCallback);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/ToolbarController.java"
line="560"
column="23"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 23, the call containing class androidx.textclassifier.widget.ToolbarController.OnToolbarDismissListener is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)."
errorLine1=" if (mInsertionCallback == mTextView.getCustomInsertionActionModeCallback()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/ToolbarController.java"
line="568"
column="49"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 23, the call containing class androidx.textclassifier.widget.ToolbarController.OnToolbarDismissListener is not annotated with @RequiresApi(x) where x is at least 23. Either annotate the containing class with at least @RequiresApi(23) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(23)."
errorLine1=" mTextView.setCustomInsertionActionModeCallback("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/ToolbarController.java"
line="569"
column="27"/>
</issue>
<issue
id="SwitchIntDef"
message="Switch statement on an `int` with known associated constant missing case `EVENT_AUTO_SELECTION`, `EVENT_SELECTION_MODIFIED`, `EVENT_SELECTION_STARTED`, `EVENT_SMART_SELECTION_MULTI`, `EVENT_SMART_SELECTION_SINGLE`"
errorLine1=" switch (eventType) {"
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/textclassifier/SelectionEvent.java"
line="426"
column="9"/>
</issue>
<issue
id="SwitchIntDef"
message="Switch statement on an `int` with known associated constant missing case `ACTION_RESET`, `ACTION_SELECT_ALL`, `EVENT_AUTO_SELECTION`, `EVENT_SELECTION_MODIFIED`, `EVENT_SELECTION_STARTED`, `EVENT_SMART_SELECTION_MULTI`, `EVENT_SMART_SELECTION_SINGLE`"
errorLine1=" switch (eventType) {"
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/textclassifier/SelectionEvent.java"
line="663"
column="9"/>
</issue>
<issue
id="Recycle"
message="This animation should be started with `#start()`"
errorLine1=" ObjectAnimator.ofFloat(view, View.ALPHA, 0, 1).setDuration(150));"
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1737"
column="32"/>
</issue>
<issue
id="Recycle"
message="This animation should be started with `#start()`"
errorLine1=" ObjectAnimator.ofFloat(view, View.ALPHA, 1, 0).setDuration(100));"
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java"
line="1752"
column="32"/>
</issue>
<issue
id="Overdraw"
message="Possible overdraw: Root element paints background `?attr/floatingToolbarPopupBackgroundDrawable` with a theme that also paints a background (inferred theme is `@android:style/Theme.Holo`)"
errorLine1=" android:background=&quot;?attr/floatingToolbarPopupBackgroundDrawable&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/floating_popup_container.xml"
line="22"
column="5"/>
</issue>
<issue
id="Overdraw"
message="Possible overdraw: Root element paints background `?attr/selectableItemBackground` with a theme that also paints a background (inferred theme is `@android:style/Theme.Holo`)"
errorLine1=" android:background=&quot;?attr/selectableItemBackground&quot;>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/floating_popup_menu_button.xml"
line="28"
column="5"/>
</issue>
<issue
id="Overdraw"
message="Possible overdraw: Root element paints background `?attr/actionBarItemBackground` with a theme that also paints a background (inferred theme is `@android:style/Theme.Holo`)"
errorLine1=" android:background=&quot;?attr/actionBarItemBackground&quot; />"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/floating_popup_overflow_button.xml"
line="27"
column="5"/>
</issue>
<issue
id="ContentDescription"
message="Missing `contentDescription` attribute on image"
errorLine1="&lt;ImageButton xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;"
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/res/layout/floating_popup_overflow_button.xml"
line="18"
column="2"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
errorLine1=" public float getConfidenceScore(@EntityType String entity) {"
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassification.java"
line="140"
column="49"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
errorLine1=" public Builder setText(@Nullable CharSequence text) {"
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassification.java"
line="357"
column="16"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
errorLine1=" public Builder setEntityType("
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassification.java"
line="371"
column="16"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
errorLine1=" public static Request createFromBundle(@NonNull Bundle bundle) {"
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassification.java"
line="658"
column="23"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
errorLine1=" public Builder setWidgetVersion(@Nullable String widgetVersion) {"
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassificationContext.java"
line="113"
column="16"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
errorLine1=" public static TextClassificationManager of(@NonNull Context context) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassificationManager.java"
line="61"
column="19"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
errorLine1=" public Collection&lt;String> resolveTypes("
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassifier.java"
line="300"
column="16"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
errorLine1=" public Builder setIncludedTypes(@Nullable Collection&lt;String> includedTypes) {"
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassifier.java"
line="442"
column="20"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
errorLine1=" public Builder setExcludedTypes(@Nullable Collection&lt;String> excludedTypes) {"
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassifier.java"
line="450"
column="20"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
errorLine1=" public Builder setHints(@Nullable Collection&lt;String> hints) {"
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassifier.java"
line="462"
column="20"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
errorLine1=" public Builder includeTypesFromTextClassifier(boolean includeTypesFromTextClassifier) {"
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextClassifier.java"
line="471"
column="20"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
errorLine1=" @EntityType String entityType) {"
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextLinks.java"
line="286"
column="29"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
errorLine1=" TextLinkSpan createSpan(@NonNull TextLinkSpanData textLinkSpanData);"
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextLinks.java"
line="548"
column="9"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
errorLine1=" public float getConfidenceScore(@EntityType String entity) {"
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/textclassifier/TextSelection.java"
line="107"
column="49"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
errorLine1=" public static ToolbarController getInstance(TextView textView) {"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/ToolbarController.java"
line="89"
column="19"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
errorLine1=" public static ToolbarController getInstance(TextView textView) {"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/ToolbarController.java"
line="89"
column="49"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
errorLine1=" public void show(List&lt;RemoteActionCompat> actions, int start, int end) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/textclassifier/widget/ToolbarController.java"
line="131"
column="22"/>
</issue>
</issues>