diff options
| author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2021-06-24 04:44:19 +0000 |
|---|---|---|
| committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2021-06-24 04:44:19 +0000 |
| commit | 79ad428917c482a753a42e99748086d9aba4e712 (patch) | |
| tree | a57e740a7028a918b197b7c330d4e20fd80cf308 | |
| parent | a565b969b186261409d2892238b5bf2578c7ea85 (diff) | |
| parent | 4b74270a7b1a0303cd9cedd188aed72d60ecbcac (diff) | |
| download | platform_external_libtextclassifier-sdk-release.tar.gz platform_external_libtextclassifier-sdk-release.tar.bz2 platform_external_libtextclassifier-sdk-release.zip | |
Snap for 7487883 from 4b74270a7b1a0303cd9cedd188aed72d60ecbcac to sdk-releasesdk-release
Change-Id: I66ea31dcaded0fc6af3bf6f000369368760cf7c4
| -rw-r--r-- | java/lint-baseline.xml | 15 | ||||
| -rw-r--r-- | notification/lint-baseline.xml | 37 |
2 files changed, 52 insertions, 0 deletions
diff --git a/java/lint-baseline.xml b/java/lint-baseline.xml new file mode 100644 index 0000000..6f91923 --- /dev/null +++ b/java/lint-baseline.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<issues format="5" by="lint 4.1.0" client="cli" variant="all" version="4.1.0"> + + <issue + id="NewApi" + message="Call requires API level R (current min is 29): `android.view.textclassifier.TextClassificationSessionId#getValue`" + errorLine1=" return TextClassificationSessionId.unflattenFromString(sessionId.getValue());" + errorLine2=" ~~~~~~~~"> + <location + file="external/libtextclassifier/java/src/com/android/textclassifier/common/statsd/TextClassificationSessionIdConverter.java" + line="36" + column="70"/> + </issue> + +</issues> diff --git a/notification/lint-baseline.xml b/notification/lint-baseline.xml new file mode 100644 index 0000000..1f2ee2a --- /dev/null +++ b/notification/lint-baseline.xml @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="UTF-8"?> +<issues format="5" by="lint 4.1.0" client="cli" variant="all" version="4.1.0"> + + <issue + id="NewApi" + message="Call requires API level R (current min is 29): `android.app.Notification#getContextualActions`" + errorLine1=" boolean hasAppGeneratedContextualActions = !notification.getContextualActions().isEmpty();" + errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> + <location + file="external/libtextclassifier/notification/src/com/android/textclassifier/notification/SmartSuggestionsHelper.java" + line="248" + column="62"/> + </issue> + + <issue + id="NewApi" + message="Call requires API level R (current min is 29): `android.app.Notification#findRemoteInputActionPair`" + errorLine1=" notification.findRemoteInputActionPair(/* requiresFreeform */ true);" + errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> + <location + file="external/libtextclassifier/notification/src/com/android/textclassifier/notification/SmartSuggestionsHelper.java" + line="251" + column="22"/> + </issue> + + <issue + id="NewApi" + message="Call requires API level R (current min is 29): `android.app.Notification.MessagingStyle.Message#getMessagesFromBundleArray`" + errorLine1=" Message.getMessagesFromBundleArray(" + errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> + <location + file="external/libtextclassifier/notification/src/com/android/textclassifier/notification/SmartSuggestionsHelper.java" + line="434" + column="17"/> + </issue> + +</issues> |
