| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="5" by="lint 4.2.0-alpha06" client="gradle" variant="debug" version="4.2.0-alpha06"> |
| |
| <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="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=" mArrow.setAutoMirrored(true);" |
| errorLine2=" ~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java" |
| line="506" |
| 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="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=" mOverflow.setAutoMirrored(true);" |
| errorLine2=" ~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java" |
| line="509" |
| 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="511" |
| 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="512" |
| 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="514" |
| 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="515" |
| 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="813" |
| 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="814" |
| 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="882" |
| 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="890" |
| 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="915" |
| 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="957" |
| 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="962" |
| 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="992" |
| 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="993" |
| 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="997" |
| 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="1006" |
| 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="1008" |
| 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="1009" |
| 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="1016" |
| 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="1039" |
| 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="1041" |
| 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="1042" |
| 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="1043" |
| 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="1044" |
| 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="1051" |
| 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="1051" |
| 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="1054" |
| 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="1055" |
| 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="1061" |
| 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="1075" |
| 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="1078" |
| 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="1079" |
| 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="1079" |
| 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="1085" |
| 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="1100" |
| 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="1101" |
| 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="1104" |
| 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="1105" |
| 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="1132" |
| 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="1166" |
| 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="1189" |
| 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="1190" |
| 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="1192" |
| 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="1199" |
| 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="1200" |
| 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="1202" |
| 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 <= availableWidth - mOverflowButtonSize.getWidth();" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/textclassifier/widget/FloatingToolbar.java" |
| line="1212" |
| 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="1238" |
| 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="1238" |
| 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="1258" |
| 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="1261" |
| 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="1263" |
| 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="1311" |
| 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="1313" |
| 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="1342" |
| 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="1368" |
| 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="1368" |
| 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="1369" |
| 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="1369" |
| 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="1384" |
| 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="1433" |
| 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="1499" |
| 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="1513" |
| 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="1513" |
| 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="1553" |
| 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="1554" |
| 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="1561" |
| 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="1562" |
| 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="749" |
| 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="755" |
| 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="773" |
| 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="780" |
| 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="795" |
| 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="803" |
| 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="236" |
| 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="239" |
| 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="242" |
| 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="244" |
| 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="245" |
| 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<RemoteAction> actions = textClassification.getActions();" |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/textclassifier/TextClassification.java" |
| line="249" |
| 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="254" |
| 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=" && !TextUtils.isEmpty(textClassification.getLabel())) {" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/textclassifier/TextClassification.java" |
| line="255" |
| 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="275" |
| 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="276" |
| 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="279" |
| 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="280" |
| 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="286" |
| 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="306" |
| 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="307" |
| 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="310" |
| 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="316" |
| 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="322" |
| 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="328" |
| 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="329" |
| 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="330" |
| 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="342" |
| 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="531" |
| 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="531" |
| 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="531" |
| 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="532" |
| 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="533" |
| 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="544" |
| 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="546" |
| 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="547" |
| 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="548" |
| 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<>(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<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="277" |
| 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="321" |
| 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="468" |
| 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="514" |
| 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="543" |
| 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="545" |
| 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="550" |
| 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="552" |
| 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="557" |
| 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="565" |
| 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="566" |
| column="27"/> |
| </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="145" |
| 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="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 Builder setEntityType(" |
| errorLine2=" ~~~~~~~"> |
| <location |
| file="src/main/java/androidx/textclassifier/TextClassification.java" |
| line="385" |
| 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="680" |
| 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<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<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<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<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<RemoteActionCompat> actions, int start, int end) {" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/textclassifier/widget/ToolbarController.java" |
| line="130" |
| column="22"/> |
| </issue> |
| |
| </issues> |