Merge "Update Dackka staging script" into androidx-main
diff --git a/activity/activity/lint-baseline.xml b/activity/activity/lint-baseline.xml
index 7819beb..420b07e 100644
--- a/activity/activity/lint-baseline.xml
+++ b/activity/activity/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta04" client="gradle" variant="debug" version="4.2.0-beta04">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="BanTargetApiAnnotation"
@@ -57,8 +57,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.activity.result.contract.ActivityResultContracts.GetMultipleContents 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.activity.result.contract.ActivityResultContracts.GetMultipleContents is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" ClipData clipData = intent.getClipData();"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -68,13 +68,13 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" decor.cancelPendingInputEvents();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/activity/ComponentActivity.java"
- line="232"
+ line="236"
column="35"/>
</issue>
diff --git a/activity/integration-tests/testapp/build.gradle b/activity/integration-tests/testapp/build.gradle
index f4ac3a6..fdb5dec 100644
--- a/activity/integration-tests/testapp/build.gradle
+++ b/activity/integration-tests/testapp/build.gradle
@@ -32,7 +32,7 @@
dependencies {
implementation(project(":activity:activity-ktx"))
- implementation(project(":lifecycle:lifecycle-runtime-ktx"))
+ implementation(projectOrArtifact(":lifecycle:lifecycle-runtime-ktx"))
androidTestImplementation(KOTLIN_STDLIB)
androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
androidTestImplementation(ANDROIDX_TEST_CORE)
diff --git a/activity/integration-tests/testapp/lint-baseline.xml b/activity/integration-tests/testapp/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/activity/integration-tests/testapp/lint-baseline.xml
+++ b/activity/integration-tests/testapp/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/ads/ads-identifier-benchmark/lint-baseline.xml b/ads/ads-identifier-benchmark/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/ads/ads-identifier-benchmark/lint-baseline.xml
+++ b/ads/ads-identifier-benchmark/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/ads/ads-identifier-common/lint-baseline.xml b/ads/ads-identifier-common/lint-baseline.xml
index 6b37260..46a8e35 100644
--- a/ads/ads-identifier-common/lint-baseline.xml
+++ b/ads/ads-identifier-common/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="PrivateConstructorForUtilityClass"
diff --git a/ads/ads-identifier-provider/integration-tests/testapp/lint-baseline.xml b/ads/ads-identifier-provider/integration-tests/testapp/lint-baseline.xml
index 07c5eaf..5830381 100644
--- a/ads/ads-identifier-provider/integration-tests/testapp/lint-baseline.xml
+++ b/ads/ads-identifier-provider/integration-tests/testapp/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="UnknownNullness"
diff --git a/ads/ads-identifier-provider/lint-baseline.xml b/ads/ads-identifier-provider/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/ads/ads-identifier-provider/lint-baseline.xml
+++ b/ads/ads-identifier-provider/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/ads/ads-identifier-testing/lint-baseline.xml b/ads/ads-identifier-testing/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/ads/ads-identifier-testing/lint-baseline.xml
+++ b/ads/ads-identifier-testing/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/ads/ads-identifier/integration-tests/testapp/lint-baseline.xml b/ads/ads-identifier/integration-tests/testapp/lint-baseline.xml
index dd2755a..09c1c25 100644
--- a/ads/ads-identifier/integration-tests/testapp/lint-baseline.xml
+++ b/ads/ads-identifier/integration-tests/testapp/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="RestrictedApi"
diff --git a/ads/ads-identifier/lint-baseline.xml b/ads/ads-identifier/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/ads/ads-identifier/lint-baseline.xml
+++ b/ads/ads-identifier/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/appcompat/appcompat-benchmark/lint-baseline.xml b/appcompat/appcompat-benchmark/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/appcompat/appcompat-benchmark/lint-baseline.xml
+++ b/appcompat/appcompat-benchmark/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/appcompat/appcompat-lint/lint-baseline.xml b/appcompat/appcompat-lint/lint-baseline.xml
index 297ae16..8794ae8 100644
--- a/appcompat/appcompat-lint/lint-baseline.xml
+++ b/appcompat/appcompat-lint/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
</issues>
diff --git a/appcompat/appcompat-resources/lint-baseline.xml b/appcompat/appcompat-resources/lint-baseline.xml
index f350c2b..8dbe82f 100644
--- a/appcompat/appcompat-resources/lint-baseline.xml
+++ b/appcompat/appcompat-resources/lint-baseline.xml
@@ -1,16 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
-
- <issue
- id="BanSynchronizedMethods"
- message="Use of synchronized methods is not recommended"
- errorLine1=" /**"
- errorLine2=" ^">
- <location
- file="src/main/java/androidx/appcompat/graphics/drawable/DrawableContainer.java"
- line="1128"
- column="9"/>
- </issue>
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="BanSynchronizedMethods"
@@ -19,7 +8,7 @@
errorLine2=" ^">
<location
file="src/main/java/androidx/appcompat/widget/ResourceManagerInternal.java"
- line="89"
+ line="92"
column="5"/>
</issue>
@@ -30,7 +19,7 @@
errorLine2=" ^">
<location
file="src/main/java/androidx/appcompat/widget/ResourceManagerInternal.java"
- line="127"
+ line="130"
column="5"/>
</issue>
@@ -41,7 +30,7 @@
errorLine2=" ^">
<location
file="src/main/java/androidx/appcompat/widget/ResourceManagerInternal.java"
- line="131"
+ line="134"
column="5"/>
</issue>
@@ -52,7 +41,7 @@
errorLine2=" ^">
<location
file="src/main/java/androidx/appcompat/widget/ResourceManagerInternal.java"
- line="135"
+ line="138"
column="5"/>
</issue>
@@ -63,7 +52,7 @@
errorLine2=" ^">
<location
file="src/main/java/androidx/appcompat/widget/ResourceManagerInternal.java"
- line="158"
+ line="161"
column="5"/>
</issue>
@@ -74,7 +63,7 @@
errorLine2=" ^">
<location
file="src/main/java/androidx/appcompat/widget/ResourceManagerInternal.java"
- line="313"
+ line="316"
column="5"/>
</issue>
@@ -85,7 +74,7 @@
errorLine2=" ^">
<location
file="src/main/java/androidx/appcompat/widget/ResourceManagerInternal.java"
- line="334"
+ line="337"
column="5"/>
</issue>
@@ -96,7 +85,7 @@
errorLine2=" ^">
<location
file="src/main/java/androidx/appcompat/widget/ResourceManagerInternal.java"
- line="349"
+ line="352"
column="5"/>
</issue>
@@ -107,7 +96,7 @@
errorLine2=" ^">
<location
file="src/main/java/androidx/appcompat/widget/ResourceManagerInternal.java"
- line="377"
+ line="380"
column="5"/>
</issue>
@@ -118,7 +107,7 @@
errorLine2=" ^">
<location
file="src/main/java/androidx/appcompat/widget/ResourceManagerInternal.java"
- line="467"
+ line="470"
column="5"/>
</issue>
@@ -134,8 +123,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.appcompat.graphics.drawable.AnimatedStateListDrawableCompat.AnimationDrawableTransition 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.appcompat.graphics.drawable.AnimatedStateListDrawableCompat.AnimationDrawableTransition is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" anim.setAutoCancel(true);"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -145,8 +134,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.appcompat.graphics.drawable.AnimatedStateListDrawableCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.appcompat.graphics.drawable.AnimatedStateListDrawableCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" state.mChangingConfigurations |= a.getChangingConfigurations();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -156,8 +145,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.appcompat.graphics.drawable.AnimatedStateListDrawableCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.appcompat.graphics.drawable.AnimatedStateListDrawableCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" dr = Drawable.createFromXmlInner(resources, parser, attrs, theme);"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
@@ -167,8 +156,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.appcompat.graphics.drawable.AnimatedStateListDrawableCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.appcompat.graphics.drawable.AnimatedStateListDrawableCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" dr = Drawable.createFromXmlInner(resources, parser, attrs, theme);"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
@@ -178,8 +167,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.appcompat.content.res.AppCompatResources 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.appcompat.content.res.AppCompatResources is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return context.getColorStateList(resId);"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -189,140 +178,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.appcompat.graphics.drawable.DrawableContainer 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=" mCurrDrawable.getOutline(outline);"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/appcompat/graphics/drawable/DrawableContainer.java"
- line="132"
- column="27"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.appcompat.graphics.drawable.DrawableContainer 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=" d.setLayoutDirection(getLayoutDirection());"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/appcompat/graphics/drawable/DrawableContainer.java"
- line="518"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.appcompat.graphics.drawable.DrawableContainer 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=" d.setLayoutDirection(getLayoutDirection());"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/appcompat/graphics/drawable/DrawableContainer.java"
- line="518"
- column="38"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.appcompat.graphics.drawable.DrawableContainer 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=" d.setAutoMirrored(mDrawableContainerState.mAutoMirrored);"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/appcompat/graphics/drawable/DrawableContainer.java"
- line="521"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.appcompat.graphics.drawable.DrawableContainer 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=" d.setHotspotBounds(hotspotBounds.left, hotspotBounds.top,"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/appcompat/graphics/drawable/DrawableContainer.java"
- line="525"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.appcompat.graphics.drawable.DrawableContainer.DrawableContainerState 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=" child.setLayoutDirection(mLayoutDirection);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/appcompat/graphics/drawable/DrawableContainer.java"
- line="813"
- column="23"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.appcompat.graphics.drawable.DrawableContainer.DrawableContainerState 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=" childChanged = drawables[i].setLayoutDirection(layoutDirection);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/appcompat/graphics/drawable/DrawableContainer.java"
- line="859"
- column="53"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.appcompat.graphics.drawable.DrawableContainer.DrawableContainerState 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 (drawables[i] != null && drawables[i].canApplyTheme()) {"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/appcompat/graphics/drawable/DrawableContainer.java"
- line="898"
- column="62"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.appcompat.graphics.drawable.DrawableContainer.DrawableContainerState 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=" drawables[i].applyTheme(theme);"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/appcompat/graphics/drawable/DrawableContainer.java"
- line="899"
- column="38"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.appcompat.graphics.drawable.DrawableContainer.DrawableContainerState 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=" updateDensity(theme.getResources());"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/appcompat/graphics/drawable/DrawableContainer.java"
- line="904"
- column="37"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.appcompat.graphics.drawable.DrawableContainer.DrawableContainerState 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 (d.canApplyTheme()) {"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/appcompat/graphics/drawable/DrawableContainer.java"
- line="916"
- column="27"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.appcompat.graphics.drawable.DrawableContainer.DrawableContainerState 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 (future != null && future.canApplyTheme()) {"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/appcompat/graphics/drawable/DrawableContainer.java"
- line="921"
- column="50"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.appcompat.widget.DrawableUtils 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.appcompat.widget.DrawableUtils is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" final android.graphics.Insets insets = drawable.getOpticalInsets();"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -332,19 +189,19 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.appcompat.widget.ResourceManagerInternal.DrawableDelegate 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.appcompat.widget.ResourceManagerInternal.DrawableDelegate is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" drawable.inflate(context.getResources(), parser, attrs, theme);"
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/ResourceManagerInternal.java"
- line="562"
+ line="565"
column="34"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.appcompat.widget.ResourcesWrapper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.appcompat.widget.ResourcesWrapper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return mResources.getDrawable(id, theme);"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -354,8 +211,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 15, the call containing class androidx.appcompat.widget.ResourcesWrapper is not annotated with @RequiresApi(x) where x is at least 15. Either annotate the containing class with at least @RequiresApi(15) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(15)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 15; however, the containing class androidx.appcompat.widget.ResourcesWrapper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return mResources.getDrawableForDensity(id, density);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -365,8 +222,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.appcompat.widget.ResourcesWrapper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.appcompat.widget.ResourcesWrapper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return mResources.getDrawableForDensity(id, density, theme);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -376,8 +233,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 15, the call containing class androidx.appcompat.widget.ResourcesWrapper is not annotated with @RequiresApi(x) where x is at least 15. Either annotate the containing class with at least @RequiresApi(15) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(15)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 15; however, the containing class androidx.appcompat.widget.ResourcesWrapper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mResources.getValueForDensity(id, density, outValue, resolveRefs);"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
@@ -387,8 +244,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.appcompat.graphics.drawable.StateListDrawable 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.appcompat.graphics.drawable.StateListDrawable is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" state.mChangingConfigurations |= a.getChangingConfigurations();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -398,8 +255,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.appcompat.graphics.drawable.StateListDrawable 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.appcompat.graphics.drawable.StateListDrawable is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" dr = Drawable.createFromXmlInner(r, parser, attrs, theme);"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
@@ -727,7 +584,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/ResourceManagerInternal.java"
- line="92"
+ line="95"
column="32"/>
</issue>
@@ -738,7 +595,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/ResourceManagerInternal.java"
- line="127"
+ line="130"
column="39"/>
</issue>
@@ -749,7 +606,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/ResourceManagerInternal.java"
- line="131"
+ line="134"
column="25"/>
</issue>
@@ -760,7 +617,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/ResourceManagerInternal.java"
- line="467"
+ line="470"
column="32"/>
</issue>
@@ -771,7 +628,7 @@
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/ResourceManagerInternal.java"
- line="468"
+ line="471"
column="24"/>
</issue>
diff --git a/appcompat/appcompat/lint-baseline.xml b/appcompat/appcompat/lint-baseline.xml
index a40150a..7b43ab1 100644
--- a/appcompat/appcompat/lint-baseline.xml
+++ b/appcompat/appcompat/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="BanSynchronizedMethods"
@@ -173,7 +173,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/app/AppCompatViewInflater.java"
- line="409"
+ line="441"
column="17"/>
</issue>
@@ -255,8 +255,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.appcompat.widget.ActionBarBackgroundDrawable 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.appcompat.widget.ActionBarBackgroundDrawable is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mContainer.mSplitBackground.getOutline(outline);"
errorLine2=" ~~~~~~~~~~">
<location
@@ -266,8 +266,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.appcompat.widget.ActionBarBackgroundDrawable 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.appcompat.widget.ActionBarBackgroundDrawable is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mContainer.mBackground.getOutline(outline);"
errorLine2=" ~~~~~~~~~~">
<location
@@ -277,8 +277,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.appcompat.widget.ActionBarContainer 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.appcompat.widget.ActionBarContainer is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" invalidateOutline();"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -288,8 +288,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.appcompat.widget.ActionBarContainer 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.appcompat.widget.ActionBarContainer is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" invalidateOutline();"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -299,8 +299,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.appcompat.widget.ActionBarContainer 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.appcompat.widget.ActionBarContainer is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" invalidateOutline();"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -310,8 +310,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.appcompat.app.ActionBarDrawerToggle.FrameworkActionBarDelegate 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.appcompat.app.ActionBarDrawerToggle.FrameworkActionBarDelegate is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" actionBar.setHomeAsUpIndicator(themeImage);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
@@ -321,8 +321,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.appcompat.app.ActionBarDrawerToggle.FrameworkActionBarDelegate 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.appcompat.app.ActionBarDrawerToggle.FrameworkActionBarDelegate is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" actionBar.setHomeActionContentDescription(contentDescRes);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -332,8 +332,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.appcompat.app.ActionBarDrawerToggle.FrameworkActionBarDelegate 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.appcompat.app.ActionBarDrawerToggle.FrameworkActionBarDelegate is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" actionBar.setHomeActionContentDescription(contentDescRes);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -343,30 +343,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.appcompat.app.AppCompatDelegateImpl 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=" .getSystemService(UiModeManager.class);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/appcompat/app/AppCompatDelegateImpl.java"
- line="2426"
- column="30"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.appcompat.app.AppCompatDelegateImpl.AutoBatteryNightModeManager 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 mPowerManager.isPowerSaveMode() ? MODE_NIGHT_YES : MODE_NIGHT_NO;"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/appcompat/app/AppCompatDelegateImpl.java"
- line="3281"
- column="38"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.appcompat.widget.AppCompatSpinner 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.appcompat.widget.AppCompatSpinner is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mPopup.show(getTextDirection(), getTextAlignment());"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -376,8 +354,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.appcompat.widget.AppCompatSpinner 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.appcompat.widget.AppCompatSpinner is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mPopup.show(getTextDirection(), getTextAlignment());"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -387,8 +365,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" vto.removeOnGlobalLayoutListener(this);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -398,8 +376,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.appcompat.widget.AppCompatSpinner.DropDownAdapter 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.appcompat.widget.AppCompatSpinner.DropDownAdapter is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (themedAdapter.getDropDownViewTheme() != dropDownTheme) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
@@ -409,8 +387,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.appcompat.widget.AppCompatSpinner.DropDownAdapter 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.appcompat.widget.AppCompatSpinner.DropDownAdapter is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" themedAdapter.setDropDownViewTheme(dropDownTheme);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
@@ -420,8 +398,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.appcompat.widget.AppCompatSpinner.DialogPopup 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.appcompat.widget.AppCompatSpinner.DialogPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" listView.setTextDirection(textDirection);"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -431,8 +409,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.appcompat.widget.AppCompatSpinner.DialogPopup 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.appcompat.widget.AppCompatSpinner.DialogPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" listView.setTextAlignment(textAlignment);"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -442,8 +420,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.appcompat.widget.AppCompatSpinner.DropdownPopup 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.appcompat.widget.AppCompatSpinner.DropdownPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" listView.setTextDirection(textDirection);"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -453,8 +431,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.appcompat.widget.AppCompatSpinner.DropdownPopup 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.appcompat.widget.AppCompatSpinner.DropdownPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" listView.setTextAlignment(textAlignment);"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -464,8 +442,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.appcompat.widget.AppCompatTextClassifierHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.appcompat.widget.AppCompatTextClassifierHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mTextView.getContext().getSystemService(TextClassificationManager.class);"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -475,8 +453,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.appcompat.widget.AppCompatTextClassifierHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.appcompat.widget.AppCompatTextClassifierHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return tcm.getTextClassifier();"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -486,8 +464,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.appcompat.widget.AppCompatTextHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.appcompat.widget.AppCompatTextHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mView.setFontVariationSettings(fontVariation);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -497,8 +475,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.appcompat.widget.AppCompatTextHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.appcompat.widget.AppCompatTextHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mView.setTextLocales(LocaleList.forLanguageTags(localeListString));"
errorLine2=" ~~~~~~~~~~~~~~">
<location
@@ -508,8 +486,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.appcompat.widget.AppCompatTextHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.appcompat.widget.AppCompatTextHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mView.setTextLocales(LocaleList.forLanguageTags(localeListString));"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
@@ -519,8 +497,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.appcompat.widget.AppCompatTextHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.appcompat.widget.AppCompatTextHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mView.setTextLocale(Locale.forLanguageTag(firstLanTag));"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -530,8 +508,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.appcompat.widget.AppCompatTextHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.appcompat.widget.AppCompatTextHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mView.setTextLocale(Locale.forLanguageTag(firstLanTag));"
errorLine2=" ~~~~~~~~~~~~~~">
<location
@@ -541,8 +519,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.appcompat.widget.AppCompatTextHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.appcompat.widget.AppCompatTextHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (mView.getAutoSizeStepGranularity() != AppCompatTextViewAutoSizeHelper"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -552,8 +530,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.appcompat.widget.AppCompatTextHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.appcompat.widget.AppCompatTextHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mView.setAutoSizeTextTypeUniformWithConfiguration("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -563,8 +541,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.appcompat.widget.AppCompatTextHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.appcompat.widget.AppCompatTextHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mView.setAutoSizeTextTypeUniformWithPresetSizes("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -574,8 +552,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" typeface = Typeface.create(typeface, fontWeight,"
errorLine2=" ~~~~~~">
<location
@@ -585,8 +563,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.appcompat.widget.AppCompatTextHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.appcompat.widget.AppCompatTextHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mFontTypeface = Typeface.create("
errorLine2=" ~~~~~~">
<location
@@ -596,8 +574,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.appcompat.widget.AppCompatTextHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.appcompat.widget.AppCompatTextHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mFontTypeface = Typeface.create("
errorLine2=" ~~~~~~">
<location
@@ -607,74 +585,74 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.appcompat.widget.AppCompatTextHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.appcompat.widget.AppCompatTextHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mView.setFontVariationSettings(fontVariation);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/AppCompatTextHelper.java"
- line="495"
+ line="505"
column="23"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.appcompat.widget.AppCompatTextHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.appcompat.widget.AppCompatTextHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" final Drawable[] compoundDrawables = mView.getCompoundDrawablesRelative();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/AppCompatTextHelper.java"
- line="523"
+ line="533"
column="60"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.appcompat.widget.AppCompatTextHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.appcompat.widget.AppCompatTextHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" final Drawable[] existingRel = mView.getCompoundDrawablesRelative();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/AppCompatTextHelper.java"
- line="663"
+ line="673"
column="50"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.appcompat.widget.AppCompatTextHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.appcompat.widget.AppCompatTextHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mView.setCompoundDrawablesRelativeWithIntrinsicBounds("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/AppCompatTextHelper.java"
- line="664"
+ line="674"
column="19"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.appcompat.widget.AppCompatTextHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.appcompat.widget.AppCompatTextHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" final Drawable[] existingRel = mView.getCompoundDrawablesRelative();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/AppCompatTextHelper.java"
- line="674"
+ line="684"
column="54"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.appcompat.widget.AppCompatTextHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.appcompat.widget.AppCompatTextHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mView.setCompoundDrawablesRelativeWithIntrinsicBounds("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/AppCompatTextHelper.java"
- line="676"
+ line="686"
column="27"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.appcompat.widget.AppCompatTextViewAutoSizeHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.appcompat.widget.AppCompatTextViewAutoSizeHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" isInLayout = mTextView.isInLayout();"
errorLine2=" ~~~~~~~~~~">
<location
@@ -684,8 +662,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.appcompat.widget.AppCompatTextViewAutoSizeHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.appcompat.widget.AppCompatTextViewAutoSizeHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" final int maxLines = Build.VERSION.SDK_INT >= 16 ? mTextView.getMaxLines() : -1;"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -695,8 +673,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.appcompat.widget.AppCompatTextViewAutoSizeHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.appcompat.widget.AppCompatTextViewAutoSizeHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" final StaticLayout.Builder layoutBuilder = StaticLayout.Builder.obtain("
errorLine2=" ~~~~~~">
<location
@@ -706,8 +684,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.appcompat.widget.AppCompatTextViewAutoSizeHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.appcompat.widget.AppCompatTextViewAutoSizeHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" layoutBuilder.setAlignment(alignment)"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -717,8 +695,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.appcompat.widget.AppCompatTextViewAutoSizeHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.appcompat.widget.AppCompatTextViewAutoSizeHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setLineSpacing("
errorLine2=" ~~~~~~~~~~~~~~">
<location
@@ -728,8 +706,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.appcompat.widget.AppCompatTextViewAutoSizeHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.appcompat.widget.AppCompatTextViewAutoSizeHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mTextView.getLineSpacingExtra(),"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
@@ -739,8 +717,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.appcompat.widget.AppCompatTextViewAutoSizeHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.appcompat.widget.AppCompatTextViewAutoSizeHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mTextView.getLineSpacingMultiplier())"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -750,8 +728,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.appcompat.widget.AppCompatTextViewAutoSizeHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.appcompat.widget.AppCompatTextViewAutoSizeHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setIncludePad(mTextView.getIncludeFontPadding())"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -761,8 +739,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.appcompat.widget.AppCompatTextViewAutoSizeHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.appcompat.widget.AppCompatTextViewAutoSizeHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setIncludePad(mTextView.getIncludeFontPadding())"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -772,8 +750,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.appcompat.widget.AppCompatTextViewAutoSizeHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.appcompat.widget.AppCompatTextViewAutoSizeHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setBreakStrategy(mTextView.getBreakStrategy())"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -783,8 +761,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.appcompat.widget.AppCompatTextViewAutoSizeHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.appcompat.widget.AppCompatTextViewAutoSizeHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setBreakStrategy(mTextView.getBreakStrategy())"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -794,8 +772,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.appcompat.widget.AppCompatTextViewAutoSizeHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.appcompat.widget.AppCompatTextViewAutoSizeHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setHyphenationFrequency(mTextView.getHyphenationFrequency())"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -805,8 +783,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.appcompat.widget.AppCompatTextViewAutoSizeHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.appcompat.widget.AppCompatTextViewAutoSizeHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setHyphenationFrequency(mTextView.getHyphenationFrequency())"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -816,8 +794,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.appcompat.widget.AppCompatTextViewAutoSizeHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.appcompat.widget.AppCompatTextViewAutoSizeHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setMaxLines(maxLines == -1 ? Integer.MAX_VALUE : maxLines);"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -827,8 +805,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.appcompat.widget.AppCompatTextViewAutoSizeHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.appcompat.widget.AppCompatTextViewAutoSizeHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return layoutBuilder.build();"
errorLine2=" ~~~~~">
<location
@@ -838,8 +816,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.appcompat.widget.AppCompatTextViewAutoSizeHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.appcompat.widget.AppCompatTextViewAutoSizeHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" final float lineSpacingMultiplier = mTextView.getLineSpacingMultiplier();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -849,8 +827,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.appcompat.widget.AppCompatTextViewAutoSizeHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.appcompat.widget.AppCompatTextViewAutoSizeHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" final float lineSpacingAdd = mTextView.getLineSpacingExtra();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
@@ -860,8 +838,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.appcompat.widget.AppCompatTextViewAutoSizeHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.appcompat.widget.AppCompatTextViewAutoSizeHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" final boolean includePad = mTextView.getIncludeFontPadding();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -871,8 +849,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.appcompat.view.ContextThemeWrapper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.appcompat.view.ContextThemeWrapper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" final Context resContext = createConfigurationContext(mOverrideConfiguration);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -882,30 +860,30 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.appcompat.widget.DropDownListView 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.appcompat.widget.DropDownListView is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" drawableHotspotChanged(x, y);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/DropDownListView.java"
- line="648"
+ line="650"
column="13"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.appcompat.widget.DropDownListView 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.appcompat.widget.DropDownListView is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" child.drawableHotspotChanged(childX, childY);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/DropDownListView.java"
- line="671"
+ line="673"
column="19"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.appcompat.widget.ListPopupWindow 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.appcompat.widget.ListPopupWindow is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mPopup.setEpicenterBounds(mEpicenterBounds);"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
@@ -915,8 +893,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.appcompat.widget.ListPopupWindow 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.appcompat.widget.ListPopupWindow is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mPopup.setIsClippedToScreen(clip);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
@@ -926,8 +904,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.appcompat.widget.ListPopupWindow 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.appcompat.widget.ListPopupWindow is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return mPopup.getMaxAvailableHeight(anchor, yOffset, ignoreBottomDecorations);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -937,19 +915,19 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.appcompat.view.menu.MenuPopupHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.appcompat.view.menu.MenuPopupHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" display.getRealSize(displaySize);"
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/view/menu/MenuPopupHelper.java"
- line="231"
+ line="236"
column="21"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.appcompat.widget.MenuPopupWindow 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.appcompat.widget.MenuPopupWindow is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mPopup.setEnterTransition((Transition) enterTransition);"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
@@ -959,8 +937,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.appcompat.widget.MenuPopupWindow 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.appcompat.widget.MenuPopupWindow is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mPopup.setExitTransition((Transition) exitTransition);"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -970,8 +948,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.appcompat.widget.MenuPopupWindow 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.appcompat.widget.MenuPopupWindow is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mPopup.setTouchModal(touchModal);"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -981,8 +959,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.appcompat.widget.MenuPopupWindow.MenuDropDownListView 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.appcompat.widget.MenuPopupWindow.MenuDropDownListView is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" && ViewCompat.LAYOUT_DIRECTION_RTL == config.getLayoutDirection()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
@@ -992,8 +970,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.appcompat.app.ResourcesFlusher 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.appcompat.app.ResourcesFlusher is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" unthemedEntries.clear();"
errorLine2=" ~~~~~">
<location
@@ -1003,8 +981,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.appcompat.widget.SearchView 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.appcompat.widget.SearchView is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mSearchSrcTextView.refreshAutoCompleteResults();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -1014,8 +992,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.appcompat.widget.SearchView.SearchAutoComplete 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.appcompat.widget.SearchView.SearchAutoComplete is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" setInputMethodMode(INPUT_METHOD_NEEDED);"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
@@ -1025,8 +1003,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.appcompat.widget.SwitchCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.appcompat.widget.SwitchCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mPositionAnimator.setAutoCancel(true);"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -1036,8 +1014,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.appcompat.widget.TintTypedArray 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.appcompat.widget.TintTypedArray is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return mWrapped.getType(index);"
errorLine2=" ~~~~~~~">
<location
@@ -1047,8 +1025,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.appcompat.widget.TintTypedArray 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.appcompat.widget.TintTypedArray is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return mWrapped.getChangingConfigurations();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -1058,8 +1036,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.appcompat.widget.TooltipCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.appcompat.widget.TooltipCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" view.setTooltipText(tooltipText);"
errorLine2=" ~~~~~~~~~~~~~~">
<location
@@ -1069,8 +1047,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.appcompat.view.WindowCallbackWrapper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.appcompat.view.WindowCallbackWrapper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return mWrapped.onSearchRequested(searchEvent);"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -1080,8 +1058,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.appcompat.view.WindowCallbackWrapper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.appcompat.view.WindowCallbackWrapper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return mWrapped.onWindowStartingActionMode(callback, type);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -1091,8 +1069,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.appcompat.view.WindowCallbackWrapper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.appcompat.view.WindowCallbackWrapper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mWrapped.onProvideKeyboardShortcuts(data, menu, deviceId);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -1102,8 +1080,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.appcompat.view.WindowCallbackWrapper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.appcompat.view.WindowCallbackWrapper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mWrapped.onPointerCaptureChanged(hasCapture);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -3229,7 +3207,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/ActionMenuView.java"
- line="122"
+ line="123"
column="30"/>
</issue>
@@ -3240,7 +3218,7 @@
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/ActionMenuView.java"
- line="128"
+ line="129"
column="40"/>
</issue>
@@ -3251,7 +3229,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/ActionMenuView.java"
- line="141"
+ line="142"
column="44"/>
</issue>
@@ -3262,7 +3240,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/ActionMenuView.java"
- line="580"
+ line="581"
column="15"/>
</issue>
@@ -3273,7 +3251,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/ActionMenuView.java"
- line="588"
+ line="589"
column="12"/>
</issue>
@@ -3284,7 +3262,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/ActionMenuView.java"
- line="588"
+ line="589"
column="46"/>
</issue>
@@ -3295,7 +3273,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/ActionMenuView.java"
- line="593"
+ line="594"
column="15"/>
</issue>
@@ -3306,7 +3284,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/ActionMenuView.java"
- line="593"
+ line="594"
column="49"/>
</issue>
@@ -3317,7 +3295,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/ActionMenuView.java"
- line="607"
+ line="608"
column="41"/>
</issue>
@@ -3328,7 +3306,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/ActionMenuView.java"
- line="613"
+ line="614"
column="12"/>
</issue>
@@ -3339,7 +3317,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/ActionMenuView.java"
- line="622"
+ line="623"
column="31"/>
</issue>
@@ -3350,7 +3328,7 @@
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/ActionMenuView.java"
- line="636"
+ line="637"
column="28"/>
</issue>
@@ -3361,7 +3339,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/appcompat/widget/ActionMenuView.java"
- line="648"
+ line="649"
column="12"/>
</issue>
@@ -3372,7 +3350,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/ActionMenuView.java"
- line="669"
+ line="670"
column="34"/>
</issue>
@@ -3383,7 +3361,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/ActionMenuView.java"
- line="669"
+ line="670"
column="62"/>
</issue>
@@ -3394,7 +3372,7 @@
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/ActionMenuView.java"
- line="679"
+ line="680"
column="12"/>
</issue>
@@ -3405,7 +3383,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/ActionMenuView.java"
- line="747"
+ line="748"
column="55"/>
</issue>
@@ -3416,7 +3394,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/ActionMenuView.java"
- line="769"
+ line="770"
column="40"/>
</issue>
@@ -3427,7 +3405,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/ActionMenuView.java"
- line="830"
+ line="831"
column="29"/>
</issue>
@@ -3438,7 +3416,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/ActionMenuView.java"
- line="830"
+ line="831"
column="40"/>
</issue>
@@ -3449,7 +3427,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/ActionMenuView.java"
- line="834"
+ line="835"
column="29"/>
</issue>
@@ -3460,7 +3438,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/ActionMenuView.java"
- line="838"
+ line="839"
column="29"/>
</issue>
@@ -3768,7 +3746,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/ActivityChooserView.java"
- line="301"
+ line="304"
column="41"/>
</issue>
@@ -3779,7 +3757,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/ActivityChooserView.java"
- line="320"
+ line="323"
column="57"/>
</issue>
@@ -3790,7 +3768,7 @@
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/ActivityChooserView.java"
- line="344"
+ line="347"
column="29"/>
</issue>
@@ -3801,7 +3779,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/ActivityChooserView.java"
- line="481"
+ line="488"
column="12"/>
</issue>
@@ -3812,7 +3790,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/ActivityChooserView.java"
- line="490"
+ line="497"
column="38"/>
</issue>
@@ -3823,7 +3801,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/ActivityChooserView.java"
- line="870"
+ line="877"
column="28"/>
</issue>
@@ -3834,7 +3812,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/ActivityChooserView.java"
- line="870"
+ line="877"
column="45"/>
</issue>
@@ -5667,44 +5645,11 @@
<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 setTextAppearance(Context context, int resId) {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/appcompat/widget/AppCompatCheckedTextView.java"
- line="78"
- column="35"/>
- </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 InputConnection onCreateInputConnection(EditorInfo outAttrs) {"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/appcompat/widget/AppCompatCheckedTextView.java"
- line="94"
- column="12"/>
- </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 InputConnection onCreateInputConnection(EditorInfo outAttrs) {"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/appcompat/widget/AppCompatCheckedTextView.java"
- line="94"
- column="52"/>
- </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 setCustomSelectionActionModeCallback(ActionMode.Callback actionModeCallback) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/AppCompatCheckedTextView.java"
- line="104"
+ line="268"
column="54"/>
</issue>
@@ -6089,7 +6034,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/AppCompatEditText.java"
- line="218"
+ line="207"
column="35"/>
</issue>
@@ -6100,7 +6045,7 @@
errorLine2=" ~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/AppCompatEditText.java"
- line="233"
+ line="222"
column="52"/>
</issue>
@@ -6111,7 +6056,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/AppCompatEditText.java"
- line="286"
+ line="241"
column="54"/>
</issue>
@@ -6122,7 +6067,7 @@
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/AppCompatEditText.java"
- line="322"
+ line="277"
column="72"/>
</issue>
@@ -6441,7 +6386,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/appcompat/app/AppCompatViewInflater.java"
- line="193"
+ line="200"
column="48"/>
</issue>
@@ -6452,7 +6397,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/app/AppCompatViewInflater.java"
- line="193"
+ line="200"
column="65"/>
</issue>
@@ -6463,7 +6408,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/appcompat/app/AppCompatViewInflater.java"
- line="198"
+ line="205"
column="50"/>
</issue>
@@ -6474,7 +6419,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/app/AppCompatViewInflater.java"
- line="198"
+ line="205"
column="67"/>
</issue>
@@ -6485,7 +6430,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/appcompat/app/AppCompatViewInflater.java"
- line="203"
+ line="210"
column="44"/>
</issue>
@@ -6496,7 +6441,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/app/AppCompatViewInflater.java"
- line="203"
+ line="210"
column="61"/>
</issue>
@@ -6507,7 +6452,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/appcompat/app/AppCompatViewInflater.java"
- line="208"
+ line="215"
column="48"/>
</issue>
@@ -6518,7 +6463,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/app/AppCompatViewInflater.java"
- line="208"
+ line="215"
column="65"/>
</issue>
@@ -6529,7 +6474,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/appcompat/app/AppCompatViewInflater.java"
- line="213"
+ line="220"
column="46"/>
</issue>
@@ -6540,7 +6485,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/app/AppCompatViewInflater.java"
- line="213"
+ line="220"
column="63"/>
</issue>
@@ -6551,7 +6496,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/appcompat/app/AppCompatViewInflater.java"
- line="218"
+ line="225"
column="54"/>
</issue>
@@ -6562,7 +6507,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/app/AppCompatViewInflater.java"
- line="218"
+ line="225"
column="71"/>
</issue>
@@ -6573,7 +6518,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/appcompat/app/AppCompatViewInflater.java"
- line="223"
+ line="230"
column="48"/>
</issue>
@@ -6584,7 +6529,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/app/AppCompatViewInflater.java"
- line="223"
+ line="230"
column="65"/>
</issue>
@@ -6595,7 +6540,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/appcompat/app/AppCompatViewInflater.java"
- line="228"
+ line="235"
column="54"/>
</issue>
@@ -6606,7 +6551,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/app/AppCompatViewInflater.java"
- line="228"
+ line="235"
column="71"/>
</issue>
@@ -6617,7 +6562,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/appcompat/app/AppCompatViewInflater.java"
- line="233"
+ line="240"
column="62"/>
</issue>
@@ -6628,7 +6573,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/app/AppCompatViewInflater.java"
- line="233"
+ line="240"
column="79"/>
</issue>
@@ -6639,7 +6584,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/appcompat/app/AppCompatViewInflater.java"
- line="238"
+ line="245"
column="72"/>
</issue>
@@ -6650,7 +6595,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/app/AppCompatViewInflater.java"
- line="239"
+ line="246"
column="13"/>
</issue>
@@ -6661,7 +6606,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/appcompat/app/AppCompatViewInflater.java"
- line="244"
+ line="251"
column="82"/>
</issue>
@@ -6672,7 +6617,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/app/AppCompatViewInflater.java"
- line="245"
+ line="252"
column="13"/>
</issue>
@@ -6683,7 +6628,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/appcompat/app/AppCompatViewInflater.java"
- line="250"
+ line="257"
column="50"/>
</issue>
@@ -6694,7 +6639,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/app/AppCompatViewInflater.java"
- line="250"
+ line="257"
column="67"/>
</issue>
@@ -6705,7 +6650,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/appcompat/app/AppCompatViewInflater.java"
- line="255"
+ line="262"
column="46"/>
</issue>
@@ -6716,7 +6661,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/app/AppCompatViewInflater.java"
- line="255"
+ line="262"
column="63"/>
</issue>
@@ -6727,7 +6672,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/appcompat/app/AppCompatViewInflater.java"
- line="260"
+ line="267"
column="56"/>
</issue>
@@ -6738,7 +6683,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/app/AppCompatViewInflater.java"
- line="260"
+ line="267"
column="73"/>
</issue>
@@ -6749,7 +6694,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/appcompat/app/AppCompatViewInflater.java"
- line="272"
+ line="279"
column="31"/>
</issue>
@@ -6760,7 +6705,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/appcompat/app/AppCompatViewInflater.java"
- line="272"
+ line="279"
column="48"/>
</issue>
@@ -6771,7 +6716,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/app/AppCompatViewInflater.java"
- line="272"
+ line="279"
column="61"/>
</issue>
@@ -10357,7 +10302,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/view/menu/MenuPopupHelper.java"
- line="345"
+ line="350"
column="12"/>
</issue>
@@ -10434,7 +10379,7 @@
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/MenuPopupWindow.java"
- line="191"
+ line="199"
column="37"/>
</issue>
@@ -12513,7 +12458,7 @@
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/Toolbar.java"
- line="556"
+ line="557"
column="25"/>
</issue>
@@ -12524,7 +12469,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/Toolbar.java"
- line="556"
+ line="557"
column="43"/>
</issue>
@@ -12535,7 +12480,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/Toolbar.java"
- line="630"
+ line="631"
column="25"/>
</issue>
@@ -12546,7 +12491,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/Toolbar.java"
- line="652"
+ line="653"
column="12"/>
</issue>
@@ -12557,7 +12502,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/Toolbar.java"
- line="676"
+ line="677"
column="36"/>
</issue>
@@ -12568,7 +12513,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/Toolbar.java"
- line="690"
+ line="691"
column="12"/>
</issue>
@@ -12579,7 +12524,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/Toolbar.java"
- line="737"
+ line="738"
column="12"/>
</issue>
@@ -12590,7 +12535,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/Toolbar.java"
- line="761"
+ line="762"
column="26"/>
</issue>
@@ -12601,7 +12546,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/Toolbar.java"
- line="793"
+ line="794"
column="12"/>
</issue>
@@ -12612,7 +12557,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/Toolbar.java"
- line="815"
+ line="816"
column="29"/>
</issue>
@@ -12623,7 +12568,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/Toolbar.java"
- line="846"
+ line="847"
column="40"/>
</issue>
@@ -12634,7 +12579,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/Toolbar.java"
- line="857"
+ line="858"
column="43"/>
</issue>
@@ -12645,7 +12590,7 @@
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/Toolbar.java"
- line="1021"
+ line="1022"
column="46"/>
</issue>
@@ -12656,7 +12601,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/appcompat/widget/Toolbar.java"
- line="1127"
+ line="1128"
column="12"/>
</issue>
@@ -12667,7 +12612,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/Toolbar.java"
- line="1204"
+ line="1205"
column="44"/>
</issue>
@@ -12678,7 +12623,7 @@
errorLine2=" ~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/Toolbar.java"
- line="1532"
+ line="1533"
column="15"/>
</issue>
@@ -12689,7 +12634,7 @@
errorLine2=" ~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/Toolbar.java"
- line="1544"
+ line="1545"
column="43"/>
</issue>
@@ -12700,7 +12645,7 @@
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/Toolbar.java"
- line="1578"
+ line="1579"
column="33"/>
</issue>
@@ -12711,7 +12656,7 @@
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/Toolbar.java"
- line="1604"
+ line="1605"
column="33"/>
</issue>
@@ -12722,7 +12667,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/Toolbar.java"
- line="2199"
+ line="2200"
column="12"/>
</issue>
@@ -12733,7 +12678,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/Toolbar.java"
- line="2199"
+ line="2200"
column="46"/>
</issue>
@@ -12744,7 +12689,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/Toolbar.java"
- line="2204"
+ line="2205"
column="15"/>
</issue>
@@ -12755,7 +12700,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/Toolbar.java"
- line="2204"
+ line="2205"
column="49"/>
</issue>
@@ -12766,7 +12711,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/Toolbar.java"
- line="2217"
+ line="2218"
column="15"/>
</issue>
@@ -12777,7 +12722,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/Toolbar.java"
- line="2222"
+ line="2223"
column="41"/>
</issue>
@@ -12788,7 +12733,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/Toolbar.java"
- line="2228"
+ line="2229"
column="12"/>
</issue>
@@ -12799,7 +12744,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/Toolbar.java"
- line="2277"
+ line="2278"
column="34"/>
</issue>
@@ -12810,7 +12755,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/Toolbar.java"
- line="2277"
+ line="2278"
column="62"/>
</issue>
@@ -12821,7 +12766,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/Toolbar.java"
- line="2332"
+ line="2333"
column="40"/>
</issue>
@@ -12832,7 +12777,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/Toolbar.java"
- line="2351"
+ line="2352"
column="49"/>
</issue>
@@ -12843,7 +12788,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/Toolbar.java"
- line="2369"
+ line="2370"
column="29"/>
</issue>
@@ -12854,7 +12799,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/Toolbar.java"
- line="2375"
+ line="2376"
column="29"/>
</issue>
@@ -12865,7 +12810,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/Toolbar.java"
- line="2379"
+ line="2380"
column="29"/>
</issue>
@@ -12876,7 +12821,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/Toolbar.java"
- line="2386"
+ line="2387"
column="29"/>
</issue>
@@ -12887,7 +12832,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/Toolbar.java"
- line="2402"
+ line="2403"
column="27"/>
</issue>
@@ -12898,7 +12843,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/Toolbar.java"
- line="2406"
+ line="2407"
column="27"/>
</issue>
@@ -12909,7 +12854,7 @@
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/Toolbar.java"
- line="2406"
+ line="2407"
column="42"/>
</issue>
@@ -12920,7 +12865,7 @@
errorLine2=" ~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/Toolbar.java"
- line="2412"
+ line="2413"
column="27"/>
</issue>
@@ -12931,7 +12876,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/Toolbar.java"
- line="2417"
+ line="2418"
column="35"/>
</issue>
diff --git a/appcompat/integration-tests/receive-content-testapp/lint-baseline.xml b/appcompat/integration-tests/receive-content-testapp/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/appcompat/integration-tests/receive-content-testapp/lint-baseline.xml
+++ b/appcompat/integration-tests/receive-content-testapp/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/appsearch/appsearch/lint-baseline.xml b/appsearch/appsearch/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/appsearch/appsearch/lint-baseline.xml
+++ b/appsearch/appsearch/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/appsearch/compiler/lint-baseline.xml b/appsearch/compiler/lint-baseline.xml
index 42911d1..dcbc206 100644
--- a/appsearch/compiler/lint-baseline.xml
+++ b/appsearch/compiler/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
<issue
id="BanSynchronizedMethods"
diff --git a/appsearch/local-storage/lint-baseline.xml b/appsearch/local-storage/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/appsearch/local-storage/lint-baseline.xml
+++ b/appsearch/local-storage/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/arch/core/core-common/lint-baseline.xml b/arch/core/core-common/lint-baseline.xml
index 8a303d6..510c0dd 100644
--- a/arch/core/core-common/lint-baseline.xml
+++ b/arch/core/core-common/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
<issue
id="UnknownNullness"
@@ -8,7 +8,7 @@
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/androidx/arch/core/internal/FastSafeIterableMap.java"
- line="40"
+ line="41"
column="15"/>
</issue>
@@ -19,7 +19,7 @@
errorLine2=" ~">
<location
file="src/main/java/androidx/arch/core/internal/FastSafeIterableMap.java"
- line="40"
+ line="41"
column="31"/>
</issue>
@@ -30,7 +30,7 @@
errorLine2=" ~">
<location
file="src/main/java/androidx/arch/core/internal/FastSafeIterableMap.java"
- line="45"
+ line="46"
column="12"/>
</issue>
@@ -41,7 +41,7 @@
errorLine2=" ~">
<location
file="src/main/java/androidx/arch/core/internal/FastSafeIterableMap.java"
- line="55"
+ line="56"
column="12"/>
</issue>
@@ -52,7 +52,7 @@
errorLine2=" ~">
<location
file="src/main/java/androidx/arch/core/internal/FastSafeIterableMap.java"
- line="65"
+ line="66"
column="29"/>
</issue>
@@ -63,7 +63,7 @@
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/arch/core/internal/FastSafeIterableMap.java"
- line="74"
+ line="75"
column="12"/>
</issue>
@@ -74,7 +74,7 @@
errorLine2=" ~">
<location
file="src/main/java/androidx/arch/core/internal/FastSafeIterableMap.java"
- line="74"
+ line="75"
column="33"/>
</issue>
@@ -107,7 +107,7 @@
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/androidx/arch/core/internal/SafeIterableMap.java"
- line="45"
+ line="46"
column="15"/>
</issue>
@@ -118,7 +118,7 @@
errorLine2=" ~">
<location
file="src/main/java/androidx/arch/core/internal/SafeIterableMap.java"
- line="45"
+ line="46"
column="31"/>
</issue>
@@ -129,7 +129,7 @@
errorLine2=" ~">
<location
file="src/main/java/androidx/arch/core/internal/SafeIterableMap.java"
- line="65"
+ line="66"
column="12"/>
</issue>
@@ -140,7 +140,7 @@
errorLine2=" ~">
<location
file="src/main/java/androidx/arch/core/internal/SafeIterableMap.java"
- line="97"
+ line="98"
column="12"/>
</issue>
@@ -151,7 +151,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/arch/core/internal/SafeIterableMap.java"
- line="149"
+ line="150"
column="12"/>
</issue>
@@ -162,7 +162,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/arch/core/internal/SafeIterableMap.java"
- line="158"
+ line="159"
column="12"/>
</issue>
@@ -173,7 +173,7 @@
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/arch/core/internal/SafeIterableMap.java"
- line="168"
+ line="169"
column="12"/>
</issue>
@@ -184,7 +184,7 @@
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/arch/core/internal/SafeIterableMap.java"
- line="175"
+ line="176"
column="12"/>
</issue>
@@ -195,7 +195,7 @@
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/arch/core/internal/SafeIterableMap.java"
- line="344"
+ line="345"
column="16"/>
</issue>
diff --git a/arch/core/core-runtime/lint-baseline.xml b/arch/core/core-runtime/lint-baseline.xml
index c28b1da..74d03e4 100644
--- a/arch/core/core-runtime/lint-baseline.xml
+++ b/arch/core/core-runtime/lint-baseline.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.arch.core.executor.DefaultTaskExecutor 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.arch.core.executor.DefaultTaskExecutor is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return Handler.createAsync(looper);"
errorLine2=" ~~~~~~~~~~~">
<location
diff --git a/arch/core/core-testing/lint-baseline.xml b/arch/core/core-testing/lint-baseline.xml
index cf2d418..e123b88 100644
--- a/arch/core/core-testing/lint-baseline.xml
+++ b/arch/core/core-testing/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="UnknownNullness"
diff --git a/asynclayoutinflater/asynclayoutinflater/lint-baseline.xml b/asynclayoutinflater/asynclayoutinflater/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/asynclayoutinflater/asynclayoutinflater/lint-baseline.xml
+++ b/asynclayoutinflater/asynclayoutinflater/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/autofill/autofill/lint-baseline.xml b/autofill/autofill/lint-baseline.xml
index c82b5e4..2cd1fdc 100644
--- a/autofill/autofill/lint-baseline.xml
+++ b/autofill/autofill/lint-baseline.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.autofill.inline.v1.InlineSuggestionUi.Style 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.autofill.inline.v1.InlineSuggestionUi.Style is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" singleIconChipView.setLayoutDirection(getLayoutDirection());"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
@@ -13,8 +13,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.autofill.inline.v1.InlineSuggestionUi.Style 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.autofill.inline.v1.InlineSuggestionUi.Style is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" chipView.setLayoutDirection(getLayoutDirection());"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
@@ -24,8 +24,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" for (SliceItem sliceItem : slice.getItems()) {"
errorLine2=" ~~~~~~~~">
<location
@@ -35,8 +35,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mTitle = sliceItem.getText().toString();"
errorLine2=" ~~~~~~~">
<location
@@ -46,8 +46,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mSubtitle = sliceItem.getText().toString();"
errorLine2=" ~~~~~~~">
<location
@@ -57,8 +57,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mStartIcon = sliceItem.getIcon();"
errorLine2=" ~~~~~~~">
<location
@@ -68,8 +68,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mEndIcon = sliceItem.getIcon();"
errorLine2=" ~~~~~~~">
<location
@@ -79,8 +79,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mAttributionIntent = sliceItem.getAction();"
errorLine2=" ~~~~~~~~~">
<location
@@ -90,8 +90,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mContentDescription = sliceItem.getText();"
errorLine2=" ~~~~~~~">
<location
@@ -101,8 +101,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" switch (sliceItem.getFormat()) {"
errorLine2=" ~~~~~~~~~">
<location
@@ -112,8 +112,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (sliceItem.getIcon() == null) {"
errorLine2=" ~~~~~~~">
<location
@@ -123,8 +123,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (sliceItem.getHints().contains(HINT_INLINE_START_ICON)) {"
errorLine2=" ~~~~~~~~">
<location
@@ -134,8 +134,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" } else if (sliceItem.getHints().contains(HINT_INLINE_END_ICON)) {"
errorLine2=" ~~~~~~~~">
<location
@@ -145,8 +145,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (TextUtils.isEmpty(sliceItem.getText())) {"
errorLine2=" ~~~~~~~">
<location
@@ -156,8 +156,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (sliceItem.getHints().contains(HINT_INLINE_TITLE)) {"
errorLine2=" ~~~~~~~~">
<location
@@ -167,8 +167,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" } else if (sliceItem.getHints().contains(HINT_INLINE_SUBTITLE)) {"
errorLine2=" ~~~~~~~~">
<location
@@ -178,8 +178,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" } else if (sliceItem.getHints().contains(HINT_INLINE_CONTENT_DESCRIPTION)) {"
errorLine2=" ~~~~~~~~">
<location
@@ -189,8 +189,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (sliceItem.getAction() != null && sliceItem.getHints().contains("
errorLine2=" ~~~~~~~~~">
<location
@@ -200,8 +200,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (sliceItem.getAction() != null && sliceItem.getHints().contains("
errorLine2=" ~~~~~~~~">
<location
@@ -211,8 +211,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mSliceBuilder.addIcon(mStartIcon, null,"
errorLine2=" ~~~~~~~">
<location
@@ -222,8 +222,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mSliceBuilder.addText(mTitle, null,"
errorLine2=" ~~~~~~~">
<location
@@ -233,8 +233,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mSliceBuilder.addText(mSubtitle, null,"
errorLine2=" ~~~~~~~">
<location
@@ -244,8 +244,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mSliceBuilder.addIcon(mEndIcon, null,"
errorLine2=" ~~~~~~~">
<location
@@ -255,8 +255,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mSliceBuilder.addAction(mAttributionIntent, new Slice.Builder("
errorLine2=" ~~~~~~~~~">
<location
@@ -266,8 +266,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mSliceBuilder.addAction(mAttributionIntent, new Slice.Builder("
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -277,8 +277,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mSliceBuilder).addHints("
errorLine2=" ~~~~~~~~">
<location
@@ -288,8 +288,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" Collections.singletonList(HINT_INLINE_ATTRIBUTION_INTENT)).build(),"
errorLine2=" ~~~~~">
<location
@@ -299,8 +299,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mSliceBuilder.addText(mContentDescription, null,"
errorLine2=" ~~~~~~~">
<location
@@ -310,8 +310,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mSliceBuilder.addHints(mHints);"
errorLine2=" ~~~~~~~~">
<location
@@ -321,8 +321,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.autofill.inline.v1.InlineSuggestionUi.Content.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return new Content(mSliceBuilder.build());"
errorLine2=" ~~~~~">
<location
@@ -332,8 +332,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.autofill.inline.common.SlicedContent.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.autofill.inline.common.SlicedContent.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mSliceBuilder = new Slice.Builder(INLINE_SLICE_URI, new SliceSpec(version, 1));"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -343,8 +343,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.autofill.inline.common.SlicedContent.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.autofill.inline.common.SlicedContent.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mSliceBuilder = new Slice.Builder(INLINE_SLICE_URI, new SliceSpec(version, 1));"
errorLine2=" ~~~~~~~~~~~~~">
<location
diff --git a/benchmark/common/lint-baseline.xml b/benchmark/common/lint-baseline.xml
index a6e93ad..9408bc3 100644
--- a/benchmark/common/lint-baseline.xml
+++ b/benchmark/common/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta04" client="gradle" variant="debug" version="4.2.0-beta04">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="BanSynchronizedMethods"
@@ -46,8 +46,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.benchmark.Errors 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.benchmark.Errors is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" Build.VERSION.SDK_INT >= 29 && !context.applicationInfo.isProfileableByShell"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
@@ -57,8 +57,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.benchmark.IsolationActivity.Companion 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.benchmark.IsolationActivity.Companion is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" powerManager.isSustainedPerformanceModeSupported"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -68,8 +68,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" activity.window.setSustainedPerformanceMode(true)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -79,8 +79,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" keyguardManager.requestDismissKeyguard(activity, null)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -90,8 +90,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 27, the call containing class null is not annotated with @RequiresApi(x) where x is at least 27. Either annotate the containing class with at least @RequiresApi(27) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(27)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 27; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" activity.setShowWhenLocked(true)"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -101,8 +101,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 27, the call containing class null is not annotated with @RequiresApi(x) where x is at least 27. Either annotate the containing class with at least @RequiresApi(27) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(27)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 27; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" activity.setTurnScreenOn(true)"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
@@ -111,4 +111,37 @@
column="30"/>
</issue>
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.benchmark.Outputs is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" InstrumentationRegistry.getInstrumentation().context.externalMediaDirs"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/benchmark/Outputs.kt"
+ line="59"
+ column="70"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.benchmark.Outputs is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" Environment.getExternalStorageState(it) == Environment.MEDIA_MOUNTED"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/benchmark/Outputs.kt"
+ line="61"
+ column="37"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.benchmark.ProfilerKt is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" Debug.startMethodTracingSampling(path, bufferSize, Arguments.profilerSampleFrequency)"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/benchmark/Profiler.kt"
+ line="100"
+ column="15"/>
+ </issue>
+
</issues>
diff --git a/benchmark/gradle-plugin/lint-baseline.xml b/benchmark/gradle-plugin/lint-baseline.xml
index 297ae16..8794ae8 100644
--- a/benchmark/gradle-plugin/lint-baseline.xml
+++ b/benchmark/gradle-plugin/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
</issues>
diff --git a/benchmark/integration-tests/crystalball-experiment/lint-baseline.xml b/benchmark/integration-tests/crystalball-experiment/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/benchmark/integration-tests/crystalball-experiment/lint-baseline.xml
+++ b/benchmark/integration-tests/crystalball-experiment/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/benchmark/integration-tests/dry-run-benchmark/lint-baseline.xml b/benchmark/integration-tests/dry-run-benchmark/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/benchmark/integration-tests/dry-run-benchmark/lint-baseline.xml
+++ b/benchmark/integration-tests/dry-run-benchmark/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/benchmark/integration-tests/startup-benchmark/lint-baseline.xml b/benchmark/integration-tests/startup-benchmark/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/benchmark/integration-tests/startup-benchmark/lint-baseline.xml
+++ b/benchmark/integration-tests/startup-benchmark/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/benchmark/macro/lint-baseline.xml b/benchmark/macro/lint-baseline.xml
new file mode 100644
index 0000000..039577a
--- /dev/null
+++ b/benchmark/macro/lint-baseline.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.benchmark.macro.MacrobenchmarkKt is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" !applicationInfo.isProfileableByShell"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/benchmark/macro/Macrobenchmark.kt"
+ line="45"
+ column="26"/>
+ </issue>
+
+</issues>
diff --git a/biometric/biometric-ktx/lint-baseline.xml b/biometric/biometric-ktx/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/biometric/biometric-ktx/lint-baseline.xml
+++ b/biometric/biometric-ktx/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/biometric/biometric-ktx/samples/lint-baseline.xml b/biometric/biometric-ktx/samples/lint-baseline.xml
index 8f1aa4b..f4e473c 100644
--- a/biometric/biometric-ktx/samples/lint-baseline.xml
+++ b/biometric/biometric-ktx/samples/lint-baseline.xml
@@ -1,4 +1,169 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.biometric.samples.auth.CoroutineSamplesKt is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" val keySpec = KeyGenParameterSpec.Builder(KEY_NAME, keyPurpose).apply {"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/biometric/samples/auth/CoroutineSamples.kt"
+ line="110"
+ column="39"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.biometric.samples.auth.CoroutineSamplesKt is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" setBlockModes(KeyProperties.BLOCK_MODE_CBC)"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/biometric/samples/auth/CoroutineSamples.kt"
+ line="111"
+ column="9"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.biometric.samples.auth.CoroutineSamplesKt is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" setEncryptionPaddings(KeyProperties.ENCRYPTION_PADDING_PKCS7)"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/biometric/samples/auth/CoroutineSamples.kt"
+ line="112"
+ column="9"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.biometric.samples.auth.CoroutineSamplesKt is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" setUserAuthenticationRequired(true)"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/biometric/samples/auth/CoroutineSamples.kt"
+ line="113"
+ column="9"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.biometric.samples.auth.CoroutineSamplesKt is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" }.build()"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/main/java/androidx/biometric/samples/auth/CoroutineSamples.kt"
+ line="121"
+ column="7"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.biometric.samples.auth.CoroutineSamplesKt is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" val keySpec = KeyGenParameterSpec.Builder(KEY_NAME, keyPurpose).apply {"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/biometric/samples/auth/CoroutineSamples.kt"
+ line="171"
+ column="39"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.biometric.samples.auth.CoroutineSamplesKt is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" setBlockModes(KeyProperties.BLOCK_MODE_CBC)"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/biometric/samples/auth/CoroutineSamples.kt"
+ line="172"
+ column="9"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.biometric.samples.auth.CoroutineSamplesKt is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" setEncryptionPaddings(KeyProperties.ENCRYPTION_PADDING_PKCS7)"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/biometric/samples/auth/CoroutineSamples.kt"
+ line="173"
+ column="9"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.biometric.samples.auth.CoroutineSamplesKt is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" setUserAuthenticationRequired(true)"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/biometric/samples/auth/CoroutineSamples.kt"
+ line="174"
+ column="9"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.biometric.samples.auth.CoroutineSamplesKt is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" }.build()"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/main/java/androidx/biometric/samples/auth/CoroutineSamples.kt"
+ line="182"
+ column="7"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.biometric.samples.auth.CoroutineSamplesKt is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" val keySpec = KeyGenParameterSpec.Builder(KEY_NAME, keyPurpose).apply {"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/biometric/samples/auth/CoroutineSamples.kt"
+ line="232"
+ column="39"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.biometric.samples.auth.CoroutineSamplesKt is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" setBlockModes(KeyProperties.BLOCK_MODE_CBC)"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/biometric/samples/auth/CoroutineSamples.kt"
+ line="233"
+ column="9"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.biometric.samples.auth.CoroutineSamplesKt is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" setEncryptionPaddings(KeyProperties.ENCRYPTION_PADDING_PKCS7)"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/biometric/samples/auth/CoroutineSamples.kt"
+ line="234"
+ column="9"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.biometric.samples.auth.CoroutineSamplesKt is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" setUserAuthenticationRequired(true)"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/biometric/samples/auth/CoroutineSamples.kt"
+ line="235"
+ column="9"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.biometric.samples.auth.CoroutineSamplesKt is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" }.build()"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/main/java/androidx/biometric/samples/auth/CoroutineSamples.kt"
+ line="242"
+ column="7"/>
+ </issue>
</issues>
diff --git a/biometric/biometric/lint-baseline.xml b/biometric/biometric/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/biometric/biometric/lint-baseline.xml
+++ b/biometric/biometric/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/biometric/integration-tests/testapp/lint-baseline.xml b/biometric/integration-tests/testapp/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/biometric/integration-tests/testapp/lint-baseline.xml
+++ b/biometric/integration-tests/testapp/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/browser/browser/lint-baseline.xml b/browser/browser/lint-baseline.xml
index bc3c366..97ab8ed 100644
--- a/browser/browser/lint-baseline.xml
+++ b/browser/browser/lint-baseline.xml
@@ -1,20 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.browser.browseractions.BrowserActionsIntent 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.browser.browseractions.BrowserActionsIntent is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return pendingIntent.getCreatorPackage();"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/browser/browseractions/BrowserActionsIntent.java"
- line="469"
+ line="470"
column="38"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.browser.trusted.NotificationApiHelperForM 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.browser.trusted.NotificationApiHelperForM is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return manager.getActiveNotifications();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -24,8 +24,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.browser.trusted.NotificationApiHelperForO 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.browser.trusted.NotificationApiHelperForO is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" NotificationChannel channel = manager.getNotificationChannel(channelId);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -35,8 +35,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.browser.trusted.NotificationApiHelperForO 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.browser.trusted.NotificationApiHelperForO is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return channel == null || channel.getImportance() != NotificationManager.IMPORTANCE_NONE;"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -46,8 +46,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.browser.trusted.NotificationApiHelperForO 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.browser.trusted.NotificationApiHelperForO is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" manager.createNotificationChannel(new NotificationChannel(channelId,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -57,8 +57,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.browser.trusted.NotificationApiHelperForO 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.browser.trusted.NotificationApiHelperForO is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" manager.createNotificationChannel(new NotificationChannel(channelId,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -68,8 +68,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.browser.trusted.NotificationApiHelperForO 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.browser.trusted.NotificationApiHelperForO is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (manager.getNotificationChannel(channelId).getImportance()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -79,8 +79,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.browser.trusted.NotificationApiHelperForO 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.browser.trusted.NotificationApiHelperForO is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (manager.getNotificationChannel(channelId).getImportance()"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -90,8 +90,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.browser.trusted.NotificationApiHelperForO 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.browser.trusted.NotificationApiHelperForO is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" Notification.Builder builder = Notification.Builder.recoverBuilder(context, notification);"
errorLine2=" ~~~~~~~~~~~~~~">
<location
@@ -101,8 +101,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.browser.trusted.NotificationApiHelperForO 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.browser.trusted.NotificationApiHelperForO is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" builder.setChannelId(channelId);"
errorLine2=" ~~~~~~~~~~~~">
<location
diff --git a/buildSrc-tests/lint-baseline.xml b/buildSrc-tests/lint-baseline.xml
index 297ae16..8794ae8 100644
--- a/buildSrc-tests/lint-baseline.xml
+++ b/buildSrc-tests/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
</issues>
diff --git a/buildSrc/src/main/kotlin/androidx/build/AndroidXGradleProperties.kt b/buildSrc/src/main/kotlin/androidx/build/AndroidXGradleProperties.kt
index f5146b1885..d5e73ae 100644
--- a/buildSrc/src/main/kotlin/androidx/build/AndroidXGradleProperties.kt
+++ b/buildSrc/src/main/kotlin/androidx/build/AndroidXGradleProperties.kt
@@ -111,6 +111,12 @@
*/
const val VALIDATE_NO_UNRECOGNIZED_MESSAGES = "androidx.validateNoUnrecognizedMessages"
+/**
+ * Specifies to run the build twice and validate that the second build doesn't run more
+ * tasks than expected.
+ */
+const val VERIFY_UP_TO_DATE = "androidx.verifyUpToDate"
+
const val EXPERIMENTAL_KOTLIN_BACKEND_ENABLED = "androidx.experimentalKotlinBackendEnabled"
val ALL_ANDROIDX_PROPERTIES = setOf(
@@ -127,6 +133,7 @@
USE_MAX_DEP_VERSIONS,
TEST_FAILURES_DO_NOT_FAIL_TEST_TASK,
VALIDATE_NO_UNRECOGNIZED_MESSAGES,
+ VERIFY_UP_TO_DATE,
WRITE_VERSIONED_API_FILES,
AffectedModuleDetector.CHANGED_PROJECTS_ARG,
AffectedModuleDetector.ENABLE_ARG,
diff --git a/buildSrc/src/main/kotlin/androidx/build/AndroidXRootPlugin.kt b/buildSrc/src/main/kotlin/androidx/build/AndroidXRootPlugin.kt
index ebd6d08..dc2e0a8 100644
--- a/buildSrc/src/main/kotlin/androidx/build/AndroidXRootPlugin.kt
+++ b/buildSrc/src/main/kotlin/androidx/build/AndroidXRootPlugin.kt
@@ -81,6 +81,15 @@
if (partiallyDejetifyArchiveTask != null)
buildOnServerTask.dependsOn(partiallyDejetifyArchiveTask)
+ buildOnServerTask.dependsOn(
+ tasks.register(
+ "saveSystemStats",
+ SaveSystemStatsTask::class.java
+ ) { task ->
+ task.outputFile.set(File(project.getDistributionDirectory(), "system_stats.txt"))
+ }
+ )
+
extra.set("projects", ConcurrentHashMap<String, String>())
buildOnServerTask.dependsOn(tasks.named(CheckExternalDependencyLicensesTask.TASK_NAME))
// Anchor task that invokes running all subprojects :validateProperties tasks which ensure that
diff --git a/buildSrc/src/main/kotlin/androidx/build/LibraryGroups.kt b/buildSrc/src/main/kotlin/androidx/build/LibraryGroups.kt
index 5ed7290..86ede79 100644
--- a/buildSrc/src/main/kotlin/androidx/build/LibraryGroups.kt
+++ b/buildSrc/src/main/kotlin/androidx/build/LibraryGroups.kt
@@ -73,6 +73,7 @@
val PERCENTLAYOUT = LibraryGroup("androidx.percentlayout", LibraryVersions.PERCENTLAYOUT)
val PREFERENCE = LibraryGroup("androidx.preference", LibraryVersions.PREFERENCE)
val PRINT = LibraryGroup("androidx.print", LibraryVersions.PRINT)
+ val PROFILEINSTALLER = LibraryGroup("androidx.profileinstaller", LibraryVersions.PROFILEINSTALLER)
val RECOMMENDATION = LibraryGroup("androidx.recommendation", LibraryVersions.RECOMMENDATION)
val RECYCLERVIEW = LibraryGroup("androidx.recyclerview", null)
val REMOTECALLBACK = LibraryGroup("androidx.remotecallback", LibraryVersions.REMOTECALLBACK)
diff --git a/buildSrc/src/main/kotlin/androidx/build/LibraryVersions.kt b/buildSrc/src/main/kotlin/androidx/build/LibraryVersions.kt
index 20c0880..c13992a 100644
--- a/buildSrc/src/main/kotlin/androidx/build/LibraryVersions.kt
+++ b/buildSrc/src/main/kotlin/androidx/build/LibraryVersions.kt
@@ -94,6 +94,7 @@
val PRINT = Version("1.1.0-beta01")
val PERCENTLAYOUT = Version("1.1.0-alpha01")
val PREFERENCE = Version("1.2.0-alpha01")
+ val PROFILEINSTALLER = Version("1.0.0-alpha01")
val RECOMMENDATION = Version("1.1.0-alpha01")
val RECYCLERVIEW = Version("1.3.0-alpha01")
val RECYCLERVIEW_SELECTION = Version("1.2.0-alpha01")
diff --git a/buildSrc/src/main/kotlin/androidx/build/SaveSystemStatsTask.kt b/buildSrc/src/main/kotlin/androidx/build/SaveSystemStatsTask.kt
new file mode 100644
index 0000000..3e46290
--- /dev/null
+++ b/buildSrc/src/main/kotlin/androidx/build/SaveSystemStatsTask.kt
@@ -0,0 +1,51 @@
+/*
+ * Copyright 2021 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package androidx.build
+
+import org.gradle.api.DefaultTask
+import org.gradle.api.provider.Property
+import org.gradle.api.tasks.Input
+import org.gradle.api.tasks.OutputFile
+import org.gradle.api.tasks.TaskAction
+import java.io.File
+import java.lang.management.ManagementFactory
+import java.lang.Runtime
+import com.sun.management.OperatingSystemMXBean
+
+/**
+ * Saves system stats (cpu, memory) to a file
+ */
+abstract class SaveSystemStatsTask : DefaultTask() {
+ @Input
+ fun getNumProcessors(): Int {
+ return Runtime.getRuntime().availableProcessors()
+ }
+
+ @Input
+ fun getTotalMemory(): Long {
+ val bean = ManagementFactory.getOperatingSystemMXBean() as OperatingSystemMXBean
+ return bean.getTotalPhysicalMemorySize()
+ }
+
+ @OutputFile
+ val outputFile: Property<File> = project.objects.property(File::class.java)
+ @TaskAction
+ fun exec() {
+ val statsText = "num processors = ${getNumProcessors()}, total memory = ${getTotalMemory()}"
+ outputFile.get().writeText(statsText)
+ }
+}
diff --git a/buildSrc/src/main/kotlin/androidx/build/docs/AndroidXDocsPlugin.kt b/buildSrc/src/main/kotlin/androidx/build/docs/AndroidXDocsPlugin.kt
index 790fba4..05df84b 100644
--- a/buildSrc/src/main/kotlin/androidx/build/docs/AndroidXDocsPlugin.kt
+++ b/buildSrc/src/main/kotlin/androidx/build/docs/AndroidXDocsPlugin.kt
@@ -562,13 +562,14 @@
}
}
-private const val DACKKA_DEPENDENCY = "com.google.devsite:dackka:0.0.1-alpha01"
+private const val DACKKA_DEPENDENCY = "com.google.devsite:dackka:0.0.2"
private const val DOCLAVA_DEPENDENCY = "com.android:doclava:1.0.6"
// Allowlist for directories that should be processed by Dackka
private val dackkaDirsToProcess = listOf(
"androidx/benchmark/**",
"androidx/collection/**",
+ "androidx/compose/**",
"androidx/paging/**"
)
diff --git a/buildSrc/src/main/kotlin/androidx/build/uptodatedness/TaskUpToDateValidator.kt b/buildSrc/src/main/kotlin/androidx/build/uptodatedness/TaskUpToDateValidator.kt
index 6982494..0b6278c5 100644
--- a/buildSrc/src/main/kotlin/androidx/build/uptodatedness/TaskUpToDateValidator.kt
+++ b/buildSrc/src/main/kotlin/androidx/build/uptodatedness/TaskUpToDateValidator.kt
@@ -16,6 +16,7 @@
package androidx.build.uptodatedness
+import androidx.build.VERIFY_UP_TO_DATE
import org.gradle.api.GradleException
import org.gradle.api.Project
import org.gradle.api.Task
@@ -33,7 +34,7 @@
*/
const val DISALLOW_TASK_EXECUTION_FLAG_NAME = "disallowExecution"
-const val RECORD_FLAG_NAME = "verifyUpToDate"
+const val RECORD_FLAG_NAME = VERIFY_UP_TO_DATE
// Temporary set of exempt tasks that are known to still be out-of-date after running once
// Entries in this set may be task names (like assembleDebug) or task paths
@@ -291,7 +292,7 @@
}
val reproductionMessage = "\nTo reproduce this error you can try running " +
- "`./gradlew ${task.path} -PverifyUpToDate`\n"
+ "`./gradlew ${task.path} -P$RECORD_FLAG_NAME`\n"
val readLogsMessage = "\nYou can check why Gradle executed ${task.path} by " +
"passing the '--info' flag to Gradle and then searching stdout for output " +
"generated immediately before the task began to execute.\n" +
diff --git a/camera/camera-camera2-pipe-integration/lint-baseline.xml b/camera/camera-camera2-pipe-integration/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/camera/camera-camera2-pipe-integration/lint-baseline.xml
+++ b/camera/camera-camera2-pipe-integration/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/camera/camera-camera2-pipe-testing/lint-baseline.xml b/camera/camera-camera2-pipe-testing/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/camera/camera-camera2-pipe-testing/lint-baseline.xml
+++ b/camera/camera-camera2-pipe-testing/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/camera/camera-camera2-pipe/lint-baseline.xml b/camera/camera-camera2-pipe/lint-baseline.xml
index 8f1aa4b..205967d 100644
--- a/camera/camera-camera2-pipe/lint-baseline.xml
+++ b/camera/camera-camera2-pipe/lint-baseline.xml
@@ -1,4 +1,290 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.camera.camera2.pipe.compat.Camera2CameraMetadata is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" characteristics.physicalCameraIds.orEmpty().map { CameraId(it) }.toSet()"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/camera2/pipe/compat/Camera2CameraMetadata.kt"
+ line="137"
+ column="41"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.camera.camera2.pipe.compat.AndroidCameraDevice is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" cameraDevice.createReprocessableCaptureSession("
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/camera2/pipe/compat/CameraDeviceWrapper.kt"
+ line="160"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.camera.camera2.pipe.compat.AndroidCameraDevice is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" cameraDevice.createConstrainedHighSpeedCaptureSession("
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/camera2/pipe/compat/CameraDeviceWrapper.kt"
+ line="179"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.camera.camera2.pipe.compat.AndroidCameraDevice is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" cameraDevice.createCaptureSessionByOutputConfigurations("
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/camera2/pipe/compat/CameraDeviceWrapper.kt"
+ line="197"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.camera.camera2.pipe.compat.AndroidCameraDevice is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" cameraDevice.createReprocessableCaptureSessionByConfigurations("
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/camera2/pipe/compat/CameraDeviceWrapper.kt"
+ line="216"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.camera.camera2.pipe.compat.AndroidCameraDevice is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" InputConfiguration(inputConfig.width, inputConfig.height, inputConfig.format),"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/camera2/pipe/compat/CameraDeviceWrapper.kt"
+ line="217"
+ column="13"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.camera.camera2.pipe.compat.AndroidCameraDevice is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" val sessionConfig = SessionConfiguration("
+ errorLine2=" ^">
+ <location
+ file="src/main/java/androidx/camera/camera2/pipe/compat/CameraDeviceWrapper.kt"
+ line="227"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.camera.camera2.pipe.compat.AndroidCameraDevice is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" sessionConfig.inputConfiguration = InputConfiguration("
+ errorLine2=" ^">
+ <location
+ file="src/main/java/androidx/camera/camera2/pipe/compat/CameraDeviceWrapper.kt"
+ line="235"
+ column="48"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.camera.camera2.pipe.compat.AndroidCameraDevice is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" sessionConfig.inputConfiguration = InputConfiguration("
+ errorLine2=" ^">
+ <location
+ file="src/main/java/androidx/camera/camera2/pipe/compat/CameraDeviceWrapper.kt"
+ line="235"
+ column="48"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.camera.camera2.pipe.compat.AndroidCameraDevice is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" sessionConfig.inputConfiguration = InputConfiguration("
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/camera2/pipe/compat/CameraDeviceWrapper.kt"
+ line="235"
+ column="27"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.camera.camera2.pipe.compat.AndroidCameraDevice is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" sessionConfig.sessionParameters = requestBuilder.build()"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/camera2/pipe/compat/CameraDeviceWrapper.kt"
+ line="255"
+ column="23"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.camera.camera2.pipe.compat.AndroidCameraDevice is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" cameraDevice.createCaptureSession(sessionConfig)"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/camera2/pipe/compat/CameraDeviceWrapper.kt"
+ line="257"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.camera.camera2.pipe.compat.AndroidCameraDevice is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" cameraDevice.createReprocessCaptureRequest(inputResult)"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/camera2/pipe/compat/CameraDeviceWrapper.kt"
+ line="270"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.camera.camera2.pipe.compat.AndroidCameraCaptureSession is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return cameraCaptureSession.isReprocessable"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/camera2/pipe/compat/CaptureSessionWrapper.kt"
+ line="299"
+ column="45"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.camera.camera2.pipe.compat.AndroidCameraCaptureSession is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return cameraCaptureSession.inputSurface"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/camera2/pipe/compat/CaptureSessionWrapper.kt"
+ line="309"
+ column="45"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.camera.camera2.pipe.compat.AndroidCameraCaptureSession is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" cameraCaptureSession.finalizeOutputConfigurations(outputConfigs.map { it.unwrap() })"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/camera2/pipe/compat/CaptureSessionWrapper.kt"
+ line="326"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.camera.camera2.pipe.compat.AndroidOutputConfiguration.Companion is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" configuration = OutputConfiguration(size, outputKlass)"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/camera2/pipe/compat/Configuration.kt"
+ line="174"
+ column="33"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.camera.camera2.pipe.compat.AndroidOutputConfiguration.Companion is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" configuration.maxSharedSurfaceCount"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/camera2/pipe/compat/Configuration.kt"
+ line="192"
+ column="35"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.camera.camera2.pipe.compat.AndroidOutputConfiguration.Companion is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" this.enableSurfaceSharing()"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/camera2/pipe/compat/Configuration.kt"
+ line="203"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.camera.camera2.pipe.compat.AndroidOutputConfiguration.Companion is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" this.setPhysicalCameraId(physicalCameraId.value)"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/camera2/pipe/compat/Configuration.kt"
+ line="210"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.camera.camera2.pipe.compat.AndroidOutputConfiguration is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return output.surfaces"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/camera2/pipe/compat/Configuration.kt"
+ line="219"
+ column="31"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.camera.camera2.pipe.compat.AndroidOutputConfiguration is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" output.addSurface(surface)"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/camera2/pipe/compat/Configuration.kt"
+ line="231"
+ column="20"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.camera.camera2.pipe.compat.AndroidOutputConfiguration is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" output.removeSurface(surface)"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/camera2/pipe/compat/Configuration.kt"
+ line="238"
+ column="20"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.camera.camera2.pipe.core.Permissions is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (context.checkSelfPermission(Manifest.permission.CAMERA) == PERMISSION_GRANTED) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/camera2/pipe/core/Permissions.kt"
+ line="56"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.camera.camera2.pipe.compat.VirtualCameraManager is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" instance.openCamera("
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/camera2/pipe/compat/VirtualCameraManager.kt"
+ line="237"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.camera.camera2.pipe.compat.VirtualCameraManager is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" manager.registerAvailabilityCallback(threads.camera2Executor, availabilityCallback)"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/camera2/pipe/compat/VirtualCameraManager.kt"
+ line="328"
+ column="21"/>
+ </issue>
</issues>
diff --git a/camera/camera-camera2/lint-baseline.xml b/camera/camera-camera2/lint-baseline.xml
index 581fc50..7200b63 100644
--- a/camera/camera-camera2/lint-baseline.xml
+++ b/camera/camera-camera2/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="BanUncheckedReflection"
@@ -35,8 +35,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.camera.camera2.internal.Camera2CaptureCallbacks.ComboSessionCaptureCallback 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.camera.camera2.internal.Camera2CaptureCallbacks.ComboSessionCaptureCallback is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" callback.onCaptureBufferLost(session, request, surface, frame);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
@@ -46,8 +46,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.camera.camera2.internal.CameraBurstCaptureCallback 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.camera.camera2.internal.CameraBurstCaptureCallback is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" callback.onCaptureBufferLost(session, request, surface, frame);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
@@ -57,8 +57,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mWrappedCallback.onCaptureBufferLost(session, request, target, frameNumber);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
@@ -68,8 +68,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mWrappedCallback.onCaptureQueueEmpty(session);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
@@ -79,8 +79,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mWrappedCallback.onSurfacePrepared(session, surface);"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -90,8 +90,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.camera.camera2.internal.CameraCaptureSessionStateCallbacks.ComboSessionStateCallback 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.camera.camera2.internal.CameraCaptureSessionStateCallbacks.ComboSessionStateCallback is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" callback.onCaptureQueueEmpty(session);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
@@ -101,8 +101,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.camera.camera2.internal.CameraCaptureSessionStateCallbacks.ComboSessionStateCallback 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.camera.camera2.internal.CameraCaptureSessionStateCallbacks.ComboSessionStateCallback is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" callback.onSurfacePrepared(session, surface);"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -112,8 +112,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mWrappedCallback.onCameraAccessPrioritiesChanged();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -123,8 +123,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.camera.camera2.internal.compat.params.OutputConfigurationCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.camera.camera2.internal.compat.params.OutputConfigurationCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" OutputConfiguration deferredConfig = new OutputConfiguration(surfaceSize, klass);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -134,8 +134,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.camera.camera2.internal.SynchronizedCaptureSessionStateCallbacks.Adapter 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.camera.camera2.internal.SynchronizedCaptureSessionStateCallbacks.Adapter is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mCameraCaptureSessionStateCallback.onSurfacePrepared("
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -145,8 +145,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.camera.camera2.internal.SynchronizedCaptureSessionStateCallbacks.Adapter 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.camera.camera2.internal.SynchronizedCaptureSessionStateCallbacks.Adapter is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mCameraCaptureSessionStateCallback.onCaptureQueueEmpty("
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
diff --git a/camera/camera-core/lint-baseline.xml b/camera/camera-core/lint-baseline.xml
index 1df7dc7..ec7e4bf 100644
--- a/camera/camera-core/lint-baseline.xml
+++ b/camera/camera-core/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="BanSynchronizedMethods"
@@ -420,6 +420,28 @@
</issue>
<issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.camera.core.VideoCapture is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mediaMuxer = new MediaMuxer(outputFileOptions.getFileDescriptor(),"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/core/VideoCapture.java"
+ line="1039"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.camera.core.VideoCapture is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mediaMuxer = new MediaMuxer(mParcelFileDescriptor.getFileDescriptor(),"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/core/VideoCapture.java"
+ line="1066"
+ column="34"/>
+ </issue>
+
+ <issue
id="PrivateConstructorForUtilityClass"
message="Utility class with non private constructor"
errorLine1=" private static final class Speed {"
@@ -547,7 +569,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/camera/core/impl/CaptureProcessor.java"
- line="35"
+ line="37"
column="26"/>
</issue>
@@ -558,7 +580,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/core/impl/CaptureProcessor.java"
- line="47"
+ line="50"
column="18"/>
</issue>
@@ -569,7 +591,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/camera/core/impl/CaptureProcessor.java"
- line="54"
+ line="57"
column="29"/>
</issue>
diff --git a/camera/camera-extensions-stub/lint-baseline.xml b/camera/camera-extensions-stub/lint-baseline.xml
index da096d5..a79d08a 100644
--- a/camera/camera-extensions-stub/lint-baseline.xml
+++ b/camera/camera-extensions-stub/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="UnknownNullness"
@@ -767,7 +767,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/CaptureProcessorImpl.java"
- line="42"
+ line="43"
column="18"/>
</issue>
@@ -789,7 +789,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/ExtenderStateListener.java"
- line="41"
+ line="42"
column="17"/>
</issue>
@@ -800,7 +800,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/ExtenderStateListener.java"
- line="41"
+ line="42"
column="34"/>
</issue>
@@ -811,7 +811,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/ExtenderStateListener.java"
- line="41"
+ line="42"
column="79"/>
</issue>
@@ -822,7 +822,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/ExtenderStateListener.java"
- line="59"
+ line="61"
column="5"/>
</issue>
@@ -833,7 +833,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/ExtenderStateListener.java"
- line="70"
+ line="72"
column="5"/>
</issue>
@@ -844,7 +844,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/ExtenderStateListener.java"
- line="80"
+ line="82"
column="5"/>
</issue>
@@ -1526,7 +1526,7 @@
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/PreviewImageProcessorImpl.java"
- line="39"
+ line="40"
column="18"/>
</issue>
@@ -1537,7 +1537,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/PreviewImageProcessorImpl.java"
- line="39"
+ line="40"
column="31"/>
</issue>
diff --git a/camera/camera-extensions/lint-baseline.xml b/camera/camera-extensions/lint-baseline.xml
index d1ce9b4..f404e0f 100644
--- a/camera/camera-extensions/lint-baseline.xml
+++ b/camera/camera-extensions/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="UnknownNullness"
diff --git a/camera/camera-lifecycle/lint-baseline.xml b/camera/camera-lifecycle/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/camera/camera-lifecycle/lint-baseline.xml
+++ b/camera/camera-lifecycle/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/camera/camera-testing/lint-baseline.xml b/camera/camera-testing/lint-baseline.xml
index c65d0d8..344fc4a 100644
--- a/camera/camera-testing/lint-baseline.xml
+++ b/camera/camera-testing/lint-baseline.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.camera.testing.compat.LooperCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.camera.testing.compat.LooperCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return looper.getQueue();"
errorLine2=" ~~~~~~~~">
<location
diff --git a/camera/camera-testing/src/main/java/androidx/camera/testing/CoreAppTestUtil.java b/camera/camera-testing/src/main/java/androidx/camera/testing/CoreAppTestUtil.java
index d1b6cb9e..876b212 100644
--- a/camera/camera-testing/src/main/java/androidx/camera/testing/CoreAppTestUtil.java
+++ b/camera/camera-testing/src/main/java/androidx/camera/testing/CoreAppTestUtil.java
@@ -25,6 +25,7 @@
import android.os.RemoteException;
import androidx.annotation.NonNull;
+import androidx.annotation.Nullable;
import androidx.camera.core.Logger;
import androidx.camera.testing.activity.ForegroundTestActivity;
import androidx.test.espresso.Espresso;
@@ -186,4 +187,42 @@
super(message);
}
}
+
+ /**
+ * Launch activity and return the activity instance for testing.
+ *
+ * @param instrumentation The instrumentation used to run the test
+ * @param activityClass The activity under test. This must be a class in the instrumentation
+ * targetPackage specified in the AndroidManifest.xml
+ * @param startIntent The Intent that will be used to start the Activity under test. If
+ * {@code startIntent} is null, a default launch Intent for the
+ * {@code activityClass} is used.
+ * @param <T> The Activity class under test
+ * @return Returns the reference to the activity for test.
+ */
+ @Nullable
+ public static <T extends Activity> T launchActivity(@NonNull Instrumentation instrumentation,
+ @NonNull Class<T> activityClass, @Nullable Intent startIntent) {
+ Context context = instrumentation.getTargetContext();
+
+ // inject custom intent, if provided
+ if (null == startIntent) {
+ startIntent = new Intent(Intent.ACTION_MAIN);
+ }
+
+ // Set target component if not set Intent
+ if (null == startIntent.getComponent()) {
+ startIntent.setClassName(context.getPackageName(), activityClass.getName());
+ }
+
+ // Set launch flags where if not set Intent
+ if (0 /* No flags set */ == startIntent.getFlags()) {
+ startIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
+ }
+
+ T activityRef = activityClass.cast(instrumentation.startActivitySync(startIntent));
+ instrumentation.waitForIdleSync();
+
+ return activityRef;
+ }
}
diff --git a/camera/camera-testing/src/main/java/androidx/camera/testing/LabTestRule.kt b/camera/camera-testing/src/main/java/androidx/camera/testing/LabTestRule.kt
new file mode 100644
index 0000000..4645b33
--- /dev/null
+++ b/camera/camera-testing/src/main/java/androidx/camera/testing/LabTestRule.kt
@@ -0,0 +1,73 @@
+/*
+ * Copyright 2021 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package androidx.camera.testing
+
+import android.util.Log
+import org.junit.Assume.assumeTrue
+import org.junit.rules.TestRule
+import org.junit.runner.Description
+import org.junit.runners.model.Statement
+
+/**
+ * A [TestRule] which can be used to limit the test only run on CameraX lab environment. It
+ * throws the AssumptionViolatedException to ignore the test if the test environment is not in the
+ * lab. Useful for the tests not needed to run on the PostSubmit.
+ *
+ * To use this [TestRule] do the following. <br></br><br></br>
+ *
+ * Add the Rule to your JUnit test. <br></br><br></br>
+ * `LabTestRule mLabTestRule = new LabTestRule();
+` *
+ * <br></br><br></br>
+ *
+ * Add the [LabTestOnly] annotation to your test case. <br></br><br></br>
+ * `public void yourTestCase() {
+ *
+ * }
+` *
+ * <br></br><br></br>
+ */
+class LabTestRule : TestRule {
+
+ /**
+ * The annotation for tests that only want to run on the CameraX lab environment
+ */
+ @Target(AnnotationTarget.FUNCTION)
+ @Retention(AnnotationRetention.RUNTIME)
+ annotation class LabTestOnly()
+
+ class LabTestStatement(private val statement: Statement) :
+ Statement() {
+
+ @Throws(Throwable::class)
+ override fun evaluate() {
+ // Only test in CameraX lab environment and throw AssumptionViolatedException if not
+ // in the lab environment. The loggable tag will be set when running the CameraX
+ // daily testing.
+ assumeTrue(Log.isLoggable("MH", Log.DEBUG))
+ statement.evaluate()
+ }
+ }
+
+ override fun apply(base: Statement, description: Description): Statement {
+ return if (description.getAnnotation(LabTestOnly::class.java) != null) {
+ LabTestStatement(base)
+ } else {
+ base
+ }
+ }
+}
diff --git a/camera/camera-video/lint-baseline.xml b/camera/camera-video/lint-baseline.xml
index 8f1aa4b..f288d94 100644
--- a/camera/camera-video/lint-baseline.xml
+++ b/camera/camera-video/lint-baseline.xml
@@ -1,4 +1,59 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.camera.video.internal.AudioSource is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (mAudioRecord.getTimestamp(audioTimestamp, AudioTimestamp.TIMEBASE_MONOTONIC)"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/video/internal/AudioSource.java"
+ line="269"
+ column="30"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.camera.video.internal.encoder.EncoderImpl.SurfaceInput is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mSurface = MediaCodec.createPersistentInputSurface();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/video/internal/encoder/EncoderImpl.java"
+ line="1087"
+ column="47"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.camera.video.internal.encoder.EncoderImpl.SurfaceInput is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mMediaCodec.setInputSurface(mSurface);"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/video/internal/encoder/EncoderImpl.java"
+ line="1092"
+ column="33"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.camera.video.VideoCaptureLegacy is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mediaMuxer = new MediaMuxer(outputFileOptions.getFileDescriptor(),"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/video/VideoCaptureLegacy.java"
+ line="1044"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.camera.video.VideoCaptureLegacy is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mediaMuxer = new MediaMuxer(mParcelFileDescriptor.getFileDescriptor(),"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/video/VideoCaptureLegacy.java"
+ line="1071"
+ column="34"/>
+ </issue>
</issues>
diff --git a/camera/camera-view/lint-baseline.xml b/camera/camera-view/lint-baseline.xml
index 964d790..c958ff5 100644
--- a/camera/camera-view/lint-baseline.xml
+++ b/camera/camera-view/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="BanTargetApiAnnotation"
@@ -13,19 +13,19 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.camera.view.PreviewView 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.camera.view.PreviewView is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" saveAttributeDataForStyleable(context, R.styleable.PreviewView, attrs, attributes,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/view/PreviewView.java"
- line="226"
+ line="234"
column="13"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.camera.view.SurfaceViewImplementation 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.camera.view.SurfaceViewImplementation is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" PixelCopy.request(mSurfaceView, bitmap, copyResult -> {"
errorLine2=" ~~~~~~~">
<location
diff --git a/camera/integration-tests/camerapipetestapp/lint-baseline.xml b/camera/integration-tests/camerapipetestapp/lint-baseline.xml
index d415296..a23af71 100644
--- a/camera/integration-tests/camerapipetestapp/lint-baseline.xml
+++ b/camera/integration-tests/camerapipetestapp/lint-baseline.xml
@@ -1,5 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.camera.integration.camera2.pipe.CameraPipeApplication is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" val elapsedRealtime = Process.getStartElapsedRealtime()"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/integration/camera2/pipe/CameraPipeApplication.kt"
+ line="47"
+ column="43"/>
+ </issue>
<issue
id="MissingTestSizeAnnotation"
@@ -13,17 +24,6 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.camera.integration.camera2.pipe.CameraPipeApplication 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=" val elapsedRealtime = Process.getStartElapsedRealtime()"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/camera2/pipe/CameraPipeApplication.kt"
- line="47"
- column="43"/>
- </issue>
-
- <issue
id="PermissionImpliesUnsupportedChromeOsHardware"
message="Permission exists without corresponding hardware `<uses-feature android:name="android.hardware.camera" required="false">` tag"
errorLine1=" <uses-permission android:name="android.permission.CAMERA" />"
diff --git a/camera/integration-tests/coretestapp/lint-baseline.xml b/camera/integration-tests/coretestapp/lint-baseline.xml
index 8664df8..6e3cfff 100644
--- a/camera/integration-tests/coretestapp/lint-baseline.xml
+++ b/camera/integration-tests/coretestapp/lint-baseline.xml
@@ -1,15 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="RestrictedApi"
message="VideoCapture.startRecording can only be called from within the same library group (groupId=androidx.camera)"
- errorLine1=" getVideoCapture().startRecording(mVideoFileSaver.getNewVideoOutputFileOptions("
- errorLine2=" ~~~~~~~~~~~~~~">
+ errorLine1=" getVideoCapture().startRecording(mVideoFileSaver.getNewVideoOutputFileOptions("
+ errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/integration/core/CameraXActivity.java"
- line="335"
- column="35"/>
+ line="357"
+ column="39"/>
</issue>
<issue
@@ -19,7 +19,7 @@
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/integration/core/CameraXActivity.java"
- line="343"
+ line="369"
column="35"/>
</issue>
@@ -52,7 +52,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/integration/core/CameraXActivity.java"
- line="177"
+ line="184"
column="13"/>
</issue>
@@ -63,7 +63,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/integration/core/CameraXActivity.java"
- line="180"
+ line="187"
column="22"/>
</issue>
@@ -74,7 +74,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/integration/core/CameraXActivity.java"
- line="181"
+ line="188"
column="21"/>
</issue>
@@ -85,7 +85,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/integration/core/CameraXActivity.java"
- line="360"
+ line="386"
column="25"/>
</issue>
@@ -96,7 +96,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/integration/core/CameraXActivity.java"
- line="363"
+ line="389"
column="25"/>
</issue>
@@ -107,7 +107,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/integration/core/CameraXActivity.java"
- line="372"
+ line="398"
column="33"/>
</issue>
@@ -118,7 +118,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/integration/core/CameraXActivity.java"
- line="381"
+ line="407"
column="45"/>
</issue>
@@ -129,62 +129,18 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/integration/core/CameraXActivity.java"
- line="403"
+ line="429"
column="45"/>
</issue>
<issue
id="SyntheticAccessor"
- message="Access to `private` field `mViewFinder` of class `CameraXActivity` requires synthetic accessor"
- errorLine1=" Display viewFinderDisplay = mViewFinder.getDisplay();"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/core/CameraXActivity.java"
- line="589"
- column="45"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mCamera` of class `CameraXActivity` requires synthetic accessor"
- errorLine1=" if (mCamera == null) {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/core/CameraXActivity.java"
- line="867"
- column="25"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mCamera` of class `CameraXActivity` requires synthetic accessor"
- errorLine1=" CameraInfo cameraInfo = mCamera.getCameraInfo();"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/core/CameraXActivity.java"
- line="871"
- column="45"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mCamera` of class `CameraXActivity` requires synthetic accessor"
- errorLine1=" CameraControl cameraControl = mCamera.getCameraControl();"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/core/CameraXActivity.java"
- line="872"
- column="51"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
message="Access to `private` field `mCameraProvider` of class `OpenGLActivity` requires synthetic accessor"
errorLine1=" if (mCameraProvider != null) {"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/integration/core/OpenGLActivity.java"
- line="261"
+ line="262"
column="33"/>
</issue>
@@ -195,7 +151,7 @@
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/integration/core/OpenGLActivity.java"
- line="262"
+ line="263"
column="33"/>
</issue>
diff --git a/camera/integration-tests/coretestapp/src/androidTest/java/androidx/camera/integration/core/CameraDisconnectTest.kt b/camera/integration-tests/coretestapp/src/androidTest/java/androidx/camera/integration/core/CameraDisconnectTest.kt
index 45de9b6..f600a24 100644
--- a/camera/integration-tests/coretestapp/src/androidTest/java/androidx/camera/integration/core/CameraDisconnectTest.kt
+++ b/camera/integration-tests/coretestapp/src/androidTest/java/androidx/camera/integration/core/CameraDisconnectTest.kt
@@ -27,6 +27,7 @@
import androidx.camera.testing.CoreAppTestUtil
import androidx.camera.testing.activity.Camera2TestActivity
import androidx.camera.testing.activity.CameraXTestActivity
+import androidx.test.core.app.ActivityScenario
import androidx.test.core.app.ApplicationProvider
import androidx.test.espresso.Espresso
import androidx.test.espresso.IdlingPolicies
@@ -35,7 +36,6 @@
import androidx.test.filters.LargeTest
import androidx.test.filters.SdkSuppress
import androidx.test.platform.app.InstrumentationRegistry
-import com.google.common.truth.Truth
import kotlinx.coroutines.runBlocking
import org.junit.After
import org.junit.Before
@@ -65,19 +65,8 @@
)
}
- @Suppress("DEPRECATION")
- @get:Rule
- val cameraXTestActivityRule = androidx.test.rule.ActivityTestRule(
- CameraXTestActivity::class.java, true, false
- )
-
- @Suppress("DEPRECATION")
- @get:Rule
- val camera2ActivityRule = androidx.test.rule.ActivityTestRule(
- Camera2TestActivity::class.java, true, false
- )
-
private val context: Context = ApplicationProvider.getApplicationContext()
+ private lateinit var cameraXActivityScenario: ActivityScenario<CameraXTestActivity>
@Before
fun setUp() {
@@ -95,12 +84,8 @@
@After
fun tearDown() {
- if (cameraXTestActivityRule.activity != null) {
- cameraXTestActivityRule.finishActivity()
- }
-
- if (camera2ActivityRule.activity != null) {
- camera2ActivityRule.finishActivity()
+ if (::cameraXActivityScenario.isInitialized) {
+ cameraXActivityScenario.close()
}
runBlocking {
@@ -112,38 +97,49 @@
@SdkSuppress(minSdkVersion = Build.VERSION_CODES.M) // Known issue, checkout b/147393563.
fun testCameraDisconnect() {
- // TODO(b/184603071): Migrate the ActivityTestRule to ActivityScenario
// Launch CameraX test activity
- with(cameraXTestActivityRule.launchActivity(Intent())) {
+ cameraXActivityScenario = ActivityScenario.launch(CameraXTestActivity::class.java)
+ with(cameraXActivityScenario) {
// Wait for preview to become active
waitForCameraXPreview()
- // Get id of camera opened by CameraX test activity
- Truth.assertThat(cameraId).isNotNull()
-
// Launch Camera2 test activity. It should cause the camera to disconnect from CameraX.
val intent = Intent(
context,
Camera2TestActivity::class.java
).apply {
- putExtra(Camera2TestActivity.EXTRA_CAMERA_ID, cameraId)
+ putExtra(Camera2TestActivity.EXTRA_CAMERA_ID, getCameraId())
}
- camera2ActivityRule.launchActivity(intent)
- // Wait for preview to become active
- camera2ActivityRule.activity.waitForCamera2Preview()
+ CoreAppTestUtil.launchActivity(
+ InstrumentationRegistry.getInstrumentation(),
+ Camera2TestActivity::class.java,
+ intent
+ )?.apply {
+ // Wait for preview to become active
+ waitForCamera2Preview()
- // Close Camera2 test activity, and verify the CameraX Preview resumes successfully.
- camera2ActivityRule.finishActivity()
+ // Close Camera2 test activity, and verify the CameraX Preview resumes successfully.
+ finish()
+ }
// Verify the CameraX Preview can resume successfully.
waitForCameraXPreview()
}
}
- private fun CameraXTestActivity.waitForCameraXPreview() {
- waitFor(previewReady)
+ private fun ActivityScenario<CameraXTestActivity>.getCameraId(): String {
+ var cameraId: String? = null
+ onActivity { cameraId = it.cameraId }
+ return cameraId!!
+ }
+
+ private fun ActivityScenario<CameraXTestActivity>.waitForCameraXPreview() {
+ var idlingResource: IdlingResource? = null
+ onActivity { idlingResource = it.previewReady }
+
+ waitFor(idlingResource!!)
}
private fun Camera2TestActivity.waitForCamera2Preview() {
diff --git a/camera/integration-tests/coretestapp/src/androidTest/java/androidx/camera/integration/core/YuvToRgbConverterTest.kt b/camera/integration-tests/coretestapp/src/androidTest/java/androidx/camera/integration/core/YuvToRgbConverterTest.kt
new file mode 100644
index 0000000..3d518ba
--- /dev/null
+++ b/camera/integration-tests/coretestapp/src/androidTest/java/androidx/camera/integration/core/YuvToRgbConverterTest.kt
@@ -0,0 +1,127 @@
+/*
+ * Copyright 2021 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package androidx.camera.integration.core
+
+import android.content.Context
+import android.graphics.Bitmap
+import androidx.camera.camera2.Camera2Config
+import androidx.camera.camera2.pipe.integration.CameraPipeConfig
+import androidx.camera.core.CameraSelector
+import androidx.camera.core.CameraX
+import androidx.camera.core.CameraXConfig
+import androidx.camera.core.ImageAnalysis
+import androidx.camera.core.internal.CameraUseCaseAdapter
+import androidx.camera.integration.core.util.YuvToRgbConverter
+import androidx.camera.testing.CameraUtil
+import androidx.camera.testing.LabTestRule
+import androidx.test.core.app.ApplicationProvider
+import androidx.test.filters.LargeTest
+import kotlinx.coroutines.Dispatchers
+import kotlinx.coroutines.asExecutor
+import kotlinx.coroutines.runBlocking
+import kotlinx.coroutines.withContext
+import org.junit.After
+import org.junit.Assert.assertTrue
+import org.junit.Assume
+import org.junit.Before
+import org.junit.Rule
+import org.junit.Test
+import org.junit.rules.TestRule
+import org.junit.runner.RunWith
+import org.junit.runners.Parameterized
+import java.util.concurrent.CountDownLatch
+import java.util.concurrent.TimeUnit
+
+// Test the YubToRgbConverter to convert the input image from CameraX
+@LargeTest
+@RunWith(Parameterized::class)
+class YuvToRgbConverterTest(
+ private val implName: String,
+ private val cameraXConfig: CameraXConfig
+) {
+ @get:Rule
+ val useCamera: TestRule = CameraUtil.grantCameraPermissionAndPreTest()
+
+ @get:Rule
+ val labTest: LabTestRule = LabTestRule()
+
+ private val context = ApplicationProvider.getApplicationContext<Context>()
+ private lateinit var camera: CameraUseCaseAdapter
+
+ companion object {
+ @JvmStatic
+ @Parameterized.Parameters(name = "{0}")
+ fun data() = listOf(
+ arrayOf(Camera2Config::class.simpleName, Camera2Config.defaultConfig()),
+ arrayOf(CameraPipeConfig::class.simpleName, CameraPipeConfig.defaultConfig())
+ )
+ }
+
+ @Before
+ fun setUp() {
+ Assume.assumeTrue(CameraUtil.deviceHasCamera())
+ CameraX.initialize(context, cameraXConfig).get(10, TimeUnit.SECONDS)
+ }
+
+ @After
+ fun tearDown(): Unit = runBlocking {
+ if (::camera.isInitialized) {
+ // TODO: The removeUseCases() call might be removed after clarifying the
+ // abortCaptures() issue in b/162314023
+ withContext(Dispatchers.Main) {
+ camera.removeUseCases(camera.useCases)
+ }
+ }
+ CameraX.shutdown().get(10, TimeUnit.SECONDS)
+ }
+
+ @LabTestRule.LabTestOnly
+ @Test
+ fun yubToRgbConverterTest() {
+ val yuvToRgbConverter = YuvToRgbConverter(context)
+ val countDownLatch = CountDownLatch(30)
+ val imageAnalyzer = ImageAnalysis.Builder().build().also {
+ it.setAnalyzer(
+ Dispatchers.Main.asExecutor(),
+ { image ->
+ var bitmap: Bitmap? = null
+ try {
+ bitmap = Bitmap.createBitmap(
+ image.width, image.height, Bitmap.Config.ARGB_8888
+ )
+ yuvToRgbConverter.yuvToRgb(image.image!!, bitmap)
+
+ // Test the YuvToRgbConverter#yuvToRgb can convert the image to bitmap
+ // successfully without any exception.
+ countDownLatch.countDown()
+ } finally {
+ bitmap?.recycle()
+ image.close()
+ }
+ }
+ )
+ }
+
+ camera = CameraUtil.createCameraAndAttachUseCase(
+ context,
+ CameraSelector.DEFAULT_BACK_CAMERA,
+ imageAnalyzer
+ )
+
+ assertTrue(countDownLatch.await(60, TimeUnit.SECONDS))
+ }
+}
\ No newline at end of file
diff --git a/camera/integration-tests/coretestapp/src/androidTest/java/androidx/camera/integration/core/util/YuvToRgbConverter.kt b/camera/integration-tests/coretestapp/src/androidTest/java/androidx/camera/integration/core/util/YuvToRgbConverter.kt
new file mode 100644
index 0000000..424f50c
--- /dev/null
+++ b/camera/integration-tests/coretestapp/src/androidTest/java/androidx/camera/integration/core/util/YuvToRgbConverter.kt
@@ -0,0 +1,191 @@
+/*
+ * Copyright 2021 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package androidx.camera.integration.core.util
+
+import android.annotation.SuppressLint
+import android.content.Context
+import android.graphics.Bitmap
+import android.graphics.ImageFormat
+import android.graphics.Rect
+import android.media.Image
+import java.nio.ByteBuffer
+
+/**
+ * Copy from the github for testing.
+ * Please reference: https://github.com/android/camera-samples/
+ *
+ * Helper class used to efficiently convert a Media.Image object from
+ * [ImageFormat.YUV_420_888] format to an RGB [Bitmap] object.
+ *
+ * The [yuvToRgb] method is able to achieve the same FPS as the CameraX image
+ * analysis use case on a Pixel 3 XL device at the default analyzer resolution,
+ * which is 30 FPS with 640x480.
+ *
+ * NOTE: This has been tested in a limited number of devices and is not
+ * considered production-ready code. It was created for illustration purposes,
+ * since this is not an efficient camera pipeline due to the multiple copies
+ * required to convert each frame.
+ */
+@Suppress("DEPRECATION")
+class YuvToRgbConverter(context: Context) {
+ private val rs = android.renderscript.RenderScript.create(context)
+ private val scriptYuvToRgb = android.renderscript.ScriptIntrinsicYuvToRGB.create(
+ rs,
+ android.renderscript.Element.U8_4(rs)
+ )
+
+ private var pixelCount: Int = -1
+ private lateinit var yuvBuffer: ByteBuffer
+ private lateinit var inputAllocation: android.renderscript.Allocation
+ private lateinit var outputAllocation: android.renderscript.Allocation
+
+ @SuppressLint("BanSynchronizedMethods")
+ @Synchronized
+ fun yuvToRgb(image: Image, output: Bitmap) {
+
+ // Ensure that the intermediate output byte buffer is allocated
+ if (!::yuvBuffer.isInitialized) {
+ pixelCount = image.cropRect.width() * image.cropRect.height()
+ yuvBuffer = ByteBuffer.allocateDirect(
+ pixelCount * ImageFormat.getBitsPerPixel(ImageFormat.YUV_420_888) / 8
+ )
+ }
+
+ // Get the YUV data in byte array form
+ imageToByteBuffer(image, yuvBuffer)
+
+ // Ensure that the RenderScript inputs and outputs are allocated
+ if (!::inputAllocation.isInitialized) {
+ inputAllocation = android.renderscript.Allocation.createSized(
+ rs,
+ android.renderscript.Element.U8(rs),
+ yuvBuffer.array().size
+ )
+ }
+ if (!::outputAllocation.isInitialized) {
+ outputAllocation = android.renderscript.Allocation.createFromBitmap(rs, output)
+ }
+
+ // Convert YUV to RGB
+ inputAllocation.copyFrom(yuvBuffer.array())
+ scriptYuvToRgb.setInput(inputAllocation)
+ scriptYuvToRgb.forEach(outputAllocation)
+ outputAllocation.copyTo(output)
+ }
+
+ private fun imageToByteBuffer(image: Image, outputBuffer: ByteBuffer) {
+ if (image.format != ImageFormat.YUV_420_888)
+ throw AssertionError("ImageFormat incorrect")
+
+ val imageCrop = image.cropRect
+ val imagePlanes = image.planes
+ val rowData = ByteArray(imagePlanes.first().rowStride)
+
+ imagePlanes.forEachIndexed { planeIndex, plane ->
+
+ // How many values are read in input for each output value written
+ // Only the Y plane has a value for every pixel, U and V have half the resolution i.e.
+ //
+ // Y Plane U Plane V Plane
+ // =============== ======= =======
+ // Y Y Y Y Y Y Y Y U U U U V V V V
+ // Y Y Y Y Y Y Y Y U U U U V V V V
+ // Y Y Y Y Y Y Y Y U U U U V V V V
+ // Y Y Y Y Y Y Y Y U U U U V V V V
+ // Y Y Y Y Y Y Y Y
+ // Y Y Y Y Y Y Y Y
+ // Y Y Y Y Y Y Y Y
+ val outputStride: Int
+
+ // The index in the output buffer the next value will be written at
+ // For Y it's zero, for U and V we start at the end of Y and interleave them i.e.
+ //
+ // First chunk Second chunk
+ // =============== ===============
+ // Y Y Y Y Y Y Y Y U V U V U V U V
+ // Y Y Y Y Y Y Y Y U V U V U V U V
+ // Y Y Y Y Y Y Y Y U V U V U V U V
+ // Y Y Y Y Y Y Y Y U V U V U V U V
+ // Y Y Y Y Y Y Y Y
+ // Y Y Y Y Y Y Y Y
+ // Y Y Y Y Y Y Y Y
+ var outputOffset: Int
+
+ when (planeIndex) {
+ 0 -> {
+ outputStride = 1
+ outputOffset = 0
+ }
+ 1 -> {
+ outputStride = 2
+ outputOffset = pixelCount + 1
+ }
+ 2 -> {
+ outputStride = 2
+ outputOffset = pixelCount
+ }
+ else -> {
+ // Image contains more than 3 planes, something strange is going on
+ return@forEachIndexed
+ }
+ }
+
+ val buffer = plane.buffer
+ val rowStride = plane.rowStride
+ val pixelStride = plane.pixelStride
+
+ // We have to divide the width and height by two if it's not the Y plane
+ val planeCrop = if (planeIndex == 0) {
+ imageCrop
+ } else {
+ Rect(
+ imageCrop.left / 2,
+ imageCrop.top / 2,
+ imageCrop.right / 2,
+ imageCrop.bottom / 2
+ )
+ }
+
+ val planeWidth = planeCrop.width()
+ val planeHeight = planeCrop.height()
+
+ buffer.position(rowStride * planeCrop.top + pixelStride * planeCrop.left)
+ for (row in 0 until planeHeight) {
+ val length: Int
+ if (pixelStride == 1 && outputStride == 1) {
+ // When there is a single stride value for pixel and output, we can just copy
+ // the entire row in a single step
+ length = planeWidth
+ buffer.get(outputBuffer.array(), outputOffset, length)
+ outputOffset += length
+ } else {
+ // When either pixel or output have a stride > 1 we must copy pixel by pixel
+ length = (planeWidth - 1) * pixelStride + 1
+ buffer.get(rowData, 0, length)
+ for (col in 0 until planeWidth) {
+ outputBuffer.array()[outputOffset] = rowData[col * pixelStride]
+ outputOffset += outputStride
+ }
+ }
+
+ if (row < planeHeight - 1) {
+ buffer.position(buffer.position() + rowStride - length)
+ }
+ }
+ }
+ }
+}
diff --git a/camera/integration-tests/extensionstestapp/lint-baseline.xml b/camera/integration-tests/extensionstestapp/lint-baseline.xml
index b628f0e..ce123d0 100644
--- a/camera/integration-tests/extensionstestapp/lint-baseline.xml
+++ b/camera/integration-tests/extensionstestapp/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="UnsupportedChromeOsHardware"
@@ -30,7 +30,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/camera/integration/extensions/CameraExtensionsActivity.java"
- line="261"
+ line="277"
column="29"/>
</issue>
diff --git a/camera/integration-tests/extensionstestlib/lint-baseline.xml b/camera/integration-tests/extensionstestlib/lint-baseline.xml
index e747a11..bafcebb 100644
--- a/camera/integration-tests/extensionstestlib/lint-baseline.xml
+++ b/camera/integration-tests/extensionstestlib/lint-baseline.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mImageWriter = ImageWriter.newInstance(surface, 1);"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -13,8 +13,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" Image image = mImageWriter.dequeueInputImage();"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -24,8 +24,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mImageWriter.queueInputImage(image);"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
@@ -35,8 +35,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mImageWriter = ImageWriter.newInstance(surface, 1);"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -46,8 +46,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" Image image = mImageWriter.dequeueInputImage();"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -57,8 +57,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mImageWriter.queueInputImage(image);"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
@@ -68,8 +68,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mImageWriter = ImageWriter.newInstance(surface, 1);"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -79,8 +79,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" Image image = mImageWriter.dequeueInputImage();"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -90,8 +90,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mImageWriter.queueInputImage(image);"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
@@ -101,8 +101,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mImageWriter = ImageWriter.newInstance(surface, 1);"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -112,8 +112,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" Image outputImage = mImageWriter.dequeueInputImage();"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -123,8 +123,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mImageWriter.queueInputImage(outputImage);"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
@@ -134,8 +134,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mImageWriter = ImageWriter.newInstance(surface, 1);"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -145,8 +145,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" Image image = mImageWriter.dequeueInputImage();"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -156,8 +156,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mImageWriter.queueInputImage(image);"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
@@ -261,7 +261,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/AutoImageCaptureExtenderImpl.java"
- line="163"
+ line="169"
column="12"/>
</issue>
@@ -272,7 +272,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/AutoImageCaptureExtenderImpl.java"
- line="173"
+ line="179"
column="12"/>
</issue>
@@ -283,7 +283,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/AutoImageCaptureExtenderImpl.java"
- line="188"
+ line="194"
column="12"/>
</issue>
@@ -294,7 +294,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/AutoPreviewExtenderImpl.java"
- line="46"
+ line="47"
column="22"/>
</issue>
@@ -305,7 +305,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/AutoPreviewExtenderImpl.java"
- line="46"
+ line="47"
column="39"/>
</issue>
@@ -316,7 +316,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/AutoPreviewExtenderImpl.java"
- line="62"
+ line="63"
column="12"/>
</issue>
@@ -327,7 +327,7 @@
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/AutoPreviewExtenderImpl.java"
- line="72"
+ line="73"
column="12"/>
</issue>
@@ -338,7 +338,7 @@
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/AutoPreviewExtenderImpl.java"
- line="77"
+ line="78"
column="12"/>
</issue>
@@ -349,7 +349,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/AutoPreviewExtenderImpl.java"
- line="82"
+ line="83"
column="12"/>
</issue>
@@ -360,7 +360,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/AutoPreviewExtenderImpl.java"
- line="87"
+ line="88"
column="24"/>
</issue>
@@ -371,7 +371,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/AutoPreviewExtenderImpl.java"
- line="87"
+ line="88"
column="41"/>
</issue>
@@ -382,7 +382,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/AutoPreviewExtenderImpl.java"
- line="88"
+ line="89"
column="13"/>
</issue>
@@ -393,7 +393,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/AutoPreviewExtenderImpl.java"
- line="98"
+ line="99"
column="12"/>
</issue>
@@ -404,7 +404,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/AutoPreviewExtenderImpl.java"
- line="108"
+ line="115"
column="12"/>
</issue>
@@ -415,7 +415,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/AutoPreviewExtenderImpl.java"
- line="118"
+ line="125"
column="12"/>
</issue>
@@ -514,7 +514,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/BeautyImageCaptureExtenderImpl.java"
- line="168"
+ line="174"
column="12"/>
</issue>
@@ -525,7 +525,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/BeautyImageCaptureExtenderImpl.java"
- line="178"
+ line="184"
column="12"/>
</issue>
@@ -536,7 +536,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/BeautyImageCaptureExtenderImpl.java"
- line="193"
+ line="199"
column="12"/>
</issue>
@@ -547,7 +547,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/BeautyPreviewExtenderImpl.java"
- line="51"
+ line="52"
column="22"/>
</issue>
@@ -558,7 +558,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/BeautyPreviewExtenderImpl.java"
- line="51"
+ line="52"
column="39"/>
</issue>
@@ -569,7 +569,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/BeautyPreviewExtenderImpl.java"
- line="68"
+ line="69"
column="12"/>
</issue>
@@ -580,7 +580,7 @@
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/BeautyPreviewExtenderImpl.java"
- line="78"
+ line="79"
column="12"/>
</issue>
@@ -591,7 +591,7 @@
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/BeautyPreviewExtenderImpl.java"
- line="83"
+ line="84"
column="12"/>
</issue>
@@ -602,7 +602,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/BeautyPreviewExtenderImpl.java"
- line="88"
+ line="89"
column="12"/>
</issue>
@@ -613,7 +613,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/BeautyPreviewExtenderImpl.java"
- line="108"
+ line="109"
column="24"/>
</issue>
@@ -624,7 +624,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/BeautyPreviewExtenderImpl.java"
- line="108"
+ line="109"
column="41"/>
</issue>
@@ -635,7 +635,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/BeautyPreviewExtenderImpl.java"
- line="109"
+ line="110"
column="13"/>
</issue>
@@ -646,7 +646,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/BeautyPreviewExtenderImpl.java"
- line="119"
+ line="120"
column="12"/>
</issue>
@@ -657,7 +657,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/BeautyPreviewExtenderImpl.java"
- line="129"
+ line="136"
column="12"/>
</issue>
@@ -668,7 +668,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/BeautyPreviewExtenderImpl.java"
- line="139"
+ line="146"
column="12"/>
</issue>
@@ -767,7 +767,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/BokehImageCaptureExtenderImpl.java"
- line="164"
+ line="170"
column="12"/>
</issue>
@@ -778,7 +778,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/BokehImageCaptureExtenderImpl.java"
- line="174"
+ line="180"
column="12"/>
</issue>
@@ -789,7 +789,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/BokehImageCaptureExtenderImpl.java"
- line="189"
+ line="195"
column="12"/>
</issue>
@@ -800,7 +800,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/BokehPreviewExtenderImpl.java"
- line="49"
+ line="50"
column="22"/>
</issue>
@@ -811,7 +811,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/BokehPreviewExtenderImpl.java"
- line="49"
+ line="50"
column="39"/>
</issue>
@@ -822,7 +822,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/BokehPreviewExtenderImpl.java"
- line="68"
+ line="69"
column="12"/>
</issue>
@@ -833,7 +833,7 @@
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/BokehPreviewExtenderImpl.java"
- line="73"
+ line="74"
column="12"/>
</issue>
@@ -844,7 +844,7 @@
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/BokehPreviewExtenderImpl.java"
- line="116"
+ line="117"
column="12"/>
</issue>
@@ -855,7 +855,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/BokehPreviewExtenderImpl.java"
- line="121"
+ line="122"
column="12"/>
</issue>
@@ -866,7 +866,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/BokehPreviewExtenderImpl.java"
- line="126"
+ line="127"
column="24"/>
</issue>
@@ -877,7 +877,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/BokehPreviewExtenderImpl.java"
- line="126"
+ line="127"
column="41"/>
</issue>
@@ -888,7 +888,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/BokehPreviewExtenderImpl.java"
- line="127"
+ line="128"
column="13"/>
</issue>
@@ -899,7 +899,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/BokehPreviewExtenderImpl.java"
- line="137"
+ line="138"
column="12"/>
</issue>
@@ -910,7 +910,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/BokehPreviewExtenderImpl.java"
- line="147"
+ line="154"
column="12"/>
</issue>
@@ -921,7 +921,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/BokehPreviewExtenderImpl.java"
- line="157"
+ line="164"
column="12"/>
</issue>
@@ -932,7 +932,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/CaptureProcessorImpl.java"
- line="40"
+ line="41"
column="26"/>
</issue>
@@ -943,7 +943,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/CaptureProcessorImpl.java"
- line="52"
+ line="53"
column="18"/>
</issue>
@@ -954,7 +954,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/CaptureProcessorImpl.java"
- line="61"
+ line="62"
column="29"/>
</issue>
@@ -976,7 +976,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/ExtenderStateListener.java"
- line="41"
+ line="42"
column="17"/>
</issue>
@@ -987,7 +987,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/ExtenderStateListener.java"
- line="41"
+ line="42"
column="34"/>
</issue>
@@ -998,7 +998,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/ExtenderStateListener.java"
- line="41"
+ line="42"
column="79"/>
</issue>
@@ -1009,7 +1009,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/ExtenderStateListener.java"
- line="59"
+ line="62"
column="5"/>
</issue>
@@ -1020,7 +1020,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/ExtenderStateListener.java"
- line="70"
+ line="73"
column="5"/>
</issue>
@@ -1031,7 +1031,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/ExtenderStateListener.java"
- line="80"
+ line="83"
column="5"/>
</issue>
@@ -1152,7 +1152,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/HdrImageCaptureExtenderImpl.java"
- line="237"
+ line="243"
column="12"/>
</issue>
@@ -1163,7 +1163,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/HdrImageCaptureExtenderImpl.java"
- line="243"
+ line="249"
column="12"/>
</issue>
@@ -1174,7 +1174,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/HdrImageCaptureExtenderImpl.java"
- line="254"
+ line="260"
column="12"/>
</issue>
@@ -1471,7 +1471,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/NightImageCaptureExtenderImpl.java"
- line="163"
+ line="169"
column="12"/>
</issue>
@@ -1482,7 +1482,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/NightImageCaptureExtenderImpl.java"
- line="173"
+ line="179"
column="12"/>
</issue>
@@ -1493,7 +1493,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/NightImageCaptureExtenderImpl.java"
- line="188"
+ line="194"
column="12"/>
</issue>
@@ -1504,7 +1504,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/NightPreviewExtenderImpl.java"
- line="46"
+ line="47"
column="22"/>
</issue>
@@ -1515,7 +1515,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/NightPreviewExtenderImpl.java"
- line="46"
+ line="47"
column="39"/>
</issue>
@@ -1526,7 +1526,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/NightPreviewExtenderImpl.java"
- line="62"
+ line="63"
column="12"/>
</issue>
@@ -1537,7 +1537,7 @@
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/NightPreviewExtenderImpl.java"
- line="72"
+ line="73"
column="12"/>
</issue>
@@ -1548,7 +1548,7 @@
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/NightPreviewExtenderImpl.java"
- line="77"
+ line="78"
column="12"/>
</issue>
@@ -1559,7 +1559,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/NightPreviewExtenderImpl.java"
- line="82"
+ line="83"
column="12"/>
</issue>
@@ -1570,7 +1570,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/NightPreviewExtenderImpl.java"
- line="87"
+ line="88"
column="24"/>
</issue>
@@ -1581,7 +1581,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/NightPreviewExtenderImpl.java"
- line="87"
+ line="88"
column="41"/>
</issue>
@@ -1592,7 +1592,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/NightPreviewExtenderImpl.java"
- line="88"
+ line="89"
column="13"/>
</issue>
@@ -1603,7 +1603,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/NightPreviewExtenderImpl.java"
- line="98"
+ line="99"
column="12"/>
</issue>
@@ -1614,7 +1614,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/NightPreviewExtenderImpl.java"
- line="108"
+ line="115"
column="12"/>
</issue>
@@ -1625,7 +1625,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/NightPreviewExtenderImpl.java"
- line="118"
+ line="125"
column="12"/>
</issue>
@@ -1713,7 +1713,7 @@
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/PreviewImageProcessorImpl.java"
- line="39"
+ line="40"
column="18"/>
</issue>
@@ -1724,7 +1724,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/extensions/impl/PreviewImageProcessorImpl.java"
- line="39"
+ line="40"
column="31"/>
</issue>
diff --git a/camera/integration-tests/timingtestapp/lint-baseline.xml b/camera/integration-tests/timingtestapp/lint-baseline.xml
index ee8072e..aa4e397 100644
--- a/camera/integration-tests/timingtestapp/lint-baseline.xml
+++ b/camera/integration-tests/timingtestapp/lint-baseline.xml
@@ -1,20 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.camera.integration.antelope.CameraUtilsKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.camera.integration.antelope.CameraUtilsKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" physicalCameras = cameraChars.physicalCameraIds"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/camera/integration/antelope/CameraUtils.kt"
- line="178"
+ line="190"
column="51"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.camera.integration.antelope.cameracontrollers.CameraXControllerKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.camera.integration.antelope.cameracontrollers.CameraXControllerKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" released = texture.isReleased"
errorLine2=" ~~~~~~~~~~">
<location
diff --git a/camera/integration-tests/uiwidgetstestapp/lint-baseline.xml b/camera/integration-tests/uiwidgetstestapp/lint-baseline.xml
index 62b521c..c0a96b9 100644
--- a/camera/integration-tests/uiwidgetstestapp/lint-baseline.xml
+++ b/camera/integration-tests/uiwidgetstestapp/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="PermissionImpliesUnsupportedChromeOsHardware"
diff --git a/camera/integration-tests/viewtestapp/lint-baseline.xml b/camera/integration-tests/viewtestapp/lint-baseline.xml
index adc33a7..13ee99b 100644
--- a/camera/integration-tests/viewtestapp/lint-baseline.xml
+++ b/camera/integration-tests/viewtestapp/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="RestrictedApi"
@@ -107,7 +107,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/strings.xml"
- line="41"
+ line="42"
column="13"/>
</issue>
@@ -118,7 +118,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/strings.xml"
- line="42"
+ line="43"
column="13"/>
</issue>
diff --git a/camera/integration-tests/viewtestapp/src/androidTest/java/androidx/camera/integration/view/CameraControllerFragmentTest.kt b/camera/integration-tests/viewtestapp/src/androidTest/java/androidx/camera/integration/view/CameraControllerFragmentTest.kt
index 0120375..5ee2e66 100644
--- a/camera/integration-tests/viewtestapp/src/androidTest/java/androidx/camera/integration/view/CameraControllerFragmentTest.kt
+++ b/camera/integration-tests/viewtestapp/src/androidTest/java/androidx/camera/integration/view/CameraControllerFragmentTest.kt
@@ -231,6 +231,7 @@
}
@Test
+ @Ignore
fun capturedImage_sameAsPreviewSnapshot() {
// TODO(b/147448711) Add back in once cuttlefish has correct user cropping functionality.
Assume.assumeFalse(
@@ -522,11 +523,14 @@
val analysisStreaming = Semaphore(0)
instrumentation.runOnMainSync {
setWrappedAnalyzer {
- it.close()
analysisStreaming.release()
}
}
- assertThat(analysisStreaming.tryAcquire(TIMEOUT_SECONDS, TimeUnit.SECONDS)).isEqualTo(
+ // Wait for 2 analysis frames. It's necessary because even after the analyzer is removed on
+ // the main thread, there could already be a frame posted on user call back thread. For the
+ // default non-blocking mode, the max number of frame posted on user thread at the same
+ // time is 1. So we wait for one additional frame to make sure the analyzer has stopped.
+ assertThat(analysisStreaming.tryAcquire(2, TIMEOUT_SECONDS, TimeUnit.SECONDS)).isEqualTo(
streaming
)
}
diff --git a/car/app/app-activity/lint-baseline.xml b/car/app/app-activity/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/car/app/app-activity/lint-baseline.xml
+++ b/car/app/app-activity/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/car/app/app-samples/helloworld/automotive/lint-baseline.xml b/car/app/app-samples/helloworld/automotive/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/car/app/app-samples/helloworld/automotive/lint-baseline.xml
+++ b/car/app/app-samples/helloworld/automotive/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/car/app/app-samples/helloworld/mobile/lint-baseline.xml b/car/app/app-samples/helloworld/mobile/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/car/app/app-samples/helloworld/mobile/lint-baseline.xml
+++ b/car/app/app-samples/helloworld/mobile/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/car/app/app-samples/navigation/common/lint-baseline.xml b/car/app/app-samples/navigation/common/lint-baseline.xml
index fc548a4..e3b52a1 100644
--- a/car/app/app-samples/navigation/common/lint-baseline.xml
+++ b/car/app/app-samples/navigation/common/lint-baseline.xml
@@ -2,63 +2,113 @@
<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
- id="ObsoleteSdkInt"
- message="Unnecessary; SDK_INT is always >= 29"
- errorLine1=" if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.car.app.sample.navigation.common.car.NavigationCarAppService is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" new NotificationChannel(CHANNEL_ID, name, NotificationManager.IMPORTANCE_HIGH);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="../src/main/java/androidx/car/app/sample/navigation/common/
- car/NavigationCarAppService.java"
- line="102"
- column="13"/>
+ file="src/main/java/androidx/car/app/sample/navigation/common/car/NavigationCarAppService.java"
+ line="106"
+ column="21"/>
</issue>
<issue
- id="ObsoleteSdkInt"
- message="Unnecessary; SDK_INT is always >= 29"
- errorLine1=" if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.car.app.sample.navigation.common.car.NavigationCarAppService is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" notificationManager.createNotificationChannel(serviceChannel);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="../src/main/java/androidx/car/app/sample/navigation/common/
- car/NavigationCarAppService.java"
- line="118"
- column="13"/>
+ file="src/main/java/androidx/car/app/sample/navigation/common/car/NavigationCarAppService.java"
+ line="107"
+ column="33"/>
</issue>
<issue
- id="ObsoleteSdkInt"
- message="Unnecessary; SDK_INT is never < 29"
- errorLine1=" if (Build.VERSION.SDK_INT < Build.VERSION_CODES.O) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.car.app.sample.navigation.common.nav.NavigationService is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" new AudioFocusRequest.Builder(AudioManager.AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK)"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="../src/main/java/androidx/car/app/sample/navigation/common/
- nav/NavigationService.java"
- line="423"
- column="13"/>
+ file="src/main/java/androidx/car/app/sample/navigation/common/nav/NavigationService.java"
+ line="449"
+ column="17"/>
</issue>
<issue
- id="ObsoleteSdkInt"
- message="Unnecessary; SDK_INT is always >= 29"
- errorLine1=" if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.car.app.sample.navigation.common.nav.NavigationService is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setAudioAttributes(audioAttributes)"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
- file="../src/main/java/androidx/car/app/sample/navigation/common/
- nav/NavigationService.java"
- line="500"
- column="13"/>
+ file="src/main/java/androidx/car/app/sample/navigation/common/nav/NavigationService.java"
+ line="450"
+ column="26"/>
</issue>
<issue
- id="ObsoleteSdkInt"
- message="Unnecessary; SDK_INT is always >= 29"
- errorLine1=" if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.car.app.sample.navigation.common.nav.NavigationService is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .build();"
+ errorLine2=" ~~~~~">
<location
- file="../src/main/java/androidx/car/app/sample/navigation/common/
- nav/NavigationService.java"
- line="535"
- column="13"/>
+ file="src/main/java/androidx/car/app/sample/navigation/common/nav/NavigationService.java"
+ line="451"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.car.app.sample.navigation.common.nav.NavigationService is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" audioManager.abandonAudioFocusRequest(request);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/car/app/sample/navigation/common/nav/NavigationService.java"
+ line="464"
+ column="38"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.car.app.sample.navigation.common.nav.NavigationService is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (audioManager.requestAudioFocus(request) != AUDIOFOCUS_REQUEST_GRANTED) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/car/app/sample/navigation/common/nav/NavigationService.java"
+ line="469"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.car.app.sample.navigation.common.nav.NavigationService is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" audioManager.abandonAudioFocusRequest(request);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/car/app/sample/navigation/common/nav/NavigationService.java"
+ line="486"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.car.app.sample.navigation.common.nav.NavigationService is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" new NotificationChannel(CHANNEL_ID, name, NotificationManager.IMPORTANCE_HIGH);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/car/app/sample/navigation/common/nav/NavigationService.java"
+ line="503"
+ column="21"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.car.app.sample.navigation.common.nav.NavigationService is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mNotificationManager.createNotificationChannel(serviceChannel);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/car/app/sample/navigation/common/nav/NavigationService.java"
+ line="504"
+ column="34"/>
</issue>
</issues>
diff --git a/car/app/app-samples/places/common/lint-baseline.xml b/car/app/app-samples/places/common/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/car/app/app-samples/places/common/lint-baseline.xml
+++ b/car/app/app-samples/places/common/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/car/app/app-samples/showcase/common/lint-baseline.xml b/car/app/app-samples/showcase/common/lint-baseline.xml
new file mode 100644
index 0000000..df7846f9
--- /dev/null
+++ b/car/app/app-samples/showcase/common/lint-baseline.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.car.app.sample.showcase.common.navigation.NavigationNotificationService is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" new NotificationChannel("
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/car/app/sample/showcase/common/navigation/NavigationNotificationService.java"
+ line="112"
+ column="21"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.car.app.sample.showcase.common.navigation.NavigationNotificationsDemoScreen is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" context.startForegroundService(intent);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/car/app/sample/showcase/common/navigation/NavigationNotificationsDemoScreen.java"
+ line="59"
+ column="49"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.car.app.sample.showcase.common.misc.NotificationDemoScreen is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" new NotificationChannel("
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/car/app/sample/showcase/common/misc/NotificationDemoScreen.java"
+ line="228"
+ column="21"/>
+ </issue>
+
+</issues>
diff --git a/car/app/app-testing/lint-baseline.xml b/car/app/app-testing/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/car/app/app-testing/lint-baseline.xml
+++ b/car/app/app-testing/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/car/app/app/lint-baseline.xml b/car/app/app/lint-baseline.xml
index 067f970..0d7de48 100644
--- a/car/app/app/lint-baseline.xml
+++ b/car/app/app/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="BanUncheckedReflection"
@@ -8,7 +8,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/car/app/serialization/Bundler.java"
- line="322"
+ line="343"
column="33"/>
</issue>
@@ -19,7 +19,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/car/app/serialization/Bundler.java"
- line="405"
+ line="427"
column="26"/>
</issue>
@@ -30,7 +30,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/car/app/serialization/Bundler.java"
- line="483"
+ line="514"
column="20"/>
</issue>
diff --git a/cardview/cardview/lint-baseline.xml b/cardview/cardview/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/cardview/cardview/lint-baseline.xml
+++ b/cardview/cardview/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/collection/collection-benchmark/lint-baseline.xml b/collection/collection-benchmark/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/collection/collection-benchmark/lint-baseline.xml
+++ b/collection/collection-benchmark/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/collection/collection-ktx/lint-baseline.xml b/collection/collection-ktx/lint-baseline.xml
index 297ae16..8794ae8 100644
--- a/collection/collection-ktx/lint-baseline.xml
+++ b/collection/collection-ktx/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
</issues>
diff --git a/collection/collection/lint-baseline.xml b/collection/collection/lint-baseline.xml
index 1626564..ec399b3 100644
--- a/collection/collection/lint-baseline.xml
+++ b/collection/collection/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
<issue
id="BanSynchronizedMethods"
@@ -107,7 +107,7 @@
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/collection/ArrayMap.java"
- line="76"
+ line="77"
column="21"/>
</issue>
diff --git a/collection/integration-tests/testapp/lint-baseline.xml b/collection/integration-tests/testapp/lint-baseline.xml
index 297ae16..8794ae8 100644
--- a/collection/integration-tests/testapp/lint-baseline.xml
+++ b/collection/integration-tests/testapp/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
</issues>
diff --git a/compose/androidview/androidview/lint-baseline.xml b/compose/androidview/androidview/lint-baseline.xml
index bf62433..35f9352 100644
--- a/compose/androidview/androidview/lint-baseline.xml
+++ b/compose/androidview/androidview/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta04" client="gradle" variant="debug" version="4.2.0-beta04">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="BanUncheckedReflection"
diff --git a/compose/foundation/foundation/src/androidAndroidTest/kotlin/androidx/compose/foundation/text/TextPreparedSelectionTest.kt b/compose/foundation/foundation/src/androidAndroidTest/kotlin/androidx/compose/foundation/text/TextPreparedSelectionTest.kt
index 460c4f6..dce1e3a 100644
--- a/compose/foundation/foundation/src/androidAndroidTest/kotlin/androidx/compose/foundation/text/TextPreparedSelectionTest.kt
+++ b/compose/foundation/foundation/src/androidAndroidTest/kotlin/androidx/compose/foundation/text/TextPreparedSelectionTest.kt
@@ -17,7 +17,6 @@
package androidx.compose.foundation.text
import androidx.compose.foundation.text.selection.BaseTextPreparedSelection
-import androidx.compose.foundation.text.selection.TextFieldPreparedSelection
import androidx.compose.foundation.text.selection.TextPreparedSelection
import androidx.compose.runtime.CompositionLocalProvider
import androidx.compose.ui.platform.LocalLayoutDirection
@@ -26,7 +25,6 @@
import androidx.compose.ui.text.TextLayoutResult
import androidx.compose.ui.text.TextRange
import androidx.compose.ui.text.TextStyle
-import androidx.compose.ui.text.input.TextFieldValue
import androidx.compose.ui.unit.LayoutDirection
import androidx.test.ext.junit.runners.AndroidJUnit4
import androidx.test.filters.MediumTest
@@ -196,26 +194,4 @@
test(SelectionScope(prepared), prepared)
}
-
- private fun textFieldSelectionTest(
- initText: String = "",
- initSelection: TextRange = TextRange(0),
- test: SelectionScope<TextFieldPreparedSelection>.(TextFieldPreparedSelection) -> Unit
- ) {
- var textLayout: TextLayoutResult? = null
- rule.setContent {
- BasicText(
- text = initText,
- style = TextStyle(fontFamily = TEST_FONT_FAMILY),
- onTextLayout = { textLayout = it }
- )
- }
-
- val prepared = TextFieldPreparedSelection(
- currentValue = TextFieldValue(initText, initSelection),
- layoutResultProxy = TextLayoutResultProxy(textLayout!!)
- )
-
- test(SelectionScope(prepared), prepared)
- }
}
diff --git a/compose/material/material-ripple/api/1.0.0-beta06.txt b/compose/material/material-ripple/api/1.0.0-beta06.txt
index 3e18f6d..171df53 100644
--- a/compose/material/material-ripple/api/1.0.0-beta06.txt
+++ b/compose/material/material-ripple/api/1.0.0-beta06.txt
@@ -35,5 +35,8 @@
method public static androidx.compose.runtime.ProvidableCompositionLocal<androidx.compose.material.ripple.RippleTheme> getLocalRippleTheme();
}
+ public final class Ripple_androidKt {
+ }
+
}
diff --git a/compose/material/material-ripple/api/current.txt b/compose/material/material-ripple/api/current.txt
index 3e18f6d..171df53 100644
--- a/compose/material/material-ripple/api/current.txt
+++ b/compose/material/material-ripple/api/current.txt
@@ -35,5 +35,8 @@
method public static androidx.compose.runtime.ProvidableCompositionLocal<androidx.compose.material.ripple.RippleTheme> getLocalRippleTheme();
}
+ public final class Ripple_androidKt {
+ }
+
}
diff --git a/compose/material/material-ripple/api/public_plus_experimental_1.0.0-beta06.txt b/compose/material/material-ripple/api/public_plus_experimental_1.0.0-beta06.txt
index 3e18f6d..9c82a47 100644
--- a/compose/material/material-ripple/api/public_plus_experimental_1.0.0-beta06.txt
+++ b/compose/material/material-ripple/api/public_plus_experimental_1.0.0-beta06.txt
@@ -1,6 +1,9 @@
// Signature format: 4.0
package androidx.compose.material.ripple {
+ @kotlin.RequiresOptIn(message="This ripple API is experimental and may change / be removed in the future.") public @interface ExperimentalRippleApi {
+ }
+
@androidx.compose.runtime.Immutable public final class RippleAlpha {
ctor public RippleAlpha(float draggedAlpha, float focusedAlpha, float hoveredAlpha, float pressedAlpha);
method public float getDraggedAlpha();
@@ -35,5 +38,9 @@
method public static androidx.compose.runtime.ProvidableCompositionLocal<androidx.compose.material.ripple.RippleTheme> getLocalRippleTheme();
}
+ public final class Ripple_androidKt {
+ method @androidx.compose.material.ripple.ExperimentalRippleApi public static androidx.compose.runtime.ProvidableCompositionLocal<java.lang.Boolean> getLocalRippleNativeRendering();
+ }
+
}
diff --git a/compose/material/material-ripple/api/public_plus_experimental_current.txt b/compose/material/material-ripple/api/public_plus_experimental_current.txt
index 3e18f6d..9c82a47 100644
--- a/compose/material/material-ripple/api/public_plus_experimental_current.txt
+++ b/compose/material/material-ripple/api/public_plus_experimental_current.txt
@@ -1,6 +1,9 @@
// Signature format: 4.0
package androidx.compose.material.ripple {
+ @kotlin.RequiresOptIn(message="This ripple API is experimental and may change / be removed in the future.") public @interface ExperimentalRippleApi {
+ }
+
@androidx.compose.runtime.Immutable public final class RippleAlpha {
ctor public RippleAlpha(float draggedAlpha, float focusedAlpha, float hoveredAlpha, float pressedAlpha);
method public float getDraggedAlpha();
@@ -35,5 +38,9 @@
method public static androidx.compose.runtime.ProvidableCompositionLocal<androidx.compose.material.ripple.RippleTheme> getLocalRippleTheme();
}
+ public final class Ripple_androidKt {
+ method @androidx.compose.material.ripple.ExperimentalRippleApi public static androidx.compose.runtime.ProvidableCompositionLocal<java.lang.Boolean> getLocalRippleNativeRendering();
+ }
+
}
diff --git a/compose/material/material-ripple/api/restricted_1.0.0-beta06.txt b/compose/material/material-ripple/api/restricted_1.0.0-beta06.txt
index 3e18f6d..171df53 100644
--- a/compose/material/material-ripple/api/restricted_1.0.0-beta06.txt
+++ b/compose/material/material-ripple/api/restricted_1.0.0-beta06.txt
@@ -35,5 +35,8 @@
method public static androidx.compose.runtime.ProvidableCompositionLocal<androidx.compose.material.ripple.RippleTheme> getLocalRippleTheme();
}
+ public final class Ripple_androidKt {
+ }
+
}
diff --git a/compose/material/material-ripple/api/restricted_current.txt b/compose/material/material-ripple/api/restricted_current.txt
index 3e18f6d..171df53 100644
--- a/compose/material/material-ripple/api/restricted_current.txt
+++ b/compose/material/material-ripple/api/restricted_current.txt
@@ -35,5 +35,8 @@
method public static androidx.compose.runtime.ProvidableCompositionLocal<androidx.compose.material.ripple.RippleTheme> getLocalRippleTheme();
}
+ public final class Ripple_androidKt {
+ }
+
}
diff --git a/compose/material/material-ripple/build.gradle b/compose/material/material-ripple/build.gradle
index 4529ad0..d52942a 100644
--- a/compose/material/material-ripple/build.gradle
+++ b/compose/material/material-ripple/build.gradle
@@ -47,6 +47,12 @@
testImplementation(ANDROIDX_TEST_RUNNER)
testImplementation(JUNIT)
testImplementation(TRUTH)
+
+ androidTestImplementation(project(":compose:test-utils"))
+ androidTestImplementation(ANDROIDX_TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(JUNIT)
+ androidTestImplementation(TRUTH)
}
}
@@ -69,9 +75,7 @@
implementation(project(":compose:ui:ui-util"))
}
- desktopMain.dependencies {
- implementation(KOTLIN_STDLIB)
- }
+ desktopMain.dependsOn(jvmMain)
test.dependencies {
implementation(ANDROIDX_TEST_RULES)
@@ -79,6 +83,15 @@
implementation(JUNIT)
implementation(TRUTH)
}
+
+ androidAndroidTest.dependencies {
+ implementation(project(":compose:test-utils"))
+
+ implementation(ANDROIDX_TEST_RULES)
+ implementation(ANDROIDX_TEST_RUNNER)
+ implementation(JUNIT)
+ implementation(TRUTH)
+ }
}
}
}
@@ -89,4 +102,8 @@
mavenGroup = LibraryGroups.Compose.MATERIAL
inceptionYear = "2020"
description = "Material ripple used to build interactive components"
+ // Disable strict API mode for MPP builds as it will fail to compile androidAndroidTest
+ // sources, as it doesn't understand that they are tests and thinks they should have explicit
+ // visibility
+ legacyDisableKotlinStrictApiMode = AndroidXUiPlugin.isMultiplatformEnabled(project)
}
diff --git a/compose/material/material-ripple/src/androidAndroidTest/AndroidManifest.xml b/compose/material/material-ripple/src/androidAndroidTest/AndroidManifest.xml
new file mode 100644
index 0000000..2b2c8e8
--- /dev/null
+++ b/compose/material/material-ripple/src/androidAndroidTest/AndroidManifest.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ Copyright 2021 The Android Open Source Project
+ ~
+ ~ Licensed under the Apache License, Version 2.0 (the "License");
+ ~ you may not use this file except in compliance with the License.
+ ~ You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ -->
+<manifest package="androidx.compose.material.ripple" />
diff --git a/compose/material/material-ripple/src/androidAndroidTest/kotlin/androidx/compose/material/ripple/LocalRippleNativeRenderingTest.kt b/compose/material/material-ripple/src/androidAndroidTest/kotlin/androidx/compose/material/ripple/LocalRippleNativeRenderingTest.kt
new file mode 100644
index 0000000..d376ebd
--- /dev/null
+++ b/compose/material/material-ripple/src/androidAndroidTest/kotlin/androidx/compose/material/ripple/LocalRippleNativeRenderingTest.kt
@@ -0,0 +1,71 @@
+/*
+ * Copyright 2021 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package androidx.compose.material.ripple
+
+import androidx.compose.foundation.IndicationInstance
+import androidx.compose.foundation.interaction.MutableInteractionSource
+import androidx.compose.runtime.CompositionLocalProvider
+import androidx.compose.runtime.remember
+import androidx.compose.ui.test.junit4.createComposeRule
+import androidx.test.ext.junit.runners.AndroidJUnit4
+import androidx.test.filters.MediumTest
+import com.google.common.truth.Truth
+import org.junit.Rule
+import org.junit.Test
+import org.junit.runner.RunWith
+
+/**
+ * Test for [LocalRippleNativeRendering]
+ */
+@MediumTest
+@RunWith(AndroidJUnit4::class)
+class LocalRippleNativeRenderingTest {
+
+ @get:Rule
+ val rule = createComposeRule()
+
+ @Test
+ fun usesNativeRipplesByDefault() {
+ lateinit var instance: IndicationInstance
+ rule.setContent {
+ val ripple = rememberRipple()
+ val interactionSource = remember { MutableInteractionSource() }
+ instance = ripple.rememberUpdatedInstance(interactionSource)
+ }
+
+ rule.runOnIdle {
+ Truth.assertThat(instance).isInstanceOf(AndroidRippleIndicationInstance::class.java)
+ }
+ }
+
+ @OptIn(ExperimentalRippleApi::class)
+ @Test
+ fun usesCommonRipples_whenLocalNativeRippleRenderIsSet() {
+ lateinit var instance: IndicationInstance
+ rule.setContent {
+ CompositionLocalProvider(LocalRippleNativeRendering provides false) {
+ val ripple = rememberRipple()
+ val interactionSource = remember { MutableInteractionSource() }
+ instance = ripple.rememberUpdatedInstance(interactionSource)
+ }
+ }
+
+ rule.runOnIdle {
+ Truth.assertThat(instance).isInstanceOf(CommonRippleIndicationInstance::class.java)
+ }
+ }
+}
diff --git a/compose/material/material-ripple/src/androidAndroidTest/kotlin/androidx/compose/material/ripple/RippleContainerTest.kt b/compose/material/material-ripple/src/androidAndroidTest/kotlin/androidx/compose/material/ripple/RippleContainerTest.kt
new file mode 100644
index 0000000..511207f
--- /dev/null
+++ b/compose/material/material-ripple/src/androidAndroidTest/kotlin/androidx/compose/material/ripple/RippleContainerTest.kt
@@ -0,0 +1,158 @@
+/*
+ * Copyright 2021 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package androidx.compose.material.ripple
+
+import androidx.activity.ComponentActivity
+import androidx.compose.runtime.mutableStateOf
+import androidx.compose.ui.graphics.Color
+import androidx.compose.ui.test.junit4.createAndroidComposeRule
+import androidx.compose.ui.unit.Dp
+import androidx.test.ext.junit.runners.AndroidJUnit4
+import androidx.test.filters.MediumTest
+import com.google.common.truth.Truth
+import org.junit.Rule
+import org.junit.Test
+import org.junit.runner.RunWith
+
+/**
+ * Test for [RippleContainer]
+ */
+@MediumTest
+@RunWith(AndroidJUnit4::class)
+class RippleContainerTest {
+
+ @get:Rule
+ val rule = createAndroidComposeRule<ComponentActivity>()
+
+ @Test
+ fun cachesViews() {
+ val activity = rule.activity
+ val container = RippleContainer(activity)
+
+ val instance = createRippleIndicationInstance(container)
+
+ with(container) {
+ val hostView = instance.getRippleHostView()
+ // The same View should be returned
+ Truth.assertThat(hostView).isEqualTo(instance.getRippleHostView())
+ }
+ }
+
+ @Test
+ fun returnsNewViews() {
+ val activity = rule.activity
+ val container = RippleContainer(activity)
+
+ val instance1 = createRippleIndicationInstance(container)
+ val instance2 = createRippleIndicationInstance(container)
+
+ with(container) {
+ val hostView1 = instance1.getRippleHostView()
+ val hostView2 = instance2.getRippleHostView()
+ // A new View should be returned
+ Truth.assertThat(hostView1).isNotEqualTo(hostView2)
+ }
+ }
+
+ @Test
+ fun reassignsExistingViews() {
+ val activity = rule.activity
+ val container = RippleContainer(activity)
+
+ val instance1 = createRippleIndicationInstance(container)
+ val instance2 = createRippleIndicationInstance(container)
+ val instance3 = createRippleIndicationInstance(container)
+ val instance4 = createRippleIndicationInstance(container)
+ val instance5 = createRippleIndicationInstance(container)
+ val instance6 = createRippleIndicationInstance(container)
+
+ with(container) {
+ // Assign the maximum number of host views
+ val hostView1 = instance1.getRippleHostView()
+ val hostView2 = instance2.getRippleHostView()
+ instance3.getRippleHostView()
+ instance4.getRippleHostView()
+ instance5.getRippleHostView()
+
+ // When we try and get a new view on the 6th instance
+ val hostView6 = instance6.getRippleHostView()
+
+ // It should be the same as hostView1, now re-assigned to a new view
+ Truth.assertThat(hostView6).isEqualTo(hostView1)
+
+ // When the first instance tries to get the instance again
+ val hostView = instance1.getRippleHostView()
+
+ // It should now be the same view used for the second instance, as we continue to
+ // recycle in order
+ Truth.assertThat(hostView).isNotEqualTo(hostView6)
+ Truth.assertThat(hostView).isEqualTo(hostView2)
+ }
+ }
+
+ @Test
+ fun reusesDisposedViews() {
+ val activity = rule.activity
+ val container = RippleContainer(activity)
+
+ val instance1 = createRippleIndicationInstance(container)
+ val instance2 = createRippleIndicationInstance(container)
+ val instance3 = createRippleIndicationInstance(container)
+ val instance4 = createRippleIndicationInstance(container)
+ val instance5 = createRippleIndicationInstance(container)
+ val instance6 = createRippleIndicationInstance(container)
+
+ with(container) {
+ // Assign some initial views
+ val hostView1 = instance1.getRippleHostView()
+ val hostView2 = instance2.getRippleHostView()
+ val hostView3 = instance3.getRippleHostView()
+
+ // Dispose the first two ripples
+ instance1.disposeRippleIfNeeded()
+ instance2.disposeRippleIfNeeded()
+
+ // The host views previously used by instance1 and instance1 should now be reused,
+ // before allocating new views
+ val hostView4 = instance4.getRippleHostView()
+ val hostView5 = instance5.getRippleHostView()
+
+ Truth.assertThat(hostView4).isEqualTo(hostView1)
+ Truth.assertThat(hostView5).isEqualTo(hostView2)
+
+ // When we try and get a view for the 6th instance
+ val hostView6 = instance6.getRippleHostView()
+
+ // It should now be a totally new host view, not previously used by any of the other
+ // instances, since there are no more unused views
+ Truth.assertThat(hostView6).isNotEqualTo(hostView1)
+ Truth.assertThat(hostView6).isNotEqualTo(hostView2)
+ Truth.assertThat(hostView6).isNotEqualTo(hostView3)
+ Truth.assertThat(hostView6).isNotEqualTo(hostView4)
+ Truth.assertThat(hostView6).isNotEqualTo(hostView5)
+ }
+ }
+}
+
+private fun createRippleIndicationInstance(container: RippleContainer) =
+ AndroidRippleIndicationInstance(
+ true,
+ Dp.Unspecified,
+ mutableStateOf(Color.Black),
+ mutableStateOf(RippleAlpha(1f, 1f, 1f, 1f)),
+ container
+ )
diff --git a/compose/material/material-ripple/src/androidMain/kotlin/androidx/compose/material/ripple/Ripple.android.kt b/compose/material/material-ripple/src/androidMain/kotlin/androidx/compose/material/ripple/Ripple.android.kt
new file mode 100644
index 0000000..d0e9e60
--- /dev/null
+++ b/compose/material/material-ripple/src/androidMain/kotlin/androidx/compose/material/ripple/Ripple.android.kt
@@ -0,0 +1,270 @@
+/*
+ * Copyright 2021 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package androidx.compose.material.ripple
+
+import android.graphics.drawable.RippleDrawable
+import android.view.View
+import android.view.ViewGroup
+import androidx.compose.foundation.interaction.InteractionSource
+import androidx.compose.foundation.interaction.PressInteraction
+import androidx.compose.runtime.Composable
+import androidx.compose.runtime.CompositionLocal
+import androidx.compose.runtime.ProvidableCompositionLocal
+import androidx.compose.runtime.RememberObserver
+import androidx.compose.runtime.Stable
+import androidx.compose.runtime.State
+import androidx.compose.runtime.getValue
+import androidx.compose.runtime.mutableStateOf
+import androidx.compose.runtime.remember
+import androidx.compose.runtime.setValue
+import androidx.compose.runtime.staticCompositionLocalOf
+import androidx.compose.ui.geometry.Size
+import androidx.compose.ui.graphics.Color
+import androidx.compose.ui.graphics.drawscope.ContentDrawScope
+import androidx.compose.ui.graphics.drawscope.drawIntoCanvas
+import androidx.compose.ui.graphics.nativeCanvas
+import androidx.compose.ui.platform.LocalView
+import androidx.compose.ui.unit.Dp
+import androidx.compose.ui.unit.isUnspecified
+import kotlinx.coroutines.CoroutineScope
+import kotlin.math.roundToInt
+
+/**
+ * Android specific Ripple implementation that uses a [RippleDrawable] under the hood, which allows
+ * rendering the ripple animation on the render thread (away from the main UI thread). This
+ * allows the ripple to animate smoothly even while the UI thread is under heavy load, such as
+ * when navigating between complex screens.
+ *
+ * @see Ripple
+ */
+@Stable
+internal actual class PlatformRipple actual constructor(
+ bounded: Boolean,
+ radius: Dp,
+ color: State<Color>
+) : Ripple(bounded, radius, color) {
+ @OptIn(ExperimentalRippleApi::class)
+ @Composable
+ override fun rememberUpdatedRippleInstance(
+ interactionSource: InteractionSource,
+ bounded: Boolean,
+ radius: Dp,
+ color: State<Color>,
+ rippleAlpha: State<RippleAlpha>
+ ): RippleIndicationInstance {
+ // Fallback to drawing inside Compose if needed, using the common implementation
+ if (!LocalRippleNativeRendering.current) {
+ return remember(interactionSource, this) {
+ CommonRippleIndicationInstance(bounded, radius, color, rippleAlpha)
+ }
+ }
+
+ // Create or get the RippleContainer attached to the nearest root Compose view
+
+ val view = findNearestViewGroup()
+
+ var rippleContainer: RippleContainer? = null
+
+ for (index in 0 until view.childCount) {
+ val child = view.getChildAt(index)
+ if (child is RippleContainer) {
+ rippleContainer = child
+ break
+ }
+ }
+
+ if (rippleContainer == null) {
+ rippleContainer = RippleContainer(view.context).apply {
+ view.addView(this)
+ }
+ }
+
+ return remember(interactionSource, this, rippleContainer) {
+ AndroidRippleIndicationInstance(bounded, radius, color, rippleAlpha, rippleContainer)
+ }
+ }
+
+ /**
+ * Returns [LocalView] if it is a [ViewGroup], otherwise the nearest parent [ViewGroup] that
+ * we will add a [RippleContainer] to.
+ *
+ * In all normal scenarios this should just be [LocalView], but since [LocalView] is public
+ * API theoretically its value can be overridden with a non-[ViewGroup], so we walk up the
+ * tree to be safe.
+ */
+ @Composable
+ private fun findNearestViewGroup(): ViewGroup {
+ var view: View? = LocalView.current
+ while (view !is ViewGroup) {
+ // We should never get to a ViewParent that isn't a View, without finding a ViewGroup
+ // first
+ view = view?.parent as View
+ }
+ return view
+ }
+}
+
+@RequiresOptIn(
+ "This ripple API is experimental and may change / be removed in the future."
+)
+public annotation class ExperimentalRippleApi
+
+/**
+ * [CompositionLocal] that configures whether native ripples are used to draw the ripple effect
+ * inside components. If set to false, the ripples will be drawn inside Compose, consistent with
+ * the behavior in previous Compose releases. This is a temporary API, and will be removed when
+ * native ripples are stable in Compose.
+ *
+ * If you use this to avoid a bug with native ripples, please [file a bug](https://issuetracker.google.com/issues/new?component=612128)
+ */
+@get:ExperimentalRippleApi
+@ExperimentalRippleApi
+public val LocalRippleNativeRendering: ProvidableCompositionLocal<Boolean> =
+ staticCompositionLocalOf { true }
+
+/**
+ * Android specific [RippleIndicationInstance]. This uses a [RippleHostView] provided by
+ * [rippleContainer] to draw ripples in the drawing bounds provided within [drawIndication].
+ *
+ * The state layer is still handled by [drawStateLayer], and drawn inside Compose.
+ */
+internal class AndroidRippleIndicationInstance(
+ private val bounded: Boolean,
+ private val radius: Dp,
+ private val color: State<Color>,
+ private val rippleAlpha: State<RippleAlpha>,
+ private val rippleContainer: RippleContainer
+) : RippleIndicationInstance(bounded, rippleAlpha), RememberObserver {
+ /**
+ * Backing [RippleHostView] used to draw ripples for this [RippleIndicationInstance].
+ * [mutableStateOf] as we want changes to this to invalidate drawing, and cause us to draw /
+ * stop drawing a ripple.
+ */
+ private var rippleHostView: RippleHostView? by mutableStateOf(null)
+
+ /**
+ * State we use to cause invalidations in Compose when the drawable requests an invalidation -
+ * since we read this in the draw scope this is equivalent to manually invalidating the internal
+ * layer. This is needed as layers internal to the underlying LayoutNode, which we also
+ * cannot access from here.
+ */
+ private var invalidateTick by mutableStateOf(true)
+
+ /**
+ * Cache the size of the canvas we will draw the ripple into - this is updated each time
+ * [drawIndication] is called. This is needed as before we start animating the ripple, we
+ * need to know its size (changing the bounds mid-animation will cause us to continue the
+ * animation on the UI thread, not the render thread), but the size is only known inside the
+ * draw scope.
+ */
+ private var rippleSize: Size = Size.Zero
+
+ private var rippleRadius: Int = -1
+
+ /**
+ * Flip [invalidateTick] to cause a re-draw when the ripple requests invalidation.
+ */
+ private val onInvalidateRipple = {
+ invalidateTick = !invalidateTick
+ }
+
+ override fun ContentDrawScope.drawIndication() {
+ // Update size and radius properties needed by addRipple()
+
+ rippleSize = size
+
+ rippleRadius = if (radius.isUnspecified) {
+ // Explicitly calculate the radius instead of using RippleDrawable.RADIUS_AUTO
+ // since the latest spec does not match with the existing radius calculation in the
+ // framework.
+ getRippleEndRadius(bounded, size).roundToInt()
+ } else {
+ radius.roundToPx()
+ }
+
+ val color = color.value
+ val alpha = rippleAlpha.value.pressedAlpha
+
+ drawContent()
+ drawStateLayer(radius, color)
+ drawIntoCanvas { canvas ->
+ // Reading this ensures that we invalidate when the drawable requests invalidation
+ invalidateTick
+
+ rippleHostView?.run {
+ // We set these inside addRipple() already, but they may change during the ripple
+ // animation, so update them here too.
+ // Note that changes to color / alpha will not be reflected in any
+ // currently drawn ripples if the ripples are being drawn on the RenderThread,
+ // since only the software paint is updated, not the hardware paint used in
+ // RippleForeground.
+ updateRippleProperties(
+ size = size,
+ radius = rippleRadius,
+ color = color,
+ alpha = alpha
+ )
+
+ draw(canvas.nativeCanvas)
+ }
+ }
+ }
+
+ override fun addRipple(interaction: PressInteraction.Press, scope: CoroutineScope) {
+ rippleHostView = with(rippleContainer) {
+ getRippleHostView().apply {
+ addRipple(
+ interaction = interaction,
+ bounded = bounded,
+ size = rippleSize,
+ radius = rippleRadius,
+ color = color.value,
+ alpha = rippleAlpha.value.pressedAlpha,
+ onInvalidateRipple = onInvalidateRipple
+ )
+ }
+ }
+ }
+
+ override fun removeRipple(interaction: PressInteraction.Press) {
+ rippleHostView?.removeRipple()
+ }
+
+ override fun onRemembered() {}
+
+ override fun onForgotten() {
+ dispose()
+ }
+
+ override fun onAbandoned() {
+ dispose()
+ }
+
+ private fun dispose() {
+ with(rippleContainer) {
+ disposeRippleIfNeeded()
+ }
+ }
+
+ /**
+ * Remove the reference to the existing host view, so we don't incorrectly draw if it is
+ * recycled and used by another [RippleIndicationInstance].
+ */
+ fun resetHostView() {
+ rippleHostView = null
+ }
+}
diff --git a/compose/material/material-ripple/src/androidMain/kotlin/androidx/compose/material/ripple/RippleContainer.android.kt b/compose/material/material-ripple/src/androidMain/kotlin/androidx/compose/material/ripple/RippleContainer.android.kt
new file mode 100644
index 0000000..840f932
--- /dev/null
+++ b/compose/material/material-ripple/src/androidMain/kotlin/androidx/compose/material/ripple/RippleContainer.android.kt
@@ -0,0 +1,180 @@
+/*
+ * Copyright 2021 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package androidx.compose.material.ripple
+
+import android.content.Context
+import android.view.ViewGroup
+
+/**
+ * A root-level container [ViewGroup] that manages creating and assigning [RippleHostView]s used
+ * throughout a Compose hierarchy. Each root Compose View that has components that use ripples
+ * inside will have a [RippleContainer] as a direct child.
+ */
+internal class RippleContainer(context: Context) : ViewGroup(context) {
+ /**
+ * Maximum number of [RippleHostView]s that will be allocated and added, limiting the total
+ * number of Views attached to the root Compose View.
+ */
+ private val MaxRippleHosts = 5
+
+ /**
+ * [RippleHostView]s that will be assigned to [AndroidRippleIndicationInstance]s when
+ * necessary.
+ */
+ private val rippleHosts = mutableListOf<RippleHostView>()
+
+ /**
+ * [RippleHostView]s that are not currently assigned to any
+ * [AndroidRippleIndicationInstance], so they can be reused without needing to allocate new
+ * instances.
+ */
+ private val unusedRippleHosts = mutableListOf<RippleHostView>()
+
+ private val rippleHostMap = RippleHostMap()
+
+ /**
+ * Index of the next host that will be assigned to a ripple
+ */
+ private var nextHostIndex = 0
+
+ init {
+ clipChildren = false
+
+ // Start by initially assigning one RippleHostView - we will allocate more when needed.
+ // We start by only assigning one to avoid creating a lot of unused Views for cases where
+ // there are multiple Compose roots inside a hierarchy, such as when putting Compose
+ // roots inside a RecyclerView.
+ val initialHostView = RippleHostView(context).also { addView(it) }
+ rippleHosts.add(initialHostView)
+ unusedRippleHosts.add(initialHostView)
+ // Since we now have an unused ripple host, the next index should be 1 - the unused host
+ // will be used first.
+ nextHostIndex = 1
+ }
+
+ override fun onLayout(changed: Boolean, l: Int, t: Int, r: Int, b: Int) {
+ // RippleHostViews don't partake in layout
+ }
+
+ override fun onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int) {
+ // RippleHostViews don't partake in measurement
+ setMeasuredDimension(0, 0)
+ }
+
+ /**
+ * @return a [RippleHostView] for [this] [AndroidRippleIndicationInstance]. This result will
+ * be cached if possible, to allow re-using the same [RippleHostView].
+ */
+ fun AndroidRippleIndicationInstance.getRippleHostView(): RippleHostView {
+ val existingRippleHostView = rippleHostMap[this]
+ if (existingRippleHostView != null) {
+ return existingRippleHostView
+ }
+
+ // If we have an unused RippleHostView, use that before creating a new one
+ var rippleHostView = unusedRippleHosts.removeFirstOrNull()
+
+ if (rippleHostView == null) {
+ // If the next host is larger than the current index, we haven't reached maximum
+ // capacity yet and so we need to allocate a new RippleHostView
+ rippleHostView = if (nextHostIndex > rippleHosts.lastIndex) {
+ RippleHostView(context).also {
+ // Add this host to the view hierarchy
+ addView(it)
+ // And add it to the list of hosts
+ rippleHosts += it
+ }
+ } else {
+ // Otherwise we are looping through the current hosts and re-using an existing,
+ // un-disposed host
+ val host = rippleHosts[nextHostIndex]
+
+ // Since this host was re-used, and not in the unused host list, it may still be
+ // linked to an instance
+ val existingInstance = rippleHostMap[host]
+
+ // TODO: possible future optimization
+ // Consider checking to see if the existing ripple is still drawing, and if so,
+ // create a new RippleHostView one instead of reassigning
+ if (existingInstance != null) {
+ existingInstance.resetHostView()
+ rippleHostMap.remove(existingInstance)
+ host.disposeRipple()
+ }
+ host
+ }
+
+ // Update the index for the next host - loop around if we reach the maximum capacity
+ if (nextHostIndex < MaxRippleHosts - 1) {
+ nextHostIndex++
+ } else {
+ nextHostIndex = 0
+ }
+ }
+
+ rippleHostMap[this] = rippleHostView
+
+ return rippleHostView
+ }
+
+ /**
+ * Unassigns the current [RippleHostView] from [this] [AndroidRippleIndicationInstance] and
+ * resets its state, so it can be used by another [AndroidRippleIndicationInstance].
+ */
+ fun AndroidRippleIndicationInstance.disposeRippleIfNeeded() {
+ resetHostView()
+ val rippleHost = rippleHostMap[this]
+
+ if (rippleHost != null) {
+ rippleHost.disposeRipple()
+ rippleHostMap.remove(this)
+ // This ripple host has been disposed, so it is safe to be re-used
+ unusedRippleHosts.add(rippleHost)
+ }
+ }
+}
+
+/**
+ * Simple bidirectional map for [AndroidRippleIndicationInstance] : [RippleHostView].
+ */
+private class RippleHostMap {
+ private val indicationToHostMap =
+ mutableMapOf<AndroidRippleIndicationInstance, RippleHostView>()
+ private val hostToIndicationMap =
+ mutableMapOf<RippleHostView, AndroidRippleIndicationInstance>()
+
+ operator fun set(
+ indicationInstance: AndroidRippleIndicationInstance,
+ rippleHostView: RippleHostView
+ ) {
+ indicationToHostMap[indicationInstance] = rippleHostView
+ hostToIndicationMap[rippleHostView] = indicationInstance
+ }
+
+ operator fun get(indicationInstance: AndroidRippleIndicationInstance): RippleHostView? {
+ return indicationToHostMap[indicationInstance]
+ }
+
+ operator fun get(rippleHostView: RippleHostView): AndroidRippleIndicationInstance? {
+ return hostToIndicationMap[rippleHostView]
+ }
+
+ fun remove(indicationInstance: AndroidRippleIndicationInstance) {
+ indicationToHostMap[indicationInstance]?.let { hostToIndicationMap.remove(it) }
+ indicationToHostMap.remove(indicationInstance)
+ }
+}
diff --git a/compose/material/material-ripple/src/androidMain/kotlin/androidx/compose/material/ripple/RippleHostView.android.kt b/compose/material/material-ripple/src/androidMain/kotlin/androidx/compose/material/ripple/RippleHostView.android.kt
new file mode 100644
index 0000000..1f7bc57
--- /dev/null
+++ b/compose/material/material-ripple/src/androidMain/kotlin/androidx/compose/material/ripple/RippleHostView.android.kt
@@ -0,0 +1,331 @@
+/*
+ * Copyright 2021 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package androidx.compose.material.ripple
+
+import android.content.Context
+import android.content.res.ColorStateList
+import android.graphics.Rect
+import android.graphics.drawable.ColorDrawable
+import android.graphics.drawable.Drawable
+import android.graphics.drawable.RippleDrawable
+import android.os.Build
+import android.view.View
+import androidx.annotation.DoNotInline
+import androidx.annotation.RequiresApi
+import androidx.compose.foundation.interaction.PressInteraction
+import androidx.compose.ui.geometry.Size
+import androidx.compose.ui.geometry.toRect
+import androidx.compose.ui.graphics.Color
+import androidx.compose.ui.graphics.toAndroidRect
+import androidx.compose.ui.graphics.toArgb
+import java.lang.reflect.Method
+
+/**
+ * Empty [View] that hosts a [RippleDrawable] as its background. This is needed as
+ * [RippleDrawable]s cannot currently be drawn directly to a [android.graphics.RenderNode]
+ * (b/184760109), so instead we rely on [View]'s internal implementation to draw to the
+ * background [android.graphics.RenderNode].
+ *
+ * A [RippleContainer] is used to manage and assign RippleHostViews when needed - see
+ * [RippleContainer.getRippleHostView].
+ */
+internal class RippleHostView(
+ context: Context
+) : View(context) {
+ /**
+ * View related configuration
+ */
+
+ override fun onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int) {
+ setMeasuredDimension(0, 0)
+ }
+
+ override fun onLayout(changed: Boolean, l: Int, t: Int, r: Int, b: Int) {
+ // noop
+ }
+
+ /**
+ * A [RippleDrawable] cannot be dynamically changed between bounded / unbounded states - as a
+ * result we need to create a new instance when we need to draw a different type.
+ * Alternatively we could maintain both a bounded and unbounded instance, but we would still
+ * need to reset state for both, and change what the view's background is - so it doesn't
+ * help us out that much.
+ */
+ private var ripple: UnprojectedRipple? = null
+ private var bounded: Boolean? = null
+
+ /**
+ * Creates a new [UnprojectedRipple] and assigns it to [ripple].
+ *
+ * @param bounded whether the [UnprojectedRipple] is bounded (fills the bounds of the
+ * containing canvas, or unbounded (starts from the center of the canvas and fills outwards
+ * in a circle that may go outside the bounds of the canvas).
+ */
+ private fun createRipple(bounded: Boolean) {
+ ripple = UnprojectedRipple(bounded).apply {
+ // Set the ripple to be the view's background - this will internally set the ripple's
+ // Drawable.Callback callback to equal this view so there is no need to manage this
+ // separately.
+ background = this
+ }
+ }
+
+ /**
+ * Callback invoked when the underlying [RippleDrawable] requests to be
+ * invalidated - this callback should end up triggering a re-draw in the owning ripple instance.
+ */
+ private var onInvalidateRipple: (() -> Unit)? = null
+
+ /**
+ * Pass through any drawable invalidations to the owning ripple instance - the normal
+ * [View.invalidate] circuitry won't trigger a re-draw / re-composition inside of Compose out
+ * of the box.
+ */
+ override fun invalidateDrawable(who: Drawable) {
+ onInvalidateRipple?.invoke()
+ }
+
+ /**
+ * Adds and starts drawing a ripple with the provided properties.
+ *
+ * @param onInvalidateRipple callback invoked when the ripple requests an invalidation
+ */
+ fun addRipple(
+ interaction: PressInteraction.Press,
+ bounded: Boolean,
+ size: Size,
+ radius: Int,
+ color: Color,
+ alpha: Float,
+ onInvalidateRipple: () -> Unit
+ ) {
+ // Create a new ripple if there is no existing ripple, or bounded has changed.
+ // (Since this.bounded is initialized to `null`, technically the first check isn't
+ // needed, but it might not survive refactoring).
+ if (ripple == null || bounded != this.bounded) {
+ createRipple(bounded)
+ this.bounded = bounded
+ }
+ val ripple = ripple!!
+ this.onInvalidateRipple = onInvalidateRipple
+ updateRippleProperties(size, radius, color, alpha)
+ if (bounded) {
+ // Bounded ripples should animate from the press position
+ ripple.setHotspot(interaction.pressPosition.x, interaction.pressPosition.y)
+ } else {
+ // Unbounded ripples should animate from the center of the ripple - in the framework
+ // this change in spec was never made, so they currently animate from the press
+ // position into a circle that starts at the center of the ripple, instead of
+ // starting directly at the center.
+ ripple.setHotspot(
+ ripple.bounds.centerX().toFloat(),
+ ripple.bounds.centerY().toFloat()
+ )
+ }
+ ripple.state = PressedState
+ }
+
+ /**
+ * Removes the most recent ripple, causing it to start the 'end' animation. Note that this is
+ * separate from immediately cancelling existing ripples - see [disposeRipple].
+ */
+ fun removeRipple() {
+ ripple?.state = RestingState
+ }
+
+ /**
+ * Update the underlying [RippleDrawable] with the new properties. Note that changes to
+ * [size] or [radius] while a ripple is animating will cause the animation to move to the UI
+ * thread, so it is important to also provide the correct values in [addRipple].
+ */
+ fun updateRippleProperties(
+ size: Size,
+ radius: Int,
+ color: Color,
+ alpha: Float
+ ) {
+ val ripple = ripple ?: return
+ // NOTE: if adding new properties here, make sure they are guarded with an equality check
+ // (either here or internally in RippleDrawable). Many properties invalidate the ripple when
+ // changed, which will lead to a call to updateRippleProperties again, which will cause
+ // another invalidation, etc.
+ ripple.trySetRadius(radius)
+ ripple.setColor(color, alpha)
+ val newBounds = size.toRect().toAndroidRect()
+ // Drawing the background causes the view to update the bounds of the drawable
+ // based on the view's bounds, so we need to adjust the view itself to match the
+ // canvas' bounds.
+ // These setters will no-op if there is no change, so no need for us to check for equality
+ left = newBounds.left
+ top = newBounds.top
+ right = newBounds.right
+ bottom = newBounds.bottom
+ ripple.bounds = newBounds
+ }
+
+ /**
+ * Remove existing callbacks and clear any currently drawing ripples.
+ */
+ fun disposeRipple() {
+ onInvalidateRipple = null
+ val ripple = ripple ?: return
+ ripple.state = RestingState
+ ripple.setVisible(false, false)
+ unscheduleDrawable(ripple)
+ }
+
+ companion object {
+ private val PressedState = intArrayOf(
+ android.R.attr.state_pressed,
+ android.R.attr.state_enabled
+ )
+ private val RestingState = intArrayOf()
+ }
+}
+
+/**
+ * [RippleDrawable] that always returns `false` for [isProjected], so that it will always be drawn
+ * in the owning [View]'s RenderNode, and not an ancestor node. This is only meaningful if the
+ * owning [View]'s drawing is not clipped, which it won't be in Compose, so we can always return
+ * `false` and just draw outside of the bounds if we need to.
+ */
+private class UnprojectedRipple(private val bounded: Boolean) : RippleDrawable(
+ // Temporary default color that we will override later
+ /* color */ ColorStateList.valueOf(android.graphics.Color.BLACK),
+ /* content */null,
+ // The color of the mask here doesn't matter - we just need a mask to draw the bounded ripple
+ // against
+ /* mask */ if (bounded) ColorDrawable(android.graphics.Color.WHITE) else null
+) {
+ /**
+ * Store the ripple color so we can compare it later, as there is no way to get the currently
+ * set color on the RippleDrawable itself.
+ */
+ private var rippleColor: Color? = null
+
+ /**
+ * Store the ripple radius so we can compare it later - [getRadius] is only available on M+,
+ * and we don't want to use reflection to read this below that.
+ */
+ private var rippleRadius: Int? = null
+
+ /**
+ * Set a new [color] with [alpha] for this [RippleDrawable].
+ */
+ fun setColor(color: Color, alpha: Float) {
+ val newColor = calculateRippleColor(color, alpha)
+ if (rippleColor != newColor) {
+ rippleColor = newColor
+ setColor(ColorStateList.valueOf(newColor.toArgb()))
+ }
+ }
+
+ private var projected = false
+
+ /**
+ * Return false (other than when calculating dirty bounds, see [getDirtyBounds]) to ensure
+ * that this [RippleDrawable] will be drawn inside the owning [View]'s RenderNode, and not an
+ * ancestor that supports projection.
+ */
+ override fun isProjected(): Boolean {
+ return projected
+ }
+
+ /**
+ * On older API levels [isProjected] is used to control whether the dirty bounds (and hence
+ * how the ripple is clipped) are bounded / unbounded. Since we turn off projection for this
+ * ripple, if the ripple is unbounded we temporarily set isProjected to return true, so the
+ * super implementation will return us the correct bounds for an unbounded ripple.
+ */
+ override fun getDirtyBounds(): Rect {
+ if (!bounded) {
+ projected = true
+ }
+ val bounds = super.getDirtyBounds()
+ projected = false
+ return bounds
+ }
+
+ /**
+ * Compat wrapper for [setRadius] which is only available on [Build.VERSION_CODES.M] and
+ * above. This will try to call setMaxRadius below that if possible.
+ */
+ fun trySetRadius(radius: Int) {
+ if (rippleRadius != radius) {
+ rippleRadius = radius
+ if (Build.VERSION.SDK_INT < Build.VERSION_CODES.M) {
+ try {
+ if (!setMaxRadiusFetched) {
+ setMaxRadiusFetched = true
+ setMaxRadiusMethod = RippleDrawable::class.java.getDeclaredMethod(
+ "setMaxRadius",
+ Int::class.javaPrimitiveType
+ )
+ }
+ setMaxRadiusMethod?.invoke(this, radius)
+ } catch (e: Exception) {
+ // Fail silently
+ }
+ } else {
+ MRadiusHelper.setRadius(this, radius)
+ }
+ }
+ }
+
+ /**
+ * Calculates the resulting [Color] from [color] with [alpha] applied, accounting for
+ * differences in [RippleDrawable]'s behavior on different API levels.
+ */
+ private fun calculateRippleColor(color: Color, alpha: Float): Color {
+ // On API 21-27 the ripple animation is split into two sections - an overlay and an
+ // animation on top - and 50% of the original alpha is used for both. Since these sections
+ // don't always overlap, the actual alpha of the animation in parts can be 50% of the
+ // original amount, so to ensure that the contrast is correct, and make the ripple alpha
+ // match more closely with the provided value, we double it first.
+ // Note that this is also consistent with MDC behavior.
+ val transformedAlpha = if (Build.VERSION.SDK_INT < Build.VERSION_CODES.P) {
+ alpha * 2
+ } else {
+ // Note: above 28 the ripple alpha is clamped to 50%, so this might not be the
+ // _actual_ alpha that is used in the ripple.
+ alpha
+ }
+ return color.copy(alpha = transformedAlpha)
+ }
+
+ /**
+ * Separate class to avoid verification errors for methods introduced in M.
+ */
+ @RequiresApi(Build.VERSION_CODES.M)
+ private object MRadiusHelper {
+ /**
+ * Sets the [radius] for the given [ripple].
+ */
+ @DoNotInline
+ fun setRadius(ripple: RippleDrawable, radius: Int) {
+ ripple.radius = radius
+ }
+ }
+
+ companion object {
+ /**
+ * Cache RippleDrawable#setMaxRadius to avoid retrieving it more times than necessary
+ */
+ private var setMaxRadiusMethod: Method? = null
+ private var setMaxRadiusFetched = false
+ }
+}
diff --git a/compose/material/material-ripple/src/commonMain/kotlin/androidx/compose/material/ripple/CommonRipple.kt b/compose/material/material-ripple/src/commonMain/kotlin/androidx/compose/material/ripple/CommonRipple.kt
new file mode 100644
index 0000000..5e2fda1
--- /dev/null
+++ b/compose/material/material-ripple/src/commonMain/kotlin/androidx/compose/material/ripple/CommonRipple.kt
@@ -0,0 +1,118 @@
+/*
+ * Copyright 2021 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package androidx.compose.material.ripple
+
+import androidx.compose.foundation.interaction.InteractionSource
+import androidx.compose.foundation.interaction.PressInteraction
+import androidx.compose.runtime.Composable
+import androidx.compose.runtime.RememberObserver
+import androidx.compose.runtime.Stable
+import androidx.compose.runtime.State
+import androidx.compose.runtime.mutableStateMapOf
+import androidx.compose.runtime.remember
+import androidx.compose.ui.graphics.Color
+import androidx.compose.ui.graphics.drawscope.ContentDrawScope
+import androidx.compose.ui.graphics.drawscope.DrawScope
+import androidx.compose.ui.unit.Dp
+import kotlinx.coroutines.CoroutineScope
+import kotlinx.coroutines.launch
+
+/**
+ * Common Ripple implementation that directly animates and draws to the underlying canvas
+ * provided by [ContentDrawScope].
+ *
+ * @see Ripple
+ */
+@Stable
+internal class CommonRipple(
+ bounded: Boolean,
+ radius: Dp,
+ color: State<Color>
+) : Ripple(bounded, radius, color) {
+ @Composable
+ override fun rememberUpdatedRippleInstance(
+ interactionSource: InteractionSource,
+ bounded: Boolean,
+ radius: Dp,
+ color: State<Color>,
+ rippleAlpha: State<RippleAlpha>
+ ): RippleIndicationInstance {
+ return remember(interactionSource, this) {
+ CommonRippleIndicationInstance(bounded, radius, color, rippleAlpha)
+ }
+ }
+}
+
+internal class CommonRippleIndicationInstance constructor(
+ private val bounded: Boolean,
+ private val radius: Dp,
+ private val color: State<Color>,
+ private val rippleAlpha: State<RippleAlpha>
+) : RippleIndicationInstance(bounded, rippleAlpha), RememberObserver {
+ private val ripples = mutableStateMapOf<PressInteraction.Press, RippleAnimation>()
+
+ override fun ContentDrawScope.drawIndication() {
+ val color = color.value
+ drawContent()
+ drawStateLayer(radius, color)
+ drawRipples(color)
+ }
+
+ override fun addRipple(interaction: PressInteraction.Press, scope: CoroutineScope) {
+ // Finish existing ripples
+ ripples.forEach { (_, ripple) -> ripple.finish() }
+ val origin = if (bounded) interaction.pressPosition else null
+ val rippleAnimation = RippleAnimation(
+ origin = origin,
+ radius = radius,
+ bounded = bounded
+ )
+ ripples[interaction] = rippleAnimation
+ scope.launch {
+ try {
+ rippleAnimation.animate()
+ } finally {
+ ripples.remove(interaction)
+ }
+ }
+ }
+
+ override fun removeRipple(interaction: PressInteraction.Press) {
+ ripples[interaction]?.finish()
+ }
+
+ private fun DrawScope.drawRipples(color: Color) {
+ ripples.forEach { (_, ripple) ->
+ with(ripple) {
+ val alpha = rippleAlpha.value.pressedAlpha
+ if (alpha != 0f) {
+ draw(color.copy(alpha = alpha))
+ }
+ }
+ }
+ }
+
+ override fun onRemembered() {}
+
+ override fun onForgotten() {
+ ripples.clear()
+ }
+
+ override fun onAbandoned() {
+ ripples.clear()
+ }
+}
diff --git a/compose/material/material-ripple/src/commonMain/kotlin/androidx/compose/material/ripple/Ripple.kt b/compose/material/material-ripple/src/commonMain/kotlin/androidx/compose/material/ripple/Ripple.kt
index 466ead1..990d1d3 100644
--- a/compose/material/material-ripple/src/commonMain/kotlin/androidx/compose/material/ripple/Ripple.kt
+++ b/compose/material/material-ripple/src/commonMain/kotlin/androidx/compose/material/ripple/Ripple.kt
@@ -20,22 +20,19 @@
import androidx.compose.animation.core.AnimationSpec
import androidx.compose.animation.core.LinearEasing
import androidx.compose.animation.core.TweenSpec
-import androidx.compose.foundation.interaction.DragInteraction
import androidx.compose.foundation.Indication
import androidx.compose.foundation.IndicationInstance
+import androidx.compose.foundation.interaction.DragInteraction
import androidx.compose.foundation.interaction.Interaction
import androidx.compose.foundation.interaction.InteractionSource
import androidx.compose.foundation.interaction.PressInteraction
import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect
-import androidx.compose.runtime.RememberObserver
import androidx.compose.runtime.Stable
import androidx.compose.runtime.State
-import androidx.compose.runtime.mutableStateMapOf
import androidx.compose.runtime.remember
import androidx.compose.runtime.rememberUpdatedState
import androidx.compose.ui.graphics.Color
-import androidx.compose.ui.graphics.drawscope.ContentDrawScope
import androidx.compose.ui.graphics.drawscope.DrawScope
import androidx.compose.ui.graphics.drawscope.clipRect
import androidx.compose.ui.graphics.isSpecified
@@ -82,7 +79,7 @@
): Indication {
val colorState = rememberUpdatedState(color)
return remember(bounded, radius) {
- Ripple(bounded, radius, colorState)
+ PlatformRipple(bounded, radius, colorState)
}
}
@@ -102,15 +99,19 @@
*
* You can also explicitly create a Ripple and provide it to components in order to change the
* parameters from the default, such as to create an unbounded ripple with a fixed size.
+ *
+ * Ripple is provided on different platforms using [PlatformRipple].
*/
@Stable
-private class Ripple(
+internal abstract class Ripple(
private val bounded: Boolean,
private val radius: Dp,
- private val color: State<Color>,
+ private val color: State<Color>
) : Indication {
@Composable
- override fun rememberUpdatedInstance(interactionSource: InteractionSource): IndicationInstance {
+ final override fun rememberUpdatedInstance(
+ interactionSource: InteractionSource
+ ): IndicationInstance {
val theme = LocalRippleTheme.current
val color = rememberUpdatedState(
if (color.value.isSpecified) {
@@ -120,30 +121,40 @@
}
)
val rippleAlpha = rememberUpdatedState(theme.rippleAlpha())
- val instance = remember(interactionSource, this) {
- RippleIndicationInstance(bounded, radius, color, rippleAlpha)
- }
- LaunchedEffect(interactionSource, instance) {
+
+ val instance = rememberUpdatedRippleInstance(
+ interactionSource,
+ bounded,
+ radius,
+ color,
+ rippleAlpha
+ )
+
+ LaunchedEffect(instance, interactionSource) {
interactionSource.interactions.collect { interaction ->
when (interaction) {
- is PressInteraction.Press -> {
- instance.addRipple(interaction, this)
- }
- is PressInteraction.Release -> {
- instance.removeRipple(interaction.press)
- }
- is PressInteraction.Cancel -> {
- instance.removeRipple(interaction.press)
- }
+ is PressInteraction.Press -> instance.addRipple(interaction, this)
+ is PressInteraction.Release -> instance.removeRipple(interaction.press)
+ is PressInteraction.Cancel -> instance.removeRipple(interaction.press)
else -> instance.updateStateLayer(interaction, this)
}
}
}
+
return instance
}
- // to force stability on this indication we need equals and hashcode, there's no value in
- // making this class to be "data class"
+ @Composable
+ abstract fun rememberUpdatedRippleInstance(
+ interactionSource: InteractionSource,
+ bounded: Boolean,
+ radius: Dp,
+ color: State<Color>,
+ rippleAlpha: State<RippleAlpha>
+ ): RippleIndicationInstance
+
+ // To force stability on this Ripple we need equals and hashcode, there's no value in
+ // making this class to be a `data class`
override fun equals(other: Any?): Boolean {
if (this === other) return true
if (other !is Ripple) return false
@@ -163,73 +174,41 @@
}
}
-private class RippleIndicationInstance constructor(
- private val bounded: Boolean,
- private val radius: Dp,
- private val color: State<Color>,
- private val rippleAlpha: State<RippleAlpha>
-) : RememberObserver, IndicationInstance {
+/**
+ * Platform-specific implementation of [Ripple]. This is needed as expect classes cannot
+ * (currently) have default implementations, otherwise we would make [Ripple] the expect class.
+ */
+@Stable
+internal expect class PlatformRipple(
+ bounded: Boolean,
+ radius: Dp,
+ color: State<Color>
+) : Ripple
+/**
+ * Abstract [IndicationInstance] that provides common functionality used by [PlatformRipple]
+ * implementations. Implementing classes should call [drawStateLayer] to draw the [StateLayer], so
+ * they only need to handle showing the ripple effect when pressed, and not other [Interaction]s.
+ */
+internal abstract class RippleIndicationInstance(
+ bounded: Boolean,
+ rippleAlpha: State<RippleAlpha>
+) : IndicationInstance {
private val stateLayer = StateLayer(bounded, rippleAlpha)
- private val ripples = mutableStateMapOf<PressInteraction.Press, RippleAnimation>()
+ abstract fun addRipple(interaction: PressInteraction.Press, scope: CoroutineScope)
- override fun ContentDrawScope.drawIndication() {
- val color = color.value
- drawContent()
- with(stateLayer) {
- drawStateLayer(radius, color)
- }
- drawRipples(color)
- }
+ abstract fun removeRipple(interaction: PressInteraction.Press)
- fun addRipple(interaction: PressInteraction.Press, scope: CoroutineScope) {
- // Finish existing ripples
- ripples.forEach { (_, ripple) -> ripple.finish() }
- val origin = if (bounded) interaction.pressPosition else null
- val rippleAnimation = RippleAnimation(
- origin = origin,
- radius = radius,
- bounded = bounded
- )
- ripples[interaction] = rippleAnimation
- scope.launch {
- try {
- rippleAnimation.animate()
- } finally {
- ripples.remove(interaction)
- }
- }
- }
-
- fun updateStateLayer(interaction: Interaction, scope: CoroutineScope) {
+ internal fun updateStateLayer(interaction: Interaction, scope: CoroutineScope) {
stateLayer.handleInteraction(interaction, scope)
}
- fun removeRipple(interaction: PressInteraction.Press) {
- ripples[interaction]?.finish()
- }
-
- private fun DrawScope.drawRipples(color: Color) {
- ripples.forEach { (_, ripple) ->
- with(ripple) {
- val alpha = rippleAlpha.value.pressedAlpha
- if (alpha != 0f) {
- draw(color.copy(alpha = alpha))
- }
- }
+ fun DrawScope.drawStateLayer(radius: Dp, color: Color) {
+ with(stateLayer) {
+ drawStateLayer(radius, color)
}
}
-
- override fun onRemembered() {}
-
- override fun onForgotten() {
- ripples.clear()
- }
-
- override fun onAbandoned() {
- ripples.clear()
- }
}
/**
diff --git a/compose/material/material-ripple/src/desktopMain/kotlin/androidx/compose/material/ripple/Ripple.desktop.kt b/compose/material/material-ripple/src/desktopMain/kotlin/androidx/compose/material/ripple/Ripple.desktop.kt
new file mode 100644
index 0000000..7dce6e6
--- /dev/null
+++ b/compose/material/material-ripple/src/desktopMain/kotlin/androidx/compose/material/ripple/Ripple.desktop.kt
@@ -0,0 +1,23 @@
+// ktlint-disable filename
+/*
+ * Copyright 2021 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package androidx.compose.material.ripple
+
+/**
+ * Desktop ripple implementation using the Compose-rendered [CommonRipple] implementation.
+ */
+internal actual typealias PlatformRipple = CommonRipple
diff --git a/compose/material/material/integration-tests/material-catalog/src/main/java/androidx/compose/material/catalog/insets/Insets.kt b/compose/material/material/integration-tests/material-catalog/src/main/java/androidx/compose/material/catalog/insets/Insets.kt
index cd8110f..0fb5516 100644
--- a/compose/material/material/integration-tests/material-catalog/src/main/java/androidx/compose/material/catalog/insets/Insets.kt
+++ b/compose/material/material/integration-tests/material-catalog/src/main/java/androidx/compose/material/catalog/insets/Insets.kt
@@ -380,10 +380,6 @@
// Add an OnAttachStateChangeListener to request an inset pass each time we're attached
// to the window
- val attachListener = object : View.OnAttachStateChangeListener {
- override fun onViewAttachedToWindow(v: View) = v.requestApplyInsets()
- override fun onViewDetachedFromWindow(v: View) = Unit
- }
view.addOnAttachStateChangeListener(attachListener)
if (windowInsetsAnimationsEnabled) {
diff --git a/compose/material/material/src/androidAndroidTest/kotlin/androidx/compose/material/BottomNavigationScreenshotTest.kt b/compose/material/material/src/androidAndroidTest/kotlin/androidx/compose/material/BottomNavigationScreenshotTest.kt
index b4ce024..fe4e434 100644
--- a/compose/material/material/src/androidAndroidTest/kotlin/androidx/compose/material/BottomNavigationScreenshotTest.kt
+++ b/compose/material/material/src/androidAndroidTest/kotlin/androidx/compose/material/BottomNavigationScreenshotTest.kt
@@ -316,9 +316,11 @@
goldenIdentifier: String
) {
if (interaction != null) {
- // Start ripple
- scope.launch {
- interactionSource.emit(interaction)
+ composeTestRule.runOnIdle {
+ // Start ripple
+ scope.launch {
+ interactionSource.emit(interaction)
+ }
}
composeTestRule.waitForIdle()
diff --git a/compose/material/material/src/androidAndroidTest/kotlin/androidx/compose/material/MaterialRippleThemeTest.kt b/compose/material/material/src/androidAndroidTest/kotlin/androidx/compose/material/MaterialRippleThemeTest.kt
index 8061e46..ec572de 100644
--- a/compose/material/material/src/androidAndroidTest/kotlin/androidx/compose/material/MaterialRippleThemeTest.kt
+++ b/compose/material/material/src/androidAndroidTest/kotlin/androidx/compose/material/MaterialRippleThemeTest.kt
@@ -659,7 +659,7 @@
}
}
- rule.runOnUiThread {
+ rule.runOnIdle {
scope!!.launch {
interactionSource.emit(PressInteraction.Press(Offset(10f, 10f)))
}
@@ -706,8 +706,10 @@
}
// Start ripple
- scope.launch {
- interactionSource.emit(interaction)
+ rule.runOnIdle {
+ scope.launch {
+ interactionSource.emit(interaction)
+ }
}
// Advance to the end of the ripple / state layer animation
diff --git a/compose/material/material/src/androidAndroidTest/kotlin/androidx/compose/material/TabScreenshotTest.kt b/compose/material/material/src/androidAndroidTest/kotlin/androidx/compose/material/TabScreenshotTest.kt
index 5b7107d..b7871dc 100644
--- a/compose/material/material/src/androidAndroidTest/kotlin/androidx/compose/material/TabScreenshotTest.kt
+++ b/compose/material/material/src/androidAndroidTest/kotlin/androidx/compose/material/TabScreenshotTest.kt
@@ -356,9 +356,11 @@
goldenIdentifier: String
) {
if (interaction != null) {
- // Start ripple
- scope.launch {
- interactionSource.emit(interaction)
+ composeTestRule.runOnIdle {
+ // Start ripple
+ scope.launch {
+ interactionSource.emit(interaction)
+ }
}
composeTestRule.waitForIdle()
diff --git a/compose/test-utils/lint-baseline.xml b/compose/test-utils/lint-baseline.xml
index 0eddc06..b5e59a2 100644
--- a/compose/test-utils/lint-baseline.xml
+++ b/compose/test-utils/lint-baseline.xml
@@ -1,16 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta04" client="gradle" variant="debug" version="4.2.0-beta04">
-
- <issue
- id="BanSynchronizedMethods"
- message="Use of synchronized methods is not recommended"
- errorLine1=" @Synchronized"
- errorLine2=" ^">
- <location
- file="src/androidMain/kotlin/androidx/compose/testutils/fake/FakeViewStructure.android.kt"
- line="72"
- column="9"/>
- </issue>
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="BanTargetApiAnnotation"
@@ -19,63 +8,85 @@
errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/compose/testutils/AndroidComposeTestCaseRunner.android.kt"
- line="344"
+ line="345"
column="1"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.compose.testutils.AndroidComposeTestCaseRunner 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.compose.testutils.AndroidComposeTestCaseRunner is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" bitmap = Bitmap.createBitmap(picture)"
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/compose/testutils/AndroidComposeTestCaseRunner.android.kt"
- line="273"
+ line="274"
column="29"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.compose.testutils.RenderNodeCapture 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.compose.testutils.RenderNodeCapture is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" private val renderNode = RenderNode("Test")"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/compose/testutils/AndroidComposeTestCaseRunner.android.kt"
- line="346"
+ line="347"
column="30"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.compose.testutils.RenderNodeCapture 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.compose.testutils.RenderNodeCapture is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" renderNode.setPosition(0, 0, width, height)"
errorLine2=" ~~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/compose/testutils/AndroidComposeTestCaseRunner.android.kt"
- line="349"
+ line="350"
column="20"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.compose.testutils.RenderNodeCapture 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.compose.testutils.RenderNodeCapture is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return renderNode.beginRecording()"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/compose/testutils/AndroidComposeTestCaseRunner.android.kt"
- line="350"
+ line="351"
column="27"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.compose.testutils.RenderNodeCapture 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.compose.testutils.RenderNodeCapture is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" renderNode.endRecording()"
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/compose/testutils/AndroidComposeTestCaseRunner.android.kt"
- line="354"
+ line="355"
column="20"/>
</issue>
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.compose.testutils.ViewCapture_androidKt is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" decorView.viewTreeObserver.registerFrameCommitCallback {"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/androidMain/kotlin/androidx/compose/testutils/ViewCapture.android.kt"
+ line="68"
+ column="40"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.compose.testutils.ViewCapture_androidKt is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" PixelCopy.request(windowToCapture, boundsInWindow, destBitmap, onCopyFinished, handler)"
+ errorLine2=" ~~~~~~~">
+ <location
+ file="src/androidMain/kotlin/androidx/compose/testutils/ViewCapture.android.kt"
+ line="104"
+ column="15"/>
+ </issue>
+
</issues>
diff --git a/compose/ui/ui-graphics/lint-baseline.xml b/compose/ui/ui-graphics/lint-baseline.xml
index f5995f5..c762933 100644
--- a/compose/ui/ui-graphics/lint-baseline.xml
+++ b/compose/ui/ui-graphics/lint-baseline.xml
@@ -1,9 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta04" client="gradle" variant="debug" version="4.2.0-beta04">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.compose.ui.graphics.CanvasUtils 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.compose.ui.graphics.AndroidColorFilter_androidKt is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" BlendModeColorFilter(color.toArgb(), blendMode.toAndroidBlendMode())"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/androidMain/kotlin/androidx/compose/ui/graphics/AndroidColorFilter.android.kt"
+ line="39"
+ column="9"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.compose.ui.graphics.CanvasUtils is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" canvas.enableZ()"
errorLine2=" ~~~~~~~">
<location
@@ -13,8 +24,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.compose.ui.graphics.CanvasUtils 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.compose.ui.graphics.CanvasUtils is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" canvas.disableZ()"
errorLine2=" ~~~~~~~~">
<location
diff --git a/compose/ui/ui-inspection/src/main/java/androidx/compose/ui/inspection/proto/ComposeExtensions.kt b/compose/ui/ui-inspection/src/main/java/androidx/compose/ui/inspection/proto/ComposeExtensions.kt
index 839f23e..2aadf08 100644
--- a/compose/ui/ui-inspection/src/main/java/androidx/compose/ui/inspection/proto/ComposeExtensions.kt
+++ b/compose/ui/ui-inspection/src/main/java/androidx/compose/ui/inspection/proto/ComposeExtensions.kt
@@ -205,6 +205,7 @@
fun NodeParameterReference.convert(): ParameterReference {
val reference = this
return ParameterReference.newBuilder().apply {
+ kind = reference.kind.convert()
composableId = reference.nodeId
parameterIndex = reference.parameterIndex
addAllCompositeIndex(reference.indices.asIterable())
diff --git a/compose/ui/ui-test-junit4/src/androidAndroidTest/kotlin/androidx/compose/ui/test/junit4/ComposeIdlingResourceTest.kt b/compose/ui/ui-test-junit4/src/androidAndroidTest/kotlin/androidx/compose/ui/test/junit4/ComposeIdlingResourceTest.kt
index 2a18872..f7272a2 100644
--- a/compose/ui/ui-test-junit4/src/androidAndroidTest/kotlin/androidx/compose/ui/test/junit4/ComposeIdlingResourceTest.kt
+++ b/compose/ui/ui-test-junit4/src/androidAndroidTest/kotlin/androidx/compose/ui/test/junit4/ComposeIdlingResourceTest.kt
@@ -34,11 +34,16 @@
import androidx.compose.ui.geometry.Offset
import androidx.compose.ui.geometry.Size
import androidx.compose.ui.graphics.Color
+import androidx.compose.ui.test.IdlingResource
import androidx.test.espresso.Espresso.onIdle
import androidx.test.filters.LargeTest
import com.google.common.truth.Truth.assertThat
+import kotlinx.coroutines.flow.MutableStateFlow
+import kotlinx.coroutines.flow.first
+import kotlinx.coroutines.runBlocking
import org.junit.Rule
import org.junit.Test
+import java.util.concurrent.Executors
@LargeTest
class ComposeIdlingResourceTest {
@@ -100,6 +105,40 @@
assertThat(animationRunning).isFalse()
}
+ @Test
+ fun testIdlingResourcesAreQueried() {
+ val idlingResource = object : IdlingResource {
+ var readCount = MutableStateFlow(0)
+
+ override var isIdleNow: Boolean = false
+ get() {
+ readCount.value++
+ return field
+ }
+
+ // Returns a lambda that suspends until isIdleNow is queried 10 more times
+ fun delayedTransitionToIdle(): () -> Unit {
+ return {
+ runBlocking {
+ val start = readCount.value
+ readCount.first { it == start + 10 }
+ isIdleNow = true
+ }
+ }
+ }
+ }
+
+ rule.registerIdlingResource(idlingResource)
+ Executors.newSingleThreadExecutor().execute(idlingResource.delayedTransitionToIdle())
+
+ val startReadCount = idlingResource.readCount.value
+ rule.waitForIdle()
+ val endReadCount = idlingResource.readCount.value
+
+ assertThat(idlingResource.isIdleNow).isTrue()
+ assertThat(endReadCount - startReadCount).isAtLeast(10)
+ }
+
@Composable
private fun Ui(animationState: State<AnimationStates>) {
Box(modifier = Modifier.background(color = Color.Yellow).fillMaxSize()) {
diff --git a/compose/ui/ui-test-junit4/src/androidAndroidTest/kotlin/androidx/compose/ui/test/junit4/TimeOutTest.kt b/compose/ui/ui-test-junit4/src/androidAndroidTest/kotlin/androidx/compose/ui/test/junit4/TimeOutTest.kt
index 0b2adb9..417a35f 100644
--- a/compose/ui/ui-test-junit4/src/androidAndroidTest/kotlin/androidx/compose/ui/test/junit4/TimeOutTest.kt
+++ b/compose/ui/ui-test-junit4/src/androidAndroidTest/kotlin/androidx/compose/ui/test/junit4/TimeOutTest.kt
@@ -146,6 +146,25 @@
}
}
+ @Test(timeout = 10_000)
+ fun checkIdlingResource_causesTimeout() {
+ // Block idleness with an IdlingResource
+ rule.registerIdlingResource(
+ object : androidx.compose.ui.test.IdlingResource {
+ override val isIdleNow: Boolean = false
+ override fun getDiagnosticMessageIfBusy(): String {
+ return "Never IDLE"
+ }
+ }
+ )
+ IdlingPolicies.setIdlingResourceTimeout(300, TimeUnit.MILLISECONDS)
+ expectError<ComposeNotIdleException>(
+ expectedMessage = ".*\\[busy\\] Never IDLE.*\\[idle\\] .*ComposeIdlingResource.*"
+ ) {
+ rule.waitForIdle()
+ }
+ }
+
@Test(timeout = 5000)
fun timeout_testIsolation_check() {
// This test is here to guarantee that even if we crash on infinite recompositions after
diff --git a/compose/ui/ui-test/lint-baseline.xml b/compose/ui/ui-test/lint-baseline.xml
index 75e9668..98da96f 100644
--- a/compose/ui/ui-test/lint-baseline.xml
+++ b/compose/ui/ui-test/lint-baseline.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta04" client="gradle" variant="debug" version="4.2.0-beta04">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.compose.ui.test.android.WindowCapture_androidKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.compose.ui.test.android.WindowCapture_androidKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" decorView.viewTreeObserver.registerFrameCommitCallback {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -13,8 +13,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.compose.ui.test.android.WindowCapture_androidKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.compose.ui.test.android.WindowCapture_androidKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" PixelCopy.request(windowToCapture, captureRectInWindow, destBitmap, onCopyFinished, handler)"
errorLine2=" ~~~~~~~">
<location
diff --git a/compose/ui/ui-text/benchmark/lint-baseline.xml b/compose/ui/ui-text/benchmark/lint-baseline.xml
index 5ef00a8..d63897f 100644
--- a/compose/ui/ui-text/benchmark/lint-baseline.xml
+++ b/compose/ui/ui-text/benchmark/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta04" client="gradle" variant="debug" version="4.2.0-beta04">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="BanUncheckedReflection"
diff --git a/compose/ui/ui-text/lint-baseline.xml b/compose/ui/ui-text/lint-baseline.xml
index cb16adc..25b8744 100644
--- a/compose/ui/ui-text/lint-baseline.xml
+++ b/compose/ui/ui-text/lint-baseline.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta04" client="gradle" variant="debug" version="4.2.0-beta04">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.compose.ui.text.android.StaticLayoutFactory 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.compose.ui.text.android.StaticLayoutFactory is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" Builder.obtain(text, start, end, paint, width)"
errorLine2=" ~~~~~~">
<location
@@ -13,8 +13,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.compose.ui.text.android.StaticLayoutFactory 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.compose.ui.text.android.StaticLayoutFactory is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" setTextDirection(textDir)"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -24,8 +24,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.compose.ui.text.android.StaticLayoutFactory 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.compose.ui.text.android.StaticLayoutFactory is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" setAlignment(alignment)"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -35,8 +35,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.compose.ui.text.android.StaticLayoutFactory 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.compose.ui.text.android.StaticLayoutFactory is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" setMaxLines(maxLines)"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -46,8 +46,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.compose.ui.text.android.StaticLayoutFactory 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.compose.ui.text.android.StaticLayoutFactory is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" setEllipsize(ellipsize)"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -57,8 +57,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.compose.ui.text.android.StaticLayoutFactory 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.compose.ui.text.android.StaticLayoutFactory is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" setEllipsizedWidth(ellipsizedWidth)"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
@@ -68,8 +68,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.compose.ui.text.android.StaticLayoutFactory 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.compose.ui.text.android.StaticLayoutFactory is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" setLineSpacing(lineSpacingExtra, lineSpacingMultiplier)"
errorLine2=" ~~~~~~~~~~~~~~">
<location
@@ -79,8 +79,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.compose.ui.text.android.StaticLayoutFactory 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.compose.ui.text.android.StaticLayoutFactory is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" setJustificationMode(justificationMode)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
@@ -90,8 +90,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.compose.ui.text.android.StaticLayoutFactory 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.compose.ui.text.android.StaticLayoutFactory is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" setIncludePad(includePadding)"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -101,8 +101,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.compose.ui.text.android.StaticLayoutFactory 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.compose.ui.text.android.StaticLayoutFactory is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" setUseLineSpacingFromFallbacks(fallbackLineSpacing)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -112,8 +112,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.compose.ui.text.android.StaticLayoutFactory 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.compose.ui.text.android.StaticLayoutFactory is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" setBreakStrategy(breakStrategy)"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -123,8 +123,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.compose.ui.text.android.StaticLayoutFactory 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.compose.ui.text.android.StaticLayoutFactory is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" setHyphenationFrequency(hyphenationFrequency)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -134,8 +134,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.compose.ui.text.android.StaticLayoutFactory 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.compose.ui.text.android.StaticLayoutFactory is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" setIndents(leftIndents, rightIndents)"
errorLine2=" ~~~~~~~~~~">
<location
@@ -145,8 +145,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.compose.ui.text.android.StaticLayoutFactory 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.compose.ui.text.android.StaticLayoutFactory is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" }.build()"
errorLine2=" ~~~~~">
<location
diff --git a/compose/ui/ui-tooling/lint-baseline.xml b/compose/ui/ui-tooling/lint-baseline.xml
index aeb18ac..6b9fc7f 100644
--- a/compose/ui/ui-tooling/lint-baseline.xml
+++ b/compose/ui/ui-tooling/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta04" client="gradle" variant="debug" version="4.2.0-beta04">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="BanUncheckedReflection"
@@ -13,8 +13,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.compose.ui.tooling.preview.LayoutlibFontResourceLoader 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.compose.ui.tooling.preview.LayoutlibFontResourceLoader is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" is ResourceFont -> context.resources.getFont(font.resId)"
errorLine2=" ~~~~~~~">
<location
diff --git a/compose/ui/ui/lint-baseline.xml b/compose/ui/ui/lint-baseline.xml
index 39666a2..21edf21 100644
--- a/compose/ui/ui/lint-baseline.xml
+++ b/compose/ui/ui/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta04" client="gradle" variant="debug" version="4.2.0-beta04">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="BanTargetApiAnnotation"
@@ -15,28 +15,17 @@
<issue
id="BanUncheckedReflection"
message="Calling Method.invoke without an SDK check"
- errorLine1=" getBooleanMethod?.invoke(null, "debug.layout", false) as? Boolean ?: false"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeView.android.kt"
- line="815"
- column="13"/>
- </issue>
-
- <issue
- id="BanUncheckedReflection"
- message="Calling Method.invoke without an SDK check"
- errorLine1=" updateDisplayListIfDirtyMethod?.invoke(view)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ errorLine1=" updateDisplayListIfDirtyMethod?.invoke(view)"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/compose/ui/platform/ViewLayer.android.kt"
- line="288"
- column="13"/>
+ line="296"
+ column="17"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.compose.ui.autofill.AndroidAutofillDebugUtils_androidKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.compose.ui.autofill.AndroidAutofillDebugUtils_androidKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" autofillManager.registerCallback(AutofillCallback)"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -46,8 +35,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.compose.ui.autofill.AndroidAutofillDebugUtils_androidKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.compose.ui.autofill.AndroidAutofillDebugUtils_androidKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" autofillManager.unregisterCallback(AutofillCallback)"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
@@ -57,19 +46,19 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.compose.ui.res.ColorResources_androidKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.compose.ui.res.ColorResources_androidKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" Color(context.resources.getColor(id, context.theme))"
errorLine2=" ~~~~~~~~">
<location
file="src/androidMain/kotlin/androidx/compose/ui/res/ColorResources.android.kt"
- line="35"
+ line="37"
column="33"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.compose.ui.platform.actionmodecallback.FloatingTextActionModeCallback 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.compose.ui.platform.actionmodecallback.FloatingTextActionModeCallback is reachable from earlier API levels and will fail run-time class verification."
errorLine1=") : ActionMode.Callback2() {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -78,4 +67,26 @@
column="5"/>
</issue>
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.compose.ui.input.pointer.MotionEventAdapter_androidKt is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return Offset(getRawX(index), getRawY(index))"
+ errorLine2=" ~~~~~~~">
+ <location
+ file="src/androidMain/kotlin/androidx/compose/ui/input/pointer/MotionEventAdapter.android.kt"
+ line="191"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.compose.ui.input.pointer.MotionEventAdapter_androidKt is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return Offset(getRawX(index), getRawY(index))"
+ errorLine2=" ~~~~~~~">
+ <location
+ file="src/androidMain/kotlin/androidx/compose/ui/input/pointer/MotionEventAdapter.android.kt"
+ line="191"
+ column="35"/>
+ </issue>
+
</issues>
diff --git a/compose/ui/ui/src/androidAndroidTest/kotlin/androidx/compose/ui/platform/WindowRecomposerTest.kt b/compose/ui/ui/src/androidAndroidTest/kotlin/androidx/compose/ui/platform/WindowRecomposerTest.kt
index fe77ad6..7efb51d 100644
--- a/compose/ui/ui/src/androidAndroidTest/kotlin/androidx/compose/ui/platform/WindowRecomposerTest.kt
+++ b/compose/ui/ui/src/androidAndroidTest/kotlin/androidx/compose/ui/platform/WindowRecomposerTest.kt
@@ -17,27 +17,34 @@
package androidx.compose.ui.platform
import android.app.Activity
+import android.view.View
+import android.view.ViewGroup
import androidx.activity.ComponentActivity
+import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
+import androidx.compose.foundation.text.BasicText
import androidx.compose.runtime.Recomposer
import androidx.compose.ui.InternalComposeUiApi
import androidx.compose.ui.Modifier
import androidx.compose.ui.background
import androidx.compose.ui.graphics.Color
+import androidx.core.view.get
import androidx.test.core.app.ActivityScenario
import androidx.test.ext.junit.runners.AndroidJUnit4
import androidx.test.filters.LargeTest
+import androidx.test.filters.MediumTest
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.launch
import kotlinx.coroutines.runBlocking
+import org.junit.Assert.assertEquals
import org.junit.Assert.assertNotNull
+import org.junit.Assert.assertNotSame
import org.junit.Assert.assertNull
import org.junit.Test
import org.junit.runner.RunWith
import java.lang.ref.WeakReference
-@LargeTest
@RunWith(AndroidJUnit4::class)
class WindowRecomposerTest {
@@ -81,4 +88,45 @@
}
}
}
+
+ /**
+ * The Android framework may reuse the window decor views in some cases of activity
+ * recreation for configuration changes, notably during dynamic window resizing in
+ * multi-window modes. Confirm that the [windowRecomposer] extension returns a recomposer
+ * based in the content views, not in the decor itself, as this can cause a recomposer to
+ * become decoupled from its `DESTROYED` host lifecycle - the old Activity instance.
+ *
+ * Regression test for https://issuetracker.google.com/issues/184293033
+ */
+ @Test
+ @MediumTest
+ fun windowRecomposerResetsWithContentChild() {
+ ActivityScenario.launch(ComponentActivity::class.java).use { scenario ->
+ var firstRecomposer: Recomposer? = null
+ scenario.onActivity {
+ it.setContent {
+ BasicText("Hello, world")
+ }
+ val contentParent = it.findViewById<ViewGroup>(android.R.id.content)
+ assertEquals("child count of @android:id/content", 1, contentParent.childCount)
+ firstRecomposer = contentParent[0].windowRecomposer
+ }
+
+ var secondRecomposer: Recomposer? = null
+ scenario.onActivity {
+ // force removal of the old composition host view and don't reuse
+ it.setContentView(View(it))
+ it.setContent {
+ BasicText("Hello, again!")
+ }
+ val contentParent = it.findViewById<ViewGroup>(android.R.id.content)
+ assertEquals("child count of @android:id/content", 1, contentParent.childCount)
+ secondRecomposer = contentParent[0].windowRecomposer
+ }
+
+ assertNotNull("first recomposer", firstRecomposer)
+ assertNotNull("second recomposer", secondRecomposer)
+ assertNotSame(firstRecomposer, secondRecomposer)
+ }
+ }
}
\ No newline at end of file
diff --git a/compose/ui/ui/src/androidAndroidTest/kotlin/androidx/compose/ui/platform/WrapperTest.kt b/compose/ui/ui/src/androidAndroidTest/kotlin/androidx/compose/ui/platform/WrapperTest.kt
index 8879e6e..e8563c3 100644
--- a/compose/ui/ui/src/androidAndroidTest/kotlin/androidx/compose/ui/platform/WrapperTest.kt
+++ b/compose/ui/ui/src/androidAndroidTest/kotlin/androidx/compose/ui/platform/WrapperTest.kt
@@ -121,15 +121,20 @@
@Test
fun detachedFromLifecycleWhenDisposed() {
lateinit var owner: RegistryOwner
- activityScenario.onActivity {
- owner = RegistryOwner()
- }
val composedLatch = CountDownLatch(1)
-
lateinit var view: ComposeView
activityScenario.onActivity {
+ owner = RegistryOwner()
view = ComposeView(it)
- it.setContentView(view)
+ it.setContentView(
+ // Wrap the ComposeView in a FrameLayout to be the content view;
+ // the default recomposer factory will install itself at the content view
+ // and use the available ViewTreeLifecycleOwner there. The added layer of
+ // nesting here isolates *only* the ComposeView's lifecycle observation.
+ FrameLayout(it).apply {
+ addView(view)
+ }
+ )
ViewTreeLifecycleOwner.set(view, owner)
view.setContent {
composedLatch.countDown()
diff --git a/compose/ui/ui/src/androidMain/kotlin/androidx/compose/ui/platform/WindowRecomposer.android.kt b/compose/ui/ui/src/androidMain/kotlin/androidx/compose/ui/platform/WindowRecomposer.android.kt
index ccd2990..f946d04 100644
--- a/compose/ui/ui/src/androidMain/kotlin/androidx/compose/ui/platform/WindowRecomposer.android.kt
+++ b/compose/ui/ui/src/androidMain/kotlin/androidx/compose/ui/platform/WindowRecomposer.android.kt
@@ -26,6 +26,7 @@
import androidx.compose.ui.R
import androidx.lifecycle.Lifecycle
import androidx.lifecycle.LifecycleEventObserver
+import androidx.lifecycle.LifecycleOwner
import androidx.lifecycle.ViewTreeLifecycleOwner
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.CoroutineStart
@@ -176,8 +177,13 @@
object : View.OnAttachStateChangeListener {
override fun onViewAttachedToWindow(v: View) {}
override fun onViewDetachedFromWindow(v: View) {
- unsetJob.cancel()
v.removeOnAttachStateChangeListener(this)
+ // cancel the job to clean up the view tags.
+ // this will happen immediately since unsetJob is on an immediate dispatcher
+ // for this view's UI thread instead of waiting for the recomposer to join.
+ // NOTE: This does NOT cancel the returned recomposer itself, as it may be
+ // a shared-instance recomposer that should remain running/is reused elsewhere.
+ unsetJob.cancel()
}
}
)
@@ -186,6 +192,28 @@
}
/**
+ * Find the "content child" for this view. The content child is the view that is either
+ * a direct child of the view with id [android.R.id.content] (and was therefore set as a
+ * content view into an activity or dialog window) or the root view of the window.
+ *
+ * This is used as opposed to [View.getRootView] as the Android framework can reuse an activity
+ * window's decor views across activity recreation events. Since a window recomposer is associated
+ * with the lifecycle of the host activity, we want that recomposer to shut down and create a new
+ * one for the new activity instance.
+ */
+private val View.contentChild: View
+ get() {
+ var self: View = this
+ var parent: ViewParent? = self.parent
+ while (parent is View) {
+ if (parent.id == android.R.id.content) return self
+ self = parent
+ parent = self.parent
+ }
+ return self
+ }
+
+/**
* Get or lazily create a [Recomposer] for this view's window. The view must be attached
* to a window with a [ViewTreeLifecycleOwner] registered at the root to access this property.
*/
@@ -195,7 +223,7 @@
check(isAttachedToWindow) {
"Cannot locate windowRecomposer; View $this is not attached to a window"
}
- val rootView = rootView
+ val rootView = contentChild
return when (val rootParentRef = rootView.compositionContext) {
null -> WindowRecomposerPolicy.createAndInstallWindowRecomposer(rootView)
is Recomposer -> rootParentRef
@@ -214,20 +242,43 @@
val viewTreeLifecycleOwner = checkNotNull(ViewTreeLifecycleOwner.get(this)) {
"ViewTreeLifecycleOwner not found from $this"
}
+ // Removing the view holding the ViewTreeRecomposer means we may never be reattached again.
+ // Since this factory function is used to create a new recomposer for each invocation and
+ // doesn't reuse a single instance like other factories might, shut it down whenever it
+ // becomes detached. This can easily happen as part of setting a new content view.
+ addOnAttachStateChangeListener(
+ object : View.OnAttachStateChangeListener {
+ override fun onViewAttachedToWindow(v: View?) {}
+ override fun onViewDetachedFromWindow(v: View?) {
+ removeOnAttachStateChangeListener(this)
+ recomposer.cancel()
+ }
+ }
+ )
viewTreeLifecycleOwner.lifecycle.addObserver(
- LifecycleEventObserver { _, event ->
- @Suppress("NON_EXHAUSTIVE_WHEN")
- when (event) {
- Lifecycle.Event.ON_CREATE ->
- // Undispatched launch since we've configured this scope
- // to be on the UI thread
- runRecomposeScope.launch(start = CoroutineStart.UNDISPATCHED) {
- recomposer.runRecomposeAndApplyChanges()
+ object : LifecycleEventObserver {
+ override fun onStateChanged(lifecycleOwner: LifecycleOwner, event: Lifecycle.Event) {
+ val self = this
+ @Suppress("NON_EXHAUSTIVE_WHEN")
+ when (event) {
+ Lifecycle.Event.ON_CREATE ->
+ // Undispatched launch since we've configured this scope
+ // to be on the UI thread
+ runRecomposeScope.launch(start = CoroutineStart.UNDISPATCHED) {
+ try {
+ recomposer.runRecomposeAndApplyChanges()
+ } finally {
+ // If runRecomposeAndApplyChanges returns or this coroutine is
+ // cancelled it means we no longer care about this lifecycle.
+ // Clean up the dangling references tied to this observer.
+ lifecycleOwner.lifecycle.removeObserver(self)
+ }
+ }
+ Lifecycle.Event.ON_START -> pausableClock?.resume()
+ Lifecycle.Event.ON_STOP -> pausableClock?.pause()
+ Lifecycle.Event.ON_DESTROY -> {
+ recomposer.cancel()
}
- Lifecycle.Event.ON_START -> pausableClock?.resume()
- Lifecycle.Event.ON_STOP -> pausableClock?.pause()
- Lifecycle.Event.ON_DESTROY -> {
- recomposer.cancel()
}
}
}
diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/DesktopHapticFeedback.desktop.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/DesktopHapticFeedback.desktop.kt
index f4d8d4e..9f4ad8a 100644
--- a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/DesktopHapticFeedback.desktop.kt
+++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/DesktopHapticFeedback.desktop.kt
@@ -22,6 +22,5 @@
// TODO(demin): implement HapticFeedback
internal class DesktopHapticFeedback : HapticFeedback {
override fun performHapticFeedback(hapticFeedbackType: HapticFeedbackType) {
- println("HapticFeedback.performHapticFeedback not implemented yet")
}
}
\ No newline at end of file
diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/DesktopOwners.desktop.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/DesktopOwners.desktop.kt
index ff61494..89d44f4 100644
--- a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/DesktopOwners.desktop.kt
+++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/DesktopOwners.desktop.kt
@@ -119,11 +119,11 @@
dispatcher.flush()
frameClock.sendFrame(nanoTime)
- listCopy.clear()
listCopy.addAll(list)
for (owner in listCopy) {
owner.render(canvas, width, height)
}
+ listCopy.clear()
}
invalidateIfNeeded()
diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/DesktopTextToolbar.desktop.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/DesktopTextToolbar.desktop.kt
index a8c5b99..62fd237 100644
--- a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/DesktopTextToolbar.desktop.kt
+++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/DesktopTextToolbar.desktop.kt
@@ -24,7 +24,6 @@
get() = TextToolbarStatus.Hidden
override fun hide() {
- println("TextToolbar.hide not implemented yet")
}
override fun showMenu(
@@ -34,6 +33,5 @@
onCutRequested: ActionCallback?,
onSelectAllRequested: ActionCallback?
) {
- println("TextToolbar.showMenu not implemented yet")
}
}
\ No newline at end of file
diff --git a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/FlushCoroutineDispatcher.desktop.kt b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/FlushCoroutineDispatcher.desktop.kt
index 50ab18f65..c19d564 100644
--- a/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/FlushCoroutineDispatcher.desktop.kt
+++ b/compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/FlushCoroutineDispatcher.desktop.kt
@@ -48,11 +48,11 @@
fun flush() {
synchronized(tasks) {
- tasksCopy.clear()
tasksCopy.addAll(tasks)
tasks.clear()
}
tasksCopy.forEach(Runnable::run)
+ tasksCopy.clear()
}
}
\ No newline at end of file
diff --git a/concurrent/futures-ktx/lint-baseline.xml b/concurrent/futures-ktx/lint-baseline.xml
index 297ae16..8794ae8 100644
--- a/concurrent/futures-ktx/lint-baseline.xml
+++ b/concurrent/futures-ktx/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
</issues>
diff --git a/concurrent/futures/lint-baseline.xml b/concurrent/futures/lint-baseline.xml
index 0f0c805..dcd5ad3 100644
--- a/concurrent/futures/lint-baseline.xml
+++ b/concurrent/futures/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
<issue
id="BanSynchronizedMethods"
diff --git a/contentpager/contentpager/lint-baseline.xml b/contentpager/contentpager/lint-baseline.xml
index 4e1327a..e8504e7 100644
--- a/contentpager/contentpager/lint-baseline.xml
+++ b/contentpager/contentpager/lint-baseline.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.contentpager.content.ContentPager 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.contentpager.content.ContentPager is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" extras = extras.deepCopy();"
errorLine2=" ~~~~~~~~">
<location
@@ -13,8 +13,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.contentpager.content.Query 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.contentpager.content.Query is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return resolver.query("
errorLine2=" ~~~~~">
<location
@@ -24,8 +24,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.contentpager.content.Query 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.contentpager.content.Query is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return resolver.query("
errorLine2=" ~~~~~">
<location
@@ -35,8 +35,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.contentpager.content.Query 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.contentpager.content.Query is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (mCancellationSignal != null && !mCancellationSignal.isCanceled()) {"
errorLine2=" ~~~~~~~~~~">
<location
@@ -46,8 +46,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.contentpager.content.Query 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.contentpager.content.Query is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mCancellationSignal.cancel();"
errorLine2=" ~~~~~~">
<location
diff --git a/coordinatorlayout/coordinatorlayout/lint-baseline.xml b/coordinatorlayout/coordinatorlayout/lint-baseline.xml
index 5088e0f..059c772 100644
--- a/coordinatorlayout/coordinatorlayout/lint-baseline.xml
+++ b/coordinatorlayout/coordinatorlayout/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="UnknownNullness"
@@ -8,7 +8,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java"
- line="256"
+ line="255"
column="46"/>
</issue>
@@ -19,7 +19,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java"
- line="346"
+ line="345"
column="38"/>
</issue>
@@ -30,7 +30,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java"
- line="398"
+ line="397"
column="18"/>
</issue>
@@ -41,7 +41,7 @@
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java"
- line="563"
+ line="562"
column="42"/>
</issue>
@@ -52,7 +52,7 @@
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java"
- line="585"
+ line="584"
column="33"/>
</issue>
@@ -63,7 +63,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java"
- line="794"
+ line="793"
column="32"/>
</issue>
@@ -74,7 +74,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java"
- line="961"
+ line="960"
column="24"/>
</issue>
@@ -85,7 +85,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java"
- line="1288"
+ line="1287"
column="33"/>
</issue>
@@ -96,7 +96,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java"
- line="1288"
+ line="1287"
column="48"/>
</issue>
@@ -107,7 +107,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java"
- line="1775"
+ line="1761"
column="12"/>
</issue>
@@ -118,7 +118,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java"
- line="1775"
+ line="1761"
column="46"/>
</issue>
@@ -129,7 +129,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java"
- line="1780"
+ line="1766"
column="15"/>
</issue>
@@ -140,7 +140,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java"
- line="1780"
+ line="1766"
column="49"/>
</issue>
@@ -151,7 +151,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java"
- line="1790"
+ line="1776"
column="15"/>
</issue>
@@ -162,7 +162,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java"
- line="1795"
+ line="1781"
column="41"/>
</issue>
@@ -173,7 +173,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java"
- line="1800"
+ line="1786"
column="40"/>
</issue>
@@ -184,7 +184,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java"
- line="1800"
+ line="1786"
column="52"/>
</issue>
@@ -195,7 +195,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java"
- line="1806"
+ line="1792"
column="40"/>
</issue>
@@ -206,7 +206,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java"
- line="1806"
+ line="1792"
column="52"/>
</issue>
@@ -217,7 +217,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java"
- line="1831"
+ line="1817"
column="40"/>
</issue>
@@ -228,7 +228,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java"
- line="1831"
+ line="1817"
column="52"/>
</issue>
@@ -239,7 +239,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java"
- line="1837"
+ line="1823"
column="40"/>
</issue>
@@ -250,7 +250,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java"
- line="1837"
+ line="1823"
column="52"/>
</issue>
@@ -261,7 +261,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java"
- line="1858"
+ line="1844"
column="36"/>
</issue>
@@ -272,7 +272,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java"
- line="1864"
+ line="1850"
column="36"/>
</issue>
@@ -283,7 +283,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java"
- line="1886"
+ line="1872"
column="32"/>
</issue>
@@ -294,7 +294,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java"
- line="1893"
+ line="1879"
column="32"/>
</issue>
@@ -305,7 +305,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java"
- line="1948"
+ line="1934"
column="35"/>
</issue>
@@ -316,7 +316,7 @@
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java"
- line="1948"
+ line="1934"
column="64"/>
</issue>
@@ -327,7 +327,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java"
- line="1954"
+ line="1940"
column="35"/>
</issue>
@@ -338,7 +338,7 @@
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java"
- line="1954"
+ line="1940"
column="64"/>
</issue>
@@ -349,7 +349,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java"
- line="1997"
+ line="1983"
column="34"/>
</issue>
@@ -360,7 +360,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java"
- line="2027"
+ line="2013"
column="37"/>
</issue>
@@ -371,7 +371,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java"
- line="2138"
+ line="2124"
column="25"/>
</issue>
@@ -382,7 +382,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java"
- line="2138"
+ line="2124"
column="42"/>
</issue>
@@ -393,7 +393,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java"
- line="2943"
+ line="2929"
column="29"/>
</issue>
@@ -404,7 +404,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java"
- line="2947"
+ line="2933"
column="29"/>
</issue>
@@ -415,7 +415,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java"
- line="2951"
+ line="2937"
column="29"/>
</issue>
@@ -426,7 +426,7 @@
errorLine2=" ~~~~~~~~~~">
<location
file="src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java"
- line="3276"
+ line="3262"
column="43"/>
</issue>
@@ -437,7 +437,7 @@
errorLine2=" ~~~~~~~~~~">
<location
file="src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java"
- line="3304"
+ line="3290"
column="15"/>
</issue>
@@ -448,7 +448,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java"
- line="3328"
+ line="3314"
column="50"/>
</issue>
@@ -459,7 +459,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/coordinatorlayout/widget/CoordinatorLayout.java"
- line="3328"
+ line="3314"
column="62"/>
</issue>
diff --git a/core/core-animation-integration-tests/testapp/lint-baseline.xml b/core/core-animation-integration-tests/testapp/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/core/core-animation-integration-tests/testapp/lint-baseline.xml
+++ b/core/core-animation-integration-tests/testapp/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/core/core-animation-testing/lint-baseline.xml b/core/core-animation-testing/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/core/core-animation-testing/lint-baseline.xml
+++ b/core/core-animation-testing/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/core/core-animation/lint-baseline.xml b/core/core-animation/lint-baseline.xml
index c83551b..cb992aa2 100644
--- a/core/core-animation/lint-baseline.xml
+++ b/core/core-animation/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="BanUncheckedReflection"
@@ -74,13 +74,13 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/animation/PropertyValuesHolder.java"
- line="1485"
+ line="1486"
column="21"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.animation.PathUtils 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.animation.PathUtils is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return path.approximate(precision);"
errorLine2=" ~~~~~~~~~~~">
<location
diff --git a/core/core-appdigest/lint-baseline.xml b/core/core-appdigest/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/core/core-appdigest/lint-baseline.xml
+++ b/core/core-appdigest/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/core/core-ktx/lint-baseline.xml b/core/core-ktx/lint-baseline.xml
index 51b9c8b..0a482c4 100644
--- a/core/core-ktx/lint-baseline.xml
+++ b/core/core-ktx/lint-baseline.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.animation.AnimatorKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.animation.AnimatorKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" addPauseListener(listener)"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -13,8 +13,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.util.AtomicFileKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.util.AtomicFileKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" val stream = startWrite()"
errorLine2=" ~~~~~~~~~~">
<location
@@ -24,8 +24,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.util.AtomicFileKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.util.AtomicFileKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" finishWrite(stream)"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -35,8 +35,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.util.AtomicFileKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.util.AtomicFileKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" failWrite(stream)"
errorLine2=" ~~~~~~~~~">
<location
@@ -46,8 +46,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.util.AtomicFileKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.util.AtomicFileKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="public inline fun AtomicFile.readBytes(): ByteArray = readFully()"
errorLine2=" ~~~~~~~~~">
<location
@@ -57,8 +57,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.util.AtomicFileKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.util.AtomicFileKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return readFully().toString(charset)"
errorLine2=" ~~~~~~~~~">
<location
@@ -68,8 +68,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.BitmapKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.BitmapKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" colorSpace: ColorSpace = ColorSpace.get(ColorSpace.Named.SRGB)"
errorLine2=" ~~~">
<location
@@ -79,8 +79,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.BitmapKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.BitmapKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return Bitmap.createBitmap(width, height, config, hasAlpha, colorSpace)"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -90,8 +90,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.core.os.BundleKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.core.os.BundleKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" putBinder(key, value)"
errorLine2=" ~~~~~~~~~">
<location
@@ -101,8 +101,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.os.BundleKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.os.BundleKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" putSize(key, value)"
errorLine2=" ~~~~~~~">
<location
@@ -112,8 +112,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.os.BundleKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.os.BundleKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" putSizeF(key, value)"
errorLine2=" ~~~~~~~~">
<location
@@ -123,8 +123,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="public inline operator fun Color.component1(): Float = getComponent(0)"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -134,8 +134,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="public inline operator fun Color.component2(): Float = getComponent(1)"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -145,8 +145,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="public inline operator fun Color.component3(): Float = getComponent(2)"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -156,8 +156,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="public inline operator fun Color.component4(): Float = getComponent(3)"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -167,8 +167,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.graphics.ColorKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.graphics.ColorKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" get() = Color.luminance(this)"
errorLine2=" ~~~~~~~~~">
<location
@@ -178,8 +178,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="public inline fun @receiver:ColorInt Int.toColor(): Color = Color.valueOf(this)"
errorLine2=" ~~~~~~~">
<location
@@ -189,8 +189,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="public inline fun @receiver:ColorInt Int.toColorLong(): Long = Color.pack(this)"
errorLine2=" ~~~~">
<location
@@ -200,8 +200,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="public inline operator fun @receiver:ColorLong Long.component1(): Float = Color.red(this)"
errorLine2=" ~~~">
<location
@@ -211,8 +211,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="public inline operator fun @receiver:ColorLong Long.component2(): Float = Color.green(this)"
errorLine2=" ~~~~~">
<location
@@ -222,8 +222,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="public inline operator fun @receiver:ColorLong Long.component3(): Float = Color.blue(this)"
errorLine2=" ~~~~">
<location
@@ -233,8 +233,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="public inline operator fun @receiver:ColorLong Long.component4(): Float = Color.alpha(this)"
errorLine2=" ~~~~~">
<location
@@ -244,8 +244,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" get() = Color.alpha(this)"
errorLine2=" ~~~~~">
<location
@@ -255,8 +255,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" get() = Color.red(this)"
errorLine2=" ~~~">
<location
@@ -266,8 +266,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" get() = Color.green(this)"
errorLine2=" ~~~~~">
<location
@@ -277,8 +277,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" get() = Color.blue(this)"
errorLine2=" ~~~~">
<location
@@ -288,8 +288,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" get() = Color.luminance(this)"
errorLine2=" ~~~~~~~~~">
<location
@@ -299,8 +299,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="public inline fun @receiver:ColorLong Long.toColor(): Color = Color.valueOf(this)"
errorLine2=" ~~~~~~~">
<location
@@ -310,8 +310,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="public inline fun @receiver:ColorLong Long.toColorInt(): Int = Color.toArgb(this)"
errorLine2=" ~~~~~~">
<location
@@ -321,8 +321,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" get() = Color.isSrgb(this)"
errorLine2=" ~~~~~~">
<location
@@ -332,8 +332,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" get() = Color.isWideGamut(this)"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -343,8 +343,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="public inline val @receiver:ColorLong Long.colorSpace: ColorSpace get() = Color.colorSpace(this)"
errorLine2=" ~~~~~~~~~~">
<location
@@ -354,8 +354,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" Color.convert(this, ColorSpace.get(colorSpace))"
errorLine2=" ~~~~~~~">
<location
@@ -365,8 +365,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" Color.convert(this, ColorSpace.get(colorSpace))"
errorLine2=" ~~~">
<location
@@ -376,8 +376,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" Color.convert(this, colorSpace)"
errorLine2=" ~~~~~~~">
<location
@@ -387,8 +387,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" Color.convert(this, ColorSpace.get(colorSpace))"
errorLine2=" ~~~~~~~">
<location
@@ -398,8 +398,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" Color.convert(this, ColorSpace.get(colorSpace))"
errorLine2=" ~~~">
<location
@@ -409,8 +409,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" Color.convert(this, colorSpace)"
errorLine2=" ~~~~~~~">
<location
@@ -420,8 +420,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" convert(ColorSpace.get(colorSpace))"
errorLine2=" ~~~~~~~">
<location
@@ -431,8 +431,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" convert(ColorSpace.get(colorSpace))"
errorLine2=" ~~~">
<location
@@ -442,8 +442,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="public inline infix fun Color.convertTo(colorSpace: ColorSpace): Color = convert(colorSpace)"
errorLine2=" ~~~~~~~">
<location
@@ -453,8 +453,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.drawable.ColorDrawableKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.drawable.ColorDrawableKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="public inline fun Color.toDrawable(): ColorDrawable = ColorDrawable(toArgb())"
errorLine2=" ~~~~~~">
<location
@@ -464,8 +464,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.util.HalfKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.util.HalfKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="public inline fun @receiver:HalfFloat Short.toHalf(): Half = Half.valueOf(this)"
errorLine2=" ~~~~~~~">
<location
@@ -475,8 +475,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.util.HalfKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.util.HalfKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="public inline fun Float.toHalf(): Half = Half.valueOf(this)"
errorLine2=" ~~~~~~~">
<location
@@ -486,8 +486,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.util.HalfKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.util.HalfKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="public inline fun String.toHalf(): Half = Half.valueOf(this)"
errorLine2=" ~~~~~~~">
<location
@@ -497,8 +497,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.drawable.IconKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.drawable.IconKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="public inline fun Bitmap.toAdaptiveIcon(): Icon = Icon.createWithAdaptiveBitmap(this)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -508,8 +508,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.graphics.drawable.IconKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.graphics.drawable.IconKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="public inline fun Bitmap.toIcon(): Icon = Icon.createWithBitmap(this)"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -519,8 +519,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.graphics.drawable.IconKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.graphics.drawable.IconKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="public inline fun Uri.toIcon(): Icon = Icon.createWithContentUri(this)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
@@ -530,8 +530,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.graphics.drawable.IconKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.graphics.drawable.IconKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="public inline fun ByteArray.toIcon(): Icon = Icon.createWithData(this, 0, size)"
errorLine2=" ~~~~~~~~~~~~~~">
<location
@@ -541,8 +541,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.graphics.ImageDecoderKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.graphics.ImageDecoderKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return ImageDecoder.decodeBitmap(this) { decoder, info, source ->"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -552,8 +552,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.graphics.ImageDecoderKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.graphics.ImageDecoderKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return ImageDecoder.decodeDrawable(this) { decoder, info, source ->"
errorLine2=" ~~~~~~~~~~~~~~">
<location
@@ -563,8 +563,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.text.LocaleKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.text.LocaleKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" get() = TextUtils.getLayoutDirectionFromLocale(this)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -574,8 +574,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.util.LongSparseArrayKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.util.LongSparseArrayKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="public inline val <T> LongSparseArray<T>.size: Int get() = size()"
errorLine2=" ~~~~">
<location
@@ -585,8 +585,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.util.LongSparseArrayKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.util.LongSparseArrayKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" indexOfKey(key) >= 0"
errorLine2=" ~~~~~~~~~~">
<location
@@ -596,8 +596,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.util.LongSparseArrayKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.util.LongSparseArrayKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="public inline operator fun <T> LongSparseArray<T>.set(key: Long, value: T): Unit = put(key, value)"
errorLine2=" ~~~">
<location
@@ -607,8 +607,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.util.LongSparseArrayKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.util.LongSparseArrayKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" val new = LongSparseArray<T>(size() + other.size())"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -618,8 +618,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.util.LongSparseArrayKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.util.LongSparseArrayKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" val new = LongSparseArray<T>(size() + other.size())"
errorLine2=" ~~~~">
<location
@@ -629,8 +629,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.util.LongSparseArrayKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.util.LongSparseArrayKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" val new = LongSparseArray<T>(size() + other.size())"
errorLine2=" ~~~~">
<location
@@ -640,8 +640,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.util.LongSparseArrayKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.util.LongSparseArrayKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="public inline fun <T> LongSparseArray<T>.containsKey(key: Long): Boolean = indexOfKey(key) >= 0"
errorLine2=" ~~~~~~~~~~">
<location
@@ -651,8 +651,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.util.LongSparseArrayKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.util.LongSparseArrayKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" indexOfValue(value) >= 0"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -662,8 +662,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.util.LongSparseArrayKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.util.LongSparseArrayKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" get(key) ?: defaultValue"
errorLine2=" ~~~">
<location
@@ -673,8 +673,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.util.LongSparseArrayKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.util.LongSparseArrayKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" get(key) ?: defaultValue()"
errorLine2=" ~~~">
<location
@@ -684,8 +684,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.util.LongSparseArrayKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.util.LongSparseArrayKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="public inline fun <T> LongSparseArray<T>.isEmpty(): Boolean = size() == 0"
errorLine2=" ~~~~">
<location
@@ -695,8 +695,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.util.LongSparseArrayKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.util.LongSparseArrayKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="public inline fun <T> LongSparseArray<T>.isNotEmpty(): Boolean = size() != 0"
errorLine2=" ~~~~">
<location
@@ -706,8 +706,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.util.LongSparseArrayKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.util.LongSparseArrayKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" val index = indexOfKey(key)"
errorLine2=" ~~~~~~~~~~">
<location
@@ -717,8 +717,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.util.LongSparseArrayKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.util.LongSparseArrayKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (index >= 0 && value == valueAt(index)) {"
errorLine2=" ~~~~~~~">
<location
@@ -728,8 +728,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.util.LongSparseArrayKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.util.LongSparseArrayKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" removeAt(index)"
errorLine2=" ~~~~~~~~">
<location
@@ -739,8 +739,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.util.LongSparseArrayKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.util.LongSparseArrayKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" for (index in 0 until size()) {"
errorLine2=" ~~~~">
<location
@@ -750,8 +750,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.util.LongSparseArrayKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.util.LongSparseArrayKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" action(keyAt(index), valueAt(index))"
errorLine2=" ~~~~~">
<location
@@ -761,8 +761,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.util.LongSparseArrayKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.util.LongSparseArrayKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" action(keyAt(index), valueAt(index))"
errorLine2=" ~~~~~~~">
<location
@@ -772,8 +772,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" override fun hasNext() = index < size()"
errorLine2=" ~~~~">
<location
@@ -783,8 +783,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" override fun nextLong() = keyAt(index++)"
errorLine2=" ~~~~~">
<location
@@ -794,8 +794,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" override fun hasNext() = index < size()"
errorLine2=" ~~~~">
<location
@@ -805,8 +805,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" override fun next() = valueAt(index++)"
errorLine2=" ~~~~~~~">
<location
@@ -816,8 +816,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.graphics.PathKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.graphics.PathKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" op(p, Path.Op.UNION)"
errorLine2=" ~~">
<location
@@ -827,8 +827,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.graphics.PathKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.graphics.PathKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" op(p, Path.Op.DIFFERENCE)"
errorLine2=" ~~">
<location
@@ -838,8 +838,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.graphics.PathKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.graphics.PathKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" op(this@and, p, Path.Op.INTERSECT)"
errorLine2=" ~~">
<location
@@ -849,8 +849,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.graphics.PathKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.graphics.PathKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" op(p, Path.Op.XOR)"
errorLine2=" ~~">
<location
@@ -860,8 +860,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.os.PersistableBundleKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.os.PersistableBundleKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="): PersistableBundle = PersistableBundle(pairs.size).apply {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -871,8 +871,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.os.PersistableBundleKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.os.PersistableBundleKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" null -> putString(key, null) // Any nullable type will suffice."
errorLine2=" ~~~~~~~~~">
<location
@@ -882,8 +882,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 22, the call containing class androidx.core.os.PersistableBundleKt is not annotated with @RequiresApi(x) where x is at least 22. Either annotate the containing class with at least @RequiresApi(22) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(22)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 22; however, the containing class androidx.core.os.PersistableBundleKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" putBoolean(key, value)"
errorLine2=" ~~~~~~~~~~">
<location
@@ -893,8 +893,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.os.PersistableBundleKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.os.PersistableBundleKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" is Double -> putDouble(key, value)"
errorLine2=" ~~~~~~~~~">
<location
@@ -904,8 +904,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.os.PersistableBundleKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.os.PersistableBundleKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" is Int -> putInt(key, value)"
errorLine2=" ~~~~~~">
<location
@@ -915,8 +915,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.os.PersistableBundleKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.os.PersistableBundleKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" is Long -> putLong(key, value)"
errorLine2=" ~~~~~~~">
<location
@@ -926,8 +926,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.os.PersistableBundleKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.os.PersistableBundleKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" is String -> putString(key, value)"
errorLine2=" ~~~~~~~~~">
<location
@@ -937,8 +937,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 22, the call containing class androidx.core.os.PersistableBundleKt is not annotated with @RequiresApi(x) where x is at least 22. Either annotate the containing class with at least @RequiresApi(22) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(22)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 22; however, the containing class androidx.core.os.PersistableBundleKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" putBooleanArray(key, value)"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
@@ -948,8 +948,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.os.PersistableBundleKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.os.PersistableBundleKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" is DoubleArray -> putDoubleArray(key, value)"
errorLine2=" ~~~~~~~~~~~~~~">
<location
@@ -959,8 +959,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.os.PersistableBundleKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.os.PersistableBundleKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" is IntArray -> putIntArray(key, value)"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -970,8 +970,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.os.PersistableBundleKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.os.PersistableBundleKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" is LongArray -> putLongArray(key, value)"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -981,8 +981,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.os.PersistableBundleKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.os.PersistableBundleKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" putStringArray(key, value as Array<String>)"
errorLine2=" ~~~~~~~~~~~~~~">
<location
@@ -992,8 +992,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.util.RangeKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.util.RangeKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="public inline infix fun <T : Comparable<T>> T.rangeTo(that: T): Range<T> = Range(this, that)"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -1003,8 +1003,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.util.RangeKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.util.RangeKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="public inline operator fun <T : Comparable<T>> Range<T>.plus(value: T): Range<T> = extend(value)"
errorLine2=" ~~~~~~">
<location
@@ -1014,8 +1014,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.util.RangeKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.util.RangeKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" extend(other)"
errorLine2=" ~~~~~~">
<location
@@ -1025,8 +1025,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.util.RangeKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.util.RangeKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" intersect(other)"
errorLine2=" ~~~~~~~~~">
<location
@@ -1036,8 +1036,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" override val endInclusive get() = upper"
errorLine2=" ~~~~~">
<location
@@ -1047,8 +1047,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" override val start get() = lower"
errorLine2=" ~~~~~">
<location
@@ -1058,8 +1058,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.util.RangeKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.util.RangeKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="public fun <T : Comparable<T>> ClosedRange<T>.toRange(): Range<T> = Range(start, endInclusive)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -1069,8 +1069,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.util.SizeKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.util.SizeKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="public inline operator fun Size.component1(): Int = width"
errorLine2=" ~~~~~">
<location
@@ -1080,8 +1080,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.util.SizeKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.util.SizeKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="public inline operator fun Size.component2(): Int = height"
errorLine2=" ~~~~~~">
<location
@@ -1091,8 +1091,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.util.SizeKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.util.SizeKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="public inline operator fun SizeF.component1(): Float = width"
errorLine2=" ~~~~~">
<location
@@ -1102,8 +1102,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.util.SizeKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.util.SizeKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="public inline operator fun SizeF.component2(): Float = height"
errorLine2=" ~~~~~~">
<location
@@ -1113,8 +1113,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.core.util.SparseLongArrayKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.core.util.SparseLongArrayKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="public inline val SparseLongArray.size: Int get() = size()"
errorLine2=" ~~~~">
<location
@@ -1124,8 +1124,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.core.util.SparseLongArrayKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.core.util.SparseLongArrayKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="public inline operator fun SparseLongArray.contains(key: Int): Boolean = indexOfKey(key) >= 0"
errorLine2=" ~~~~~~~~~~">
<location
@@ -1135,8 +1135,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.core.util.SparseLongArrayKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.core.util.SparseLongArrayKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="public inline operator fun SparseLongArray.set(key: Int, value: Long): Unit = put(key, value)"
errorLine2=" ~~~">
<location
@@ -1146,8 +1146,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.core.util.SparseLongArrayKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.core.util.SparseLongArrayKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" val new = SparseLongArray(size() + other.size())"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -1157,8 +1157,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.core.util.SparseLongArrayKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.core.util.SparseLongArrayKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" val new = SparseLongArray(size() + other.size())"
errorLine2=" ~~~~">
<location
@@ -1168,8 +1168,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.core.util.SparseLongArrayKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.core.util.SparseLongArrayKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" val new = SparseLongArray(size() + other.size())"
errorLine2=" ~~~~">
<location
@@ -1179,8 +1179,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.core.util.SparseLongArrayKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.core.util.SparseLongArrayKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="public inline fun SparseLongArray.containsKey(key: Int): Boolean = indexOfKey(key) >= 0"
errorLine2=" ~~~~~~~~~~">
<location
@@ -1190,8 +1190,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.core.util.SparseLongArrayKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.core.util.SparseLongArrayKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="public inline fun SparseLongArray.containsValue(value: Long): Boolean = indexOfValue(value) >= 0"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -1201,8 +1201,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.core.util.SparseLongArrayKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.core.util.SparseLongArrayKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" get(key, defaultValue)"
errorLine2=" ~~~">
<location
@@ -1212,8 +1212,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.core.util.SparseLongArrayKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.core.util.SparseLongArrayKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" indexOfKey(key).let { if (it >= 0) valueAt(it) else defaultValue() }"
errorLine2=" ~~~~~~~~~~">
<location
@@ -1223,8 +1223,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.core.util.SparseLongArrayKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.core.util.SparseLongArrayKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" indexOfKey(key).let { if (it >= 0) valueAt(it) else defaultValue() }"
errorLine2=" ~~~~~~~">
<location
@@ -1234,8 +1234,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.core.util.SparseLongArrayKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.core.util.SparseLongArrayKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="public inline fun SparseLongArray.isEmpty(): Boolean = size() == 0"
errorLine2=" ~~~~">
<location
@@ -1245,8 +1245,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.core.util.SparseLongArrayKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.core.util.SparseLongArrayKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="public inline fun SparseLongArray.isNotEmpty(): Boolean = size() != 0"
errorLine2=" ~~~~">
<location
@@ -1256,8 +1256,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.core.util.SparseLongArrayKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.core.util.SparseLongArrayKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" val index = indexOfKey(key)"
errorLine2=" ~~~~~~~~~~">
<location
@@ -1267,8 +1267,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.core.util.SparseLongArrayKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.core.util.SparseLongArrayKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (index >= 0 && value == valueAt(index)) {"
errorLine2=" ~~~~~~~">
<location
@@ -1278,8 +1278,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.core.util.SparseLongArrayKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.core.util.SparseLongArrayKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" removeAt(index)"
errorLine2=" ~~~~~~~~">
<location
@@ -1289,8 +1289,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.core.util.SparseLongArrayKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.core.util.SparseLongArrayKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" for (index in 0 until size()) {"
errorLine2=" ~~~~">
<location
@@ -1300,8 +1300,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.core.util.SparseLongArrayKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.core.util.SparseLongArrayKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" action(keyAt(index), valueAt(index))"
errorLine2=" ~~~~~">
<location
@@ -1311,8 +1311,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.core.util.SparseLongArrayKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.core.util.SparseLongArrayKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" action(keyAt(index), valueAt(index))"
errorLine2=" ~~~~~~~">
<location
@@ -1322,8 +1322,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" override fun hasNext() = index < size()"
errorLine2=" ~~~~">
<location
@@ -1333,8 +1333,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" override fun nextInt() = keyAt(index++)"
errorLine2=" ~~~~~">
<location
@@ -1344,8 +1344,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" override fun hasNext() = index < size()"
errorLine2=" ~~~~">
<location
@@ -1355,8 +1355,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" override fun nextLong() = valueAt(index++)"
errorLine2=" ~~~~~~~">
<location
@@ -1366,8 +1366,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.transition.TransitionKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.transition.TransitionKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" addListener(listener)"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -1377,8 +1377,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.content.res.TypedArrayKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.content.res.TypedArrayKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return getFont(index)!!"
errorLine2=" ~~~~~~~">
<location
@@ -1388,8 +1388,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.view.ViewKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.view.ViewKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" @Px start: Int = paddingStart,"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -1399,8 +1399,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.view.ViewKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.view.ViewKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" @Px end: Int = paddingEnd,"
errorLine2=" ~~~~~~~~~~">
<location
@@ -1410,8 +1410,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.view.ViewKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.view.ViewKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" setPaddingRelative(start, top, end, bottom)"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
@@ -1421,8 +1421,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.ViewKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.ViewKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" postOnAnimationDelayed(runnable, delayInMillis)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -1432,8 +1432,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.view.ViewGroupKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.view.ViewGroupKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" @Px start: Int = marginStart,"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -1443,8 +1443,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.view.ViewGroupKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.view.ViewGroupKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" @Px end: Int = marginEnd,"
errorLine2=" ~~~~~~~~~">
<location
@@ -1454,8 +1454,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.view.ViewGroupKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.view.ViewGroupKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" marginStart = start"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -1465,8 +1465,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.view.ViewGroupKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.view.ViewGroupKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" marginEnd = end"
errorLine2=" ~~~~~~~~~">
<location
diff --git a/core/core-role/lint-baseline.xml b/core/core-role/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/core/core-role/lint-baseline.xml
+++ b/core/core-role/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/core/core/lint-baseline.xml b/core/core/lint-baseline.xml
index d40b651..e683e40 100644
--- a/core/core/lint-baseline.xml
+++ b/core/core/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="BanSynchronizedMethods"
@@ -30,7 +30,7 @@
errorLine2=" ^">
<location
file="src/main/java/androidx/core/content/ContextCompat.java"
- line="589"
+ line="605"
column="5"/>
</issue>
@@ -217,7 +217,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/os/ProcessCompat.java"
- line="141"
+ line="142"
column="48"/>
</issue>
@@ -228,7 +228,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/content/res/ResourcesCompat.java"
- line="541"
+ line="553"
column="29"/>
</issue>
@@ -360,7 +360,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2455"
+ line="2456"
column="13"/>
</issue>
@@ -371,7 +371,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/view/WindowInsetsCompat.java"
- line="1128"
+ line="1141"
column="39"/>
</issue>
@@ -387,6 +387,11347 @@
</issue>
<issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.AccessibilityDelegateCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" Object provider = mOriginalDelegate.getAccessibilityNodeProvider(host);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/AccessibilityDelegateCompat.java"
+ line="320"
+ column="49"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.AccessibilityDelegateCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" success = mOriginalDelegate.performAccessibilityAction(host, action, args);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/AccessibilityDelegateCompat.java"
+ line="355"
+ column="41"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityEventCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" event.setContentChangeTypes(changeTypes);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityEventCompat.java"
+ line="323"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityEventCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return event.getContentChangeTypes();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityEventCompat.java"
+ line="344"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.accessibility.AccessibilityEventCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" event.setMovementGranularity(granularity);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityEventCompat.java"
+ line="359"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.accessibility.AccessibilityEventCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return event.getMovementGranularity();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityEventCompat.java"
+ line="370"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.accessibility.AccessibilityEventCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" event.setAction(action);"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityEventCompat.java"
+ line="395"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.accessibility.AccessibilityEventCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return event.getAction();"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityEventCompat.java"
+ line="406"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return manager.addTouchExplorationStateChangeListener("
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityManagerCompat.java"
+ line="172"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return manager.removeTouchExplorationStateChangeListener("
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityManagerCompat.java"
+ line="191"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mAction = new AccessibilityNodeInfo.AccessibilityAction(id, label);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="641"
+ column="27"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return ((AccessibilityNodeInfo.AccessibilityAction) mAction).getId();"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="655"
+ column="78"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return ((AccessibilityNodeInfo.AccessibilityAction) mAction).getLabel();"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="669"
+ column="78"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.CollectionInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return new CollectionInfoCompat(AccessibilityNodeInfo.CollectionInfo.obtain("
+ errorLine2=" ~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="780"
+ column="86"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.CollectionInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return new CollectionInfoCompat(AccessibilityNodeInfo.CollectionInfo.obtain("
+ errorLine2=" ~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="783"
+ column="86"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.CollectionInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return new CollectionInfoCompat(AccessibilityNodeInfo.CollectionInfo.obtain("
+ errorLine2=" ~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="802"
+ column="86"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.CollectionInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return ((AccessibilityNodeInfo.CollectionInfo) mInfo).getColumnCount();"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="820"
+ column="71"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.CollectionInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return ((AccessibilityNodeInfo.CollectionInfo) mInfo).getRowCount();"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="833"
+ column="71"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.CollectionInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return ((AccessibilityNodeInfo.CollectionInfo) mInfo).isHierarchical();"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="846"
+ column="71"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.CollectionInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return ((AccessibilityNodeInfo.CollectionInfo) mInfo).getSelectionMode();"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="864"
+ column="71"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.CollectionItemInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return new CollectionItemInfoCompat(AccessibilityNodeInfo.CollectionItemInfo.obtain("
+ errorLine2=" ~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="901"
+ column="94"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.CollectionItemInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return new CollectionItemInfoCompat(AccessibilityNodeInfo.CollectionItemInfo.obtain("
+ errorLine2=" ~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="904"
+ column="94"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.CollectionItemInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return new CollectionItemInfoCompat(AccessibilityNodeInfo.CollectionItemInfo.obtain("
+ errorLine2=" ~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="926"
+ column="94"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.CollectionItemInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return ((AccessibilityNodeInfo.CollectionItemInfo) mInfo).getColumnIndex();"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="944"
+ column="75"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.CollectionItemInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return ((AccessibilityNodeInfo.CollectionItemInfo) mInfo).getColumnSpan();"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="957"
+ column="75"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.CollectionItemInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return ((AccessibilityNodeInfo.CollectionItemInfo) mInfo).getRowIndex();"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="970"
+ column="75"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.CollectionItemInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return ((AccessibilityNodeInfo.CollectionItemInfo) mInfo).getRowSpan();"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="983"
+ column="75"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.CollectionItemInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return ((AccessibilityNodeInfo.CollectionItemInfo) mInfo).isHeading();"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="1000"
+ column="75"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.CollectionItemInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return ((AccessibilityNodeInfo.CollectionItemInfo) mInfo).isSelected();"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="1013"
+ column="75"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.RangeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" AccessibilityNodeInfo.RangeInfo.obtain(type, min, max, current));"
+ errorLine2=" ~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="1043"
+ column="57"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.RangeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return ((AccessibilityNodeInfo.RangeInfo) mInfo).getCurrent();"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="1062"
+ column="66"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.RangeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return ((AccessibilityNodeInfo.RangeInfo) mInfo).getMax();"
+ errorLine2=" ~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="1075"
+ column="66"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.RangeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return ((AccessibilityNodeInfo.RangeInfo) mInfo).getMin();"
+ errorLine2=" ~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="1088"
+ column="66"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.RangeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return ((AccessibilityNodeInfo.RangeInfo) mInfo).getType();"
+ errorLine2=" ~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="1105"
+ column="66"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.TouchDelegateInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo = new TouchDelegateInfo(targetMap);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="1125"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.TouchDelegateInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mInfo.getRegionCount();"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="1147"
+ column="30"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.TouchDelegateInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mInfo.getRegionAt(index);"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="1166"
+ column="30"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.TouchDelegateInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" AccessibilityNodeInfo info = mInfo.getTargetForRegion(region);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="1194"
+ column="52"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" AccessibilityNodeInfo.obtain(root, virtualDescendantId));"
+ errorLine2=" ~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="1755"
+ column="43"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.setSource(root, virtualDescendantId);"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="1817"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return AccessibilityNodeInfoCompat.wrapNonNullInstance(mInfo.findFocus(focus));"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="1834"
+ column="74"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return AccessibilityNodeInfoCompat.wrapNonNullInstance(mInfo.focusSearch(direction));"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="1856"
+ column="74"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.addChild(root, virtualDescendantId);"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="1928"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mInfo.removeChild(child);"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="1948"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mInfo.removeChild(root, virtualDescendantId);"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="1966"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" ArrayList<Integer> list = mInfo.getExtras()"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="2004"
+ column="41"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.getExtras().putIntegerArrayList(key, list);"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="2008"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.addAction((AccessibilityNodeInfo.AccessibilityAction) action.mAction);"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="2031"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mInfo.removeAction((AccessibilityNodeInfo.AccessibilityAction) action.mAction);"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="2056"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mInfo.performAction(action, arguments);"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="2093"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.setMovementGranularities(granularities);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="2113"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mInfo.getMovementGranularities();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="2124"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.setParent(root, virtualDescendantId);"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="2210"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mInfo.isVisibleToUser();"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="2380"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.setVisibleToUser(visibleToUser);"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="2400"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mInfo.isAccessibilityFocused();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="2411"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.setAccessibilityFocused(focused);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="2431"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mInfo.isImportantForAccessibility();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="2589"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.setImportantForAccessibility(important);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="2608"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.getExtras().remove(SPANS_START_KEY);"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="2767"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.getExtras().remove(SPANS_END_KEY);"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="2768"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.getExtras().remove(SPANS_FLAGS_KEY);"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="2769"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.getExtras().remove(SPANS_ID_KEY);"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="2770"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mInfo.getExtras().getCharSequence(STATE_DESCRIPTION_KEY);"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="2815"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.getExtras().putCharSequence(STATE_DESCRIPTION_KEY, stateDescription);"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="2850"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.setViewIdResourceName(viewId);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="2878"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mInfo.getViewIdResourceName();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="2896"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mInfo.getLiveRegion();"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="2922"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.setLiveRegion(mode);"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="2942"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mInfo.getDrawingOrder();"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="2959"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.setDrawingOrder(drawingOrderInParent);"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="2978"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" AccessibilityNodeInfo.CollectionInfo info = mInfo.getCollectionInfo();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="2990"
+ column="63"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.setCollectionInfo((collectionInfo == null) ? null"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3000"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.setCollectionItemInfo((collectionItemInfo == null) ? null"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3009"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" AccessibilityNodeInfo.CollectionItemInfo info = mInfo.getCollectionItemInfo();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3023"
+ column="67"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" AccessibilityNodeInfo.RangeInfo info = mInfo.getRangeInfo();"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3038"
+ column="58"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.setRangeInfo((AccessibilityNodeInfo.RangeInfo) rangeInfo.mInfo);"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3058"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" actions = (List<Object>) (List<?>) mInfo.getActionList();"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3076"
+ column="54"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.setContentInvalid(contentInvalid);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3104"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mInfo.isContentInvalid();"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3116"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mInfo.isContextClickable();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3129"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.setContextClickable(contextClickable);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3148"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mInfo.getHintText();"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3159"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mInfo.getExtras().getCharSequence(HINT_TEXT_KEY);"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3161"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.setHintText(hintText);"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3181"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.getExtras().putCharSequence(HINT_TEXT_KEY, hintText);"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3183"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.setError(error);"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3202"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mInfo.getError();"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3213"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.setLabelFor(labeled);"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3227"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.setLabelFor(root, virtualDescendantId);"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3247"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return AccessibilityNodeInfoCompat.wrapNonNullInstance(mInfo.getLabelFor());"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3264"
+ column="74"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.setLabeledBy(label);"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3278"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.setLabeledBy(root, virtualDescendantId);"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3303"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return AccessibilityNodeInfoCompat.wrapNonNullInstance(mInfo.getLabeledBy());"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3320"
+ column="74"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mInfo.canOpenPopup();"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3333"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.setCanOpenPopup(opensPopup);"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3351"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" List<AccessibilityNodeInfo> nodes = mInfo.findAccessibilityNodeInfosByViewId(viewId);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3380"
+ column="55"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mInfo.getExtras();"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3406"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mInfo.getInputType();"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3419"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.setInputType(inputType);"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3440"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.setMaxTextLength(max);"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3461"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mInfo.getMaxTextLength();"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3473"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.setTextSelection(start, end);"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3494"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mInfo.getTextSelectionStart();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3505"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mInfo.getTextSelectionEnd();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3518"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 22; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return AccessibilityNodeInfoCompat.wrapNonNullInstance(mInfo.getTraversalBefore());"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3535"
+ column="74"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 22; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.setTraversalBefore(view);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3557"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 22; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.setTraversalBefore(root, virtualDescendantId);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3584"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 22; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return AccessibilityNodeInfoCompat.wrapNonNullInstance(mInfo.getTraversalAfter());"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3600"
+ column="74"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 22; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.setTraversalAfter(view);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3622"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 22; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.setTraversalAfter(root, virtualDescendantId);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3648"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return AccessibilityWindowInfoCompat.wrapNonNullInstance(mInfo.getWindow());"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3661"
+ column="76"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mInfo.isDismissable();"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3674"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.setDismissable(dismissable);"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3692"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mInfo.isEditable();"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3703"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.setEditable(editable);"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3723"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mInfo.isMultiLine();"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3734"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.setMultiLine(multiLine);"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3752"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mInfo.getTooltipText();"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3764"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mInfo.getExtras().getCharSequence(TOOLTIP_TEXT_KEY);"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3766"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.setTooltipText(tooltipText);"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3786"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.getExtras().putCharSequence(TOOLTIP_TEXT_KEY, tooltipText);"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3788"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.setPaneTitle(paneTitle);"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3806"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.getExtras().putCharSequence(PANE_TITLE_KEY, paneTitle);"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3808"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mInfo.getPaneTitle();"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3820"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mInfo.getExtras().getCharSequence(PANE_TITLE_KEY);"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3822"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mInfo.isScreenReaderFocusable();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3839"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.setScreenReaderFocusable(screenReaderFocusable);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3858"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mInfo.isShowingHintText();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3873"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.setShowingHintText(showingHintText);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3893"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mInfo.isHeading();"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3910"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.setHeading(isHeading);"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3930"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mInfo.isTextEntryKey();"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3943"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.setTextEntryKey(isTextEntryKey);"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3961"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mInfo.refresh();"
+ errorLine2=" ~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3978"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mInfo.getExtras().getCharSequence(ROLE_DESCRIPTION_KEY);"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="3990"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.getExtras().putCharSequence(ROLE_DESCRIPTION_KEY, roleDescription);"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="4022"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" TouchDelegateInfo delegateInfo = mInfo.getTouchDelegateInfo();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="4044"
+ column="52"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.setTouchDelegateInfo(delegatedInfo.mInfo);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
+ line="4071"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.accessibility.AccessibilityRecordCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" record.setSource(root, virtualDescendantId);"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityRecordCompat.java"
+ line="140"
+ column="20"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 15; however, the containing class androidx.core.view.accessibility.AccessibilityRecordCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return record.getMaxScrollX();"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityRecordCompat.java"
+ line="483"
+ column="27"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 15; however, the containing class androidx.core.view.accessibility.AccessibilityRecordCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" record.setMaxScrollX(maxScrollX);"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityRecordCompat.java"
+ line="509"
+ column="20"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 15; however, the containing class androidx.core.view.accessibility.AccessibilityRecordCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return record.getMaxScrollY();"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityRecordCompat.java"
+ line="533"
+ column="27"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 15; however, the containing class androidx.core.view.accessibility.AccessibilityRecordCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" record.setMaxScrollY(maxScrollY);"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityRecordCompat.java"
+ line="559"
+ column="20"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.accessibilityservice.AccessibilityServiceInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return info.loadDescription(packageManager);"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/accessibilityservice/AccessibilityServiceInfoCompat.java"
+ line="199"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.core.accessibilityservice.AccessibilityServiceInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return info.getCapabilities();"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/accessibilityservice/AccessibilityServiceInfoCompat.java"
+ line="288"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.accessibility.AccessibilityWindowInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return ((AccessibilityWindowInfo) mInfo).getType();"
+ errorLine2=" ~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityWindowInfoCompat.java"
+ line="100"
+ column="54"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.accessibility.AccessibilityWindowInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return ((AccessibilityWindowInfo) mInfo).getLayer();"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityWindowInfoCompat.java"
+ line="114"
+ column="54"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.accessibility.AccessibilityWindowInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" ((AccessibilityWindowInfo) mInfo).getRoot());"
+ errorLine2=" ~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityWindowInfoCompat.java"
+ line="128"
+ column="55"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.accessibility.AccessibilityWindowInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return wrapNonNullInstance(((AccessibilityWindowInfo) mInfo).getParent());"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityWindowInfoCompat.java"
+ line="141"
+ column="74"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.accessibility.AccessibilityWindowInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return ((AccessibilityWindowInfo) mInfo).getId();"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityWindowInfoCompat.java"
+ line="154"
+ column="54"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.accessibility.AccessibilityWindowInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" ((AccessibilityWindowInfo) mInfo).getBoundsInScreen(outBounds);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityWindowInfoCompat.java"
+ line="167"
+ column="47"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.accessibility.AccessibilityWindowInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return ((AccessibilityWindowInfo) mInfo).isActive();"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityWindowInfoCompat.java"
+ line="180"
+ column="54"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.accessibility.AccessibilityWindowInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return ((AccessibilityWindowInfo) mInfo).isFocused();"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityWindowInfoCompat.java"
+ line="193"
+ column="54"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.accessibility.AccessibilityWindowInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return ((AccessibilityWindowInfo) mInfo).isAccessibilityFocused();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityWindowInfoCompat.java"
+ line="206"
+ column="54"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.accessibility.AccessibilityWindowInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return ((AccessibilityWindowInfo) mInfo).getChildCount();"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityWindowInfoCompat.java"
+ line="219"
+ column="54"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.accessibility.AccessibilityWindowInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return wrapNonNullInstance(((AccessibilityWindowInfo) mInfo).getChild(index));"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityWindowInfoCompat.java"
+ line="233"
+ column="74"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.view.accessibility.AccessibilityWindowInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return ((AccessibilityWindowInfo) mInfo).getTitle();"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityWindowInfoCompat.java"
+ line="247"
+ column="54"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.view.accessibility.AccessibilityWindowInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" ((AccessibilityWindowInfo) mInfo).getAnchor());"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityWindowInfoCompat.java"
+ line="261"
+ column="55"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.accessibility.AccessibilityWindowInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return wrapNonNullInstance(AccessibilityWindowInfo.obtain());"
+ errorLine2=" ~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityWindowInfoCompat.java"
+ line="275"
+ column="64"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.accessibility.AccessibilityWindowInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" AccessibilityWindowInfo.obtain((AccessibilityWindowInfo) info.mInfo));"
+ errorLine2=" ~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityWindowInfoCompat.java"
+ line="294"
+ column="53"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.accessibility.AccessibilityWindowInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" ((AccessibilityWindowInfo) mInfo).recycle();"
+ errorLine2=" ~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/accessibility/AccessibilityWindowInfoCompat.java"
+ line="310"
+ column="47"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.ActivityCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" activity.startActivityForResult(intent, requestCode, options);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/ActivityCompat.java"
+ line="237"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.ActivityCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" activity.startIntentSenderForResult(intent, requestCode, fillInIntent, flagsMask,"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/ActivityCompat.java"
+ line="274"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.ActivityCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" activity.finishAffinity();"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/ActivityCompat.java"
+ line="291"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.app.ActivityCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" activity.finishAfterTransition();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/ActivityCompat.java"
+ line="308"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 22; however, the containing class androidx.core.app.ActivityCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return activity.getReferrer();"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/ActivityCompat.java"
+ line="333"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.app.ActivityCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return activity.requireViewById(id);"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/ActivityCompat.java"
+ line="366"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.app.ActivityCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" activity.setEnterSharedElementCallback(frameworkCallback);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/ActivityCompat.java"
+ line="390"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.app.ActivityCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" activity.setExitSharedElementCallback(frameworkCallback);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/ActivityCompat.java"
+ line="409"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.app.ActivityCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" activity.postponeEnterTransition();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/ActivityCompat.java"
+ line="415"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.app.ActivityCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" activity.startPostponedEnterTransition();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/ActivityCompat.java"
+ line="421"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.app.ActivityCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" activity.requestPermissions(permissions, requestCode);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/ActivityCompat.java"
+ line="516"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.app.ActivityCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return activity.shouldShowRequestPermissionRationale(permission);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/ActivityCompat.java"
+ line="553"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" listener.onSharedElementsReady();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/ActivityCompat.java"
+ line="697"
+ column="38"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.app.ActivityManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return activityManager.isLowRamDevice();"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/ActivityManagerCompat.java"
+ line="41"
+ column="36"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.ActivityOptionsCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return new ActivityOptionsCompatImpl(ActivityOptions.makeCustomAnimation(context,"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/ActivityOptionsCompat.java"
+ line="69"
+ column="66"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.ActivityOptionsCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return new ActivityOptionsCompatImpl(ActivityOptions.makeScaleUpAnimation("
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/ActivityOptionsCompat.java"
+ line="99"
+ column="66"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.app.ActivityOptionsCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return new ActivityOptionsCompatImpl(ActivityOptions.makeClipRevealAnimation("
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/ActivityOptionsCompat.java"
+ line="123"
+ column="66"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.ActivityOptionsCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return new ActivityOptionsCompatImpl(ActivityOptions.makeThumbnailScaleUpAnimation("
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/ActivityOptionsCompat.java"
+ line="152"
+ column="66"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.app.ActivityOptionsCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return new ActivityOptionsCompatImpl(ActivityOptions.makeSceneTransitionAnimation("
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/ActivityOptionsCompat.java"
+ line="180"
+ column="66"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.app.ActivityOptionsCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" ActivityOptions.makeSceneTransitionAnimation(activity, pairs));"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/ActivityOptionsCompat.java"
+ line="217"
+ column="37"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.app.ActivityOptionsCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return new ActivityOptionsCompatImpl(ActivityOptions.makeTaskLaunchBehind());"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/ActivityOptionsCompat.java"
+ line="235"
+ column="66"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.app.ActivityOptionsCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return new ActivityOptionsCompatImpl(ActivityOptions.makeBasic());"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/ActivityOptionsCompat.java"
+ line="247"
+ column="66"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.app.ActivityOptionsCompat.ActivityOptionsCompatImpl is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mActivityOptions.requestUsageTimeReport(receiver);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/ActivityOptionsCompat.java"
+ line="277"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.app.ActivityOptionsCompat.ActivityOptionsCompatImpl is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mActivityOptions.setLaunchBounds(screenSpacePixelRect));"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/ActivityOptionsCompat.java"
+ line="288"
+ column="38"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.app.ActivityOptionsCompat.ActivityOptionsCompatImpl is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mActivityOptions.getLaunchBounds();"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/ActivityOptionsCompat.java"
+ line="296"
+ column="37"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.app.AlarmManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" alarmManager.setAlarmClock(new AlarmManager.AlarmClockInfo(triggerTime, showIntent),"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/AlarmManagerCompat.java"
+ line="60"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.app.AlarmManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" alarmManager.setAlarmClock(new AlarmManager.AlarmClockInfo(triggerTime, showIntent),"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/AlarmManagerCompat.java"
+ line="60"
+ column="40"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.app.AlarmManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" alarmManager.setAndAllowWhileIdle(type, triggerAtMillis, operation);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/AlarmManagerCompat.java"
+ line="118"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.app.AlarmManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" alarmManager.setExact(type, triggerAtMillis, operation);"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/AlarmManagerCompat.java"
+ line="163"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.app.AlarmManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" alarmManager.setExactAndAllowWhileIdle(type, triggerAtMillis, operation);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/AlarmManagerCompat.java"
+ line="223"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.app.AppOpsManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return AppOpsManager.permissionToOp(permission);"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/AppOpsManagerCompat.java"
+ line="76"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.app.AppOpsManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return appOpsManager.noteOp(op, uid, packageName);"
+ errorLine2=" ~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/AppOpsManagerCompat.java"
+ line="107"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.app.AppOpsManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return appOpsManager.noteOpNoThrow(op, uid, packageName);"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/AppOpsManagerCompat.java"
+ line="127"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.app.AppOpsManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" AppOpsManager appOpsManager = context.getSystemService(AppOpsManager.class);"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/AppOpsManagerCompat.java"
+ line="157"
+ column="51"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.app.AppOpsManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return appOpsManager.noteProxyOp(op, proxiedPackageName);"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/AppOpsManagerCompat.java"
+ line="158"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.app.AppOpsManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" AppOpsManager appOpsManager = context.getSystemService(AppOpsManager.class);"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/AppOpsManagerCompat.java"
+ line="176"
+ column="51"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.app.AppOpsManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return appOpsManager.noteProxyOpNoThrow(op, proxiedPackageName);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/AppOpsManagerCompat.java"
+ line="177"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.graphics.BitmapCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return bitmap.hasMipMap();"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/BitmapCompat.java"
+ line="29"
+ column="27"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.graphics.BitmapCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" bitmap.setHasMipMap(hasMipMap);"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/BitmapCompat.java"
+ line="36"
+ column="20"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.graphics.BitmapCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return bitmap.getAllocationByteCount();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/BitmapCompat.java"
+ line="49"
+ column="27"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.core.graphics.BlendModeColorFilterCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" ? new BlendModeColorFilter(color, blendMode) : null;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/BlendModeColorFilterCompat.java"
+ line="45"
+ column="23"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.core.app.BundleCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return bundle.getBinder(key);"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/BundleCompat.java"
+ line="106"
+ column="27"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.core.app.BundleCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" bundle.putBinder(key, binder);"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/BundleCompat.java"
+ line="122"
+ column="20"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.os.CancellationSignal is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" ((android.os.CancellationSignal) obj).cancel();"
+ errorLine2=" ~~~~~~">
+ <location
+ file="src/main/java/androidx/core/os/CancellationSignal.java"
+ line="84"
+ column="55"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.os.CancellationSignal is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mCancellationSignalObj = new android.os.CancellationSignal();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/os/CancellationSignal.java"
+ line="143"
+ column="42"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.os.CancellationSignal is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" ((android.os.CancellationSignal) mCancellationSignalObj).cancel();"
+ errorLine2=" ~~~~~~">
+ <location
+ file="src/main/java/androidx/core/os/CancellationSignal.java"
+ line="145"
+ column="78"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.graphics.ColorUtils is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (!Objects.equals(foreground.getModel(), background.getModel())) {"
+ errorLine2=" ~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/ColorUtils.java"
+ line="92"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorUtils is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (!Objects.equals(foreground.getModel(), background.getModel())) {"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/ColorUtils.java"
+ line="92"
+ column="40"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorUtils is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (!Objects.equals(foreground.getModel(), background.getModel())) {"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/ColorUtils.java"
+ line="92"
+ column="63"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorUtils is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" "Color models must match (" + foreground.getModel() + " vs. ""
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/ColorUtils.java"
+ line="94"
+ column="62"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorUtils is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" + background.getModel() + ")");"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/ColorUtils.java"
+ line="95"
+ column="42"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.graphics.ColorUtils is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" Color s = Objects.equals(background.getColorSpace(), foreground.getColorSpace())"
+ errorLine2=" ~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/ColorUtils.java"
+ line="98"
+ column="27"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorUtils is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" Color s = Objects.equals(background.getColorSpace(), foreground.getColorSpace())"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/ColorUtils.java"
+ line="98"
+ column="45"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorUtils is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" Color s = Objects.equals(background.getColorSpace(), foreground.getColorSpace())"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/ColorUtils.java"
+ line="98"
+ column="73"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorUtils is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" : foreground.convert(background.getColorSpace());"
+ errorLine2=" ~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/ColorUtils.java"
+ line="100"
+ column="30"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorUtils is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" : foreground.convert(background.getColorSpace());"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/ColorUtils.java"
+ line="100"
+ column="49"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorUtils is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" float[] src = s.getComponents();"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/ColorUtils.java"
+ line="102"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorUtils is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" float[] dst = background.getComponents();"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/ColorUtils.java"
+ line="103"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorUtils is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" float sa = s.alpha();"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/ColorUtils.java"
+ line="105"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorUtils is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" float da = background.alpha() * (1.0f - sa);"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/ColorUtils.java"
+ line="107"
+ column="31"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorUtils is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" int ai = background.getComponentCount() - 1;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/ColorUtils.java"
+ line="111"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorUtils is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return Color.valueOf(dst, background.getColorSpace());"
+ errorLine2=" ~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/ColorUtils.java"
+ line="127"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.ColorUtils is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return Color.valueOf(dst, background.getColorSpace());"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/ColorUtils.java"
+ line="127"
+ column="46"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.widget.CompoundButtonCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" button.setButtonTintList(tint);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/CompoundButtonCompat.java"
+ line="58"
+ column="20"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.widget.CompoundButtonCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return button.getButtonTintList();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/CompoundButtonCompat.java"
+ line="72"
+ column="27"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.widget.CompoundButtonCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" button.setButtonTintMode(tintMode);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/CompoundButtonCompat.java"
+ line="94"
+ column="20"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.widget.CompoundButtonCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return button.getButtonTintMode();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/CompoundButtonCompat.java"
+ line="108"
+ column="27"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.widget.CompoundButtonCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return button.getButtonDrawable();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/CompoundButtonCompat.java"
+ line="124"
+ column="27"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.os.ConfigurationCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return LocaleListCompat.wrap(configuration.getLocales());"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/os/ConfigurationCompat.java"
+ line="42"
+ column="56"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.net.ConnectivityManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return cm.isActiveNetworkMetered();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/net/ConnectivityManagerCompat.java"
+ line="101"
+ column="23"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.net.ConnectivityManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return cm.getRestrictBackgroundStatus();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/net/ConnectivityManagerCompat.java"
+ line="160"
+ column="23"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.content.ContentResolverCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return resolver.query(uri, projection, selection, selectionArgs, sortOrder,"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/ContentResolverCompat.java"
+ line="81"
+ column="33"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.content.ContextCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" context.startActivities(intents, options);"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/ContextCompat.java"
+ line="240"
+ column="21"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.content.ContextCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" context.startActivity(intent, options);"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/ContextCompat.java"
+ line="267"
+ column="21"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.content.ContextCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return context.getDataDir();"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/ContextCompat.java"
+ line="291"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.content.ContextCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return context.getObbDirs();"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/ContextCompat.java"
+ line="344"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.content.ContextCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return context.getExternalFilesDirs(type);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/ContextCompat.java"
+ line="397"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.content.ContextCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return context.getExternalCacheDirs();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/ContextCompat.java"
+ line="450"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.content.ContextCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return context.getDrawable(id);"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/ContextCompat.java"
+ line="471"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.content.ContextCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return context.getColorStateList(id);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/ContextCompat.java"
+ line="510"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.content.ContextCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return context.getColor(id);"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/ContextCompat.java"
+ line="533"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.content.ContextCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return context.getNoBackupFilesDir();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/ContextCompat.java"
+ line="574"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.content.ContextCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return context.getCodeCacheDir();"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/ContextCompat.java"
+ line="598"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.content.ContextCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return context.createDeviceProtectedStorageContext();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/ContextCompat.java"
+ line="653"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.content.ContextCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return context.isDeviceProtectedStorage();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/ContextCompat.java"
+ line="667"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.content.ContextCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return context.getMainExecutor();"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/ContextCompat.java"
+ line="680"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.content.ContextCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" context.startForegroundService(intent);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/ContextCompat.java"
+ line="697"
+ column="21"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.content.ContextCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return context.getSystemService(serviceClass);"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/ContextCompat.java"
+ line="717"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.content.ContextCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return context.getSystemServiceName(serviceClass);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/ContextCompat.java"
+ line="737"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.database.CursorWindowCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return new CursorWindow(name, windowSizeBytes);"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/database/CursorWindowCompat.java"
+ line="43"
+ column="20"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 15; however, the containing class androidx.core.database.CursorWindowCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return new CursorWindow(name);"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/database/CursorWindowCompat.java"
+ line="45"
+ column="20"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.app.DialogCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return dialog.requireViewById(id);"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/DialogCompat.java"
+ line="56"
+ column="27"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.view.DisplayCompat.ModeCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mPhysicalSize = new Point(mode.getPhysicalWidth(), mode.getPhysicalHeight());"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/DisplayCompat.java"
+ line="346"
+ column="44"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.view.DisplayCompat.ModeCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mPhysicalSize = new Point(mode.getPhysicalWidth(), mode.getPhysicalHeight());"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/DisplayCompat.java"
+ line="346"
+ column="69"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.view.DisplayCutoutCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" this(SDK_INT >= 28 ? new DisplayCutout(safeInsets, boundingRects) : null);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/DisplayCutoutCompat.java"
+ line="56"
+ column="30"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.core.view.DisplayCutoutCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return new DisplayCutout(safeInsets.toPlatformInsets(), boundLeft,"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/DisplayCutoutCompat.java"
+ line="88"
+ column="20"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.view.DisplayCutoutCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return new DisplayCutout(safeInsetRect, boundingRects);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/DisplayCutoutCompat.java"
+ line="106"
+ column="20"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.view.DisplayCutoutCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return ((DisplayCutout) mDisplayCutout).getSafeInsetTop();"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/DisplayCutoutCompat.java"
+ line="119"
+ column="53"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.view.DisplayCutoutCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return ((DisplayCutout) mDisplayCutout).getSafeInsetBottom();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/DisplayCutoutCompat.java"
+ line="128"
+ column="53"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.view.DisplayCutoutCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return ((DisplayCutout) mDisplayCutout).getSafeInsetLeft();"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/DisplayCutoutCompat.java"
+ line="137"
+ column="53"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.view.DisplayCutoutCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return ((DisplayCutout) mDisplayCutout).getSafeInsetRight();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/DisplayCutoutCompat.java"
+ line="146"
+ column="53"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.view.DisplayCutoutCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return ((DisplayCutout) mDisplayCutout).getBoundingRects();"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/DisplayCutoutCompat.java"
+ line="164"
+ column="53"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.hardware.display.DisplayManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .getDisplay(displayId);"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/hardware/display/DisplayManagerCompat.java"
+ line="86"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.hardware.display.DisplayManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .getDisplays();"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/hardware/display/DisplayManagerCompat.java"
+ line="106"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.hardware.display.DisplayManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .getDisplays(category);"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/hardware/display/DisplayManagerCompat.java"
+ line="135"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.view.DragAndDropPermissionsCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" activity.requestDragAndDropPermissions(dragEvent);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/DragAndDropPermissionsCompat.java"
+ line="52"
+ column="30"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.view.DragAndDropPermissionsCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" ((DragAndDropPermissions) mDragAndDropPermissions).release();"
+ errorLine2=" ~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/DragAndDropPermissionsCompat.java"
+ line="65"
+ column="64"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.graphics.drawable.DrawableCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" drawable.setAutoMirrored(mirrored);"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/drawable/DrawableCompat.java"
+ line="79"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.graphics.drawable.DrawableCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return drawable.isAutoMirrored();"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/drawable/DrawableCompat.java"
+ line="96"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.graphics.drawable.DrawableCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" drawable.setHotspot(x, y);"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/drawable/DrawableCompat.java"
+ line="111"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.graphics.drawable.DrawableCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" drawable.setHotspotBounds(left, top, right, bottom);"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/drawable/DrawableCompat.java"
+ line="124"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.graphics.drawable.DrawableCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" drawable.setTint(tint);"
+ errorLine2=" ~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/drawable/DrawableCompat.java"
+ line="136"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.graphics.drawable.DrawableCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" drawable.setTintList(tint);"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/drawable/DrawableCompat.java"
+ line="150"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.graphics.drawable.DrawableCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" drawable.setTintMode(tintMode);"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/drawable/DrawableCompat.java"
+ line="164"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.graphics.drawable.DrawableCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return drawable.getAlpha();"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/drawable/DrawableCompat.java"
+ line="178"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.graphics.drawable.DrawableCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" drawable.applyTheme(theme);"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/drawable/DrawableCompat.java"
+ line="189"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.graphics.drawable.DrawableCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return drawable.canApplyTheme();"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/drawable/DrawableCompat.java"
+ line="198"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.graphics.drawable.DrawableCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return drawable.getColorFilter();"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/drawable/DrawableCompat.java"
+ line="211"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.graphics.drawable.DrawableCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" clearColorFilter(((InsetDrawable) drawable).getDrawable());"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/drawable/DrawableCompat.java"
+ line="232"
+ column="61"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.graphics.drawable.DrawableCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" child = state.getChild(i);"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/drawable/DrawableCompat.java"
+ line="242"
+ column="39"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.graphics.drawable.DrawableCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" drawable.inflate(res, parser, attrs, theme);"
+ errorLine2=" ~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/drawable/DrawableCompat.java"
+ line="269"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.graphics.drawable.DrawableCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return drawable.setLayoutDirection(layoutDirection);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/drawable/DrawableCompat.java"
+ line="355"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.graphics.drawable.DrawableCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return drawable.getLayoutDirection();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/drawable/DrawableCompat.java"
+ line="392"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.widget.EdgeEffectCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" edgeEffect.onPull(deltaDistance, displacement);"
+ errorLine2=" ~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/EdgeEffectCompat.java"
+ line="153"
+ column="24"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.os.EnvironmentCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return Environment.getExternalStorageState(path);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/os/EnvironmentCompat.java"
+ line="60"
+ column="32"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.os.EnvironmentCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return Environment.getStorageState(path);"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/os/EnvironmentCompat.java"
+ line="62"
+ column="32"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.content.FileProvider is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" File[] externalMediaDirs = context.getExternalMediaDirs();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/FileProvider.java"
+ line="702"
+ column="56"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.hardware.fingerprint.FingerprintManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return (fp != null) && fp.hasEnrolledFingerprints();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/hardware/fingerprint/FingerprintManagerCompat.java"
+ line="68"
+ column="39"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.hardware.fingerprint.FingerprintManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return (fp != null) && fp.isHardwareDetected();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/hardware/fingerprint/FingerprintManagerCompat.java"
+ line="83"
+ column="39"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.hardware.fingerprint.FingerprintManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" fp.authenticate("
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/hardware/fingerprint/FingerprintManagerCompat.java"
+ line="113"
+ column="20"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.hardware.fingerprint.FingerprintManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return context.getSystemService(FingerprintManager.class);"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/hardware/fingerprint/FingerprintManagerCompat.java"
+ line="127"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.hardware.fingerprint.FingerprintManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return context.getSystemService(FingerprintManager.class);"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/hardware/fingerprint/FingerprintManagerCompat.java"
+ line="130"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.hardware.fingerprint.FingerprintManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return new FingerprintManager.CryptoObject(cryptoObject.getCipher());"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/hardware/fingerprint/FingerprintManagerCompat.java"
+ line="141"
+ column="20"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.hardware.fingerprint.FingerprintManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return new FingerprintManager.CryptoObject(cryptoObject.getSignature());"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/hardware/fingerprint/FingerprintManagerCompat.java"
+ line="143"
+ column="20"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.hardware.fingerprint.FingerprintManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return new FingerprintManager.CryptoObject(cryptoObject.getMac());"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/hardware/fingerprint/FingerprintManagerCompat.java"
+ line="145"
+ column="20"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.hardware.fingerprint.FingerprintManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" } else if (cryptoObject.getCipher() != null) {"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/hardware/fingerprint/FingerprintManagerCompat.java"
+ line="155"
+ column="33"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.hardware.fingerprint.FingerprintManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return new CryptoObject(cryptoObject.getCipher());"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/hardware/fingerprint/FingerprintManagerCompat.java"
+ line="156"
+ column="50"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.hardware.fingerprint.FingerprintManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" } else if (cryptoObject.getSignature() != null) {"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/hardware/fingerprint/FingerprintManagerCompat.java"
+ line="157"
+ column="33"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.hardware.fingerprint.FingerprintManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return new CryptoObject(cryptoObject.getSignature());"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/hardware/fingerprint/FingerprintManagerCompat.java"
+ line="158"
+ column="50"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.hardware.fingerprint.FingerprintManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" } else if (cryptoObject.getMac() != null) {"
+ errorLine2=" ~~~~~~">
+ <location
+ file="src/main/java/androidx/core/hardware/fingerprint/FingerprintManagerCompat.java"
+ line="159"
+ column="33"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.hardware.fingerprint.FingerprintManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return new CryptoObject(cryptoObject.getMac());"
+ errorLine2=" ~~~~~~">
+ <location
+ file="src/main/java/androidx/core/hardware/fingerprint/FingerprintManagerCompat.java"
+ line="160"
+ column="50"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" unwrapCryptoObject(result.getCryptoObject())));"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/hardware/fingerprint/FingerprintManagerCompat.java"
+ line="183"
+ column="51"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.provider.FontProvider is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" cursor = context.getContentResolver().query(uri, projection, "query = ?","
+ errorLine2=" ~~~~~">
+ <location
+ file="src/main/java/androidx/core/provider/FontProvider.java"
+ line="139"
+ column="55"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.content.res.FontResourcesParserCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return typedArray.getType(index);"
+ errorLine2=" ~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/res/FontResourcesParserCompat.java"
+ line="254"
+ column="31"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" frameMetrics.getMetric(android.view.FrameMetrics.TOTAL_DURATION));"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/FrameMetricsAggregator.java"
+ line="355"
+ column="42"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" frameMetrics.getMetric("
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/FrameMetricsAggregator.java"
+ line="359"
+ column="42"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" frameMetrics.getMetric("
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/FrameMetricsAggregator.java"
+ line="364"
+ column="42"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" frameMetrics.getMetric(android.view.FrameMetrics.DRAW_DURATION));"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/FrameMetricsAggregator.java"
+ line="369"
+ column="42"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" frameMetrics.getMetric(android.view.FrameMetrics.SYNC_DURATION));"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/FrameMetricsAggregator.java"
+ line="373"
+ column="42"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" frameMetrics.getMetric("
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/FrameMetricsAggregator.java"
+ line="377"
+ column="42"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" frameMetrics.getMetric("
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/FrameMetricsAggregator.java"
+ line="382"
+ column="42"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" frameMetrics.getMetric("
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/FrameMetricsAggregator.java"
+ line="387"
+ column="42"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" frameMetrics.getMetric("
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/FrameMetricsAggregator.java"
+ line="392"
+ column="42"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.location.GnssStatusWrapper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mWrapped.hasCarrierFrequencyHz(satelliteIndex);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/location/GnssStatusWrapper.java"
+ line="89"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.location.GnssStatusWrapper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mWrapped.getCarrierFrequencyHz(satelliteIndex);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/location/GnssStatusWrapper.java"
+ line="98"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.view.GravityCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" Gravity.apply(gravity, w, h, container, outRect, layoutDirection);"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/GravityCompat.java"
+ line="65"
+ column="21"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.view.GravityCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" Gravity.apply(gravity, w, h, container, xAdj, yAdj, outRect, layoutDirection);"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/GravityCompat.java"
+ line="99"
+ column="21"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.view.GravityCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" Gravity.applyDisplay(gravity, display, inoutObj, layoutDirection);"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/GravityCompat.java"
+ line="127"
+ column="21"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.text.HtmlCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return Html.fromHtml(source, flags);"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/HtmlCompat.java"
+ line="148"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.text.HtmlCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return Html.fromHtml(source, flags, imageGetter, tagHandler);"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/HtmlCompat.java"
+ line="163"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.text.HtmlCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return Html.toHtml(text, options);"
+ errorLine2=" ~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/HtmlCompat.java"
+ line="176"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.text.ICUCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" ULocale uLocale = ULocale.addLikelySubtags(ULocale.forLocale(locale));"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/ICUCompat.java"
+ line="90"
+ column="39"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.text.ICUCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" ULocale uLocale = ULocale.addLikelySubtags(ULocale.forLocale(locale));"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/ICUCompat.java"
+ line="90"
+ column="64"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.text.ICUCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return uLocale.getScript();"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/ICUCompat.java"
+ line="91"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.text.ICUCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return ((Locale) sAddLikelySubtagsMethod.invoke(null, args)).getScript();"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/ICUCompat.java"
+ line="95"
+ column="78"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.text.ICUCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return locale.getScript();"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/ICUCompat.java"
+ line="101"
+ column="27"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.graphics.drawable.IconCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" icon = Icon.createWithBitmap((Bitmap) mObj1);"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/drawable/IconCompat.java"
+ line="546"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.drawable.IconCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" icon = Icon.createWithAdaptiveBitmap((Bitmap) mObj1);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/drawable/IconCompat.java"
+ line="550"
+ column="33"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.graphics.drawable.IconCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" icon = Icon.createWithBitmap("
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/drawable/IconCompat.java"
+ line="552"
+ column="33"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.graphics.drawable.IconCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" icon = Icon.createWithResource(getResPackage(), mInt1);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/drawable/IconCompat.java"
+ line="557"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.graphics.drawable.IconCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" icon = Icon.createWithData((byte[]) mObj1, mInt1, mInt2);"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/drawable/IconCompat.java"
+ line="560"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.graphics.drawable.IconCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" icon = Icon.createWithContentUri((String) mObj1);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/drawable/IconCompat.java"
+ line="563"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.drawable.IconCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" icon = Icon.createWithAdaptiveBitmap(BitmapFactory.decodeStream(is));"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/drawable/IconCompat.java"
+ line="580"
+ column="33"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.graphics.drawable.IconCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" icon = Icon.createWithBitmap(createLegacyIconFromAdaptiveIcon("
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/drawable/IconCompat.java"
+ line="582"
+ column="33"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.graphics.drawable.IconCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" icon.setTintList(mTintList);"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/drawable/IconCompat.java"
+ line="590"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.graphics.drawable.IconCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" icon.setTintMode(mTintMode);"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/drawable/IconCompat.java"
+ line="593"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.graphics.drawable.IconCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return toIcon(context).loadDrawable(context);"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/drawable/IconCompat.java"
+ line="641"
+ column="36"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.drawable.IconCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return new AdaptiveIconDrawable(null,"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/drawable/IconCompat.java"
+ line="694"
+ column="32"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.graphics.drawable.IconCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return icon.getType();"
+ errorLine2=" ~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/drawable/IconCompat.java"
+ line="1101"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.graphics.drawable.IconCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return icon.getResPackage();"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/drawable/IconCompat.java"
+ line="1129"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.graphics.drawable.IconCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return icon.getResId();"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/drawable/IconCompat.java"
+ line="1158"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.graphics.drawable.IconCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return icon.getUri();"
+ errorLine2=" ~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/drawable/IconCompat.java"
+ line="1186"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.widget.ImageViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.getImageTintList();"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/ImageViewCompat.java"
+ line="38"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.widget.ImageViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.setImageTintList(tintList);"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/ImageViewCompat.java"
+ line="51"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.widget.ImageViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if ((imageViewDrawable != null) && (view.getImageTintList() != null)) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/ImageViewCompat.java"
+ line="57"
+ column="58"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.widget.ImageViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.getImageTintMode();"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/ImageViewCompat.java"
+ line="75"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.widget.ImageViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.setImageTintMode(mode);"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/ImageViewCompat.java"
+ line="89"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.widget.ImageViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if ((imageViewDrawable != null) && (view.getImageTintList() != null)) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/ImageViewCompat.java"
+ line="95"
+ column="58"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.view.inputmethod.InputConnectionCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return inputConnection.commitContent("
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/inputmethod/InputConnectionCompat.java"
+ line="145"
+ column="36"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.core.graphics.Insets is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return android.graphics.Insets.of(left, top, right, bottom);"
+ errorLine2=" ~~">
+ <location
+ file="src/main/java/androidx/core/graphics/Insets.java"
+ line="198"
+ column="40"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 15; however, the containing class androidx.core.content.IntentCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return Intent.makeMainSelectorActivity(selectorAction, selectorCategory);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/IntentCompat.java"
+ line="108"
+ column="27"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.JobIntentService.JobServiceEngineImpl.WrapperWorkItem is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mJobWork.getIntent();"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/JobIntentService.java"
+ line="260"
+ column="33"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.JobIntentService.JobServiceEngineImpl.WrapperWorkItem is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mParams.completeWork(mJobWork);"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/JobIntentService.java"
+ line="267"
+ column="33"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.text.util.LinkifyCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" Linkify.addLinks(text, pattern, defaultScheme, schemes, matchFilter, transformFilter);"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/util/LinkifyCompat.java"
+ line="260"
+ column="21"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.text.util.LinkifyCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return Linkify.addLinks(spannable, pattern, defaultScheme, schemes, matchFilter,"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/util/LinkifyCompat.java"
+ line="336"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.widget.ListPopupWindowCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return listPopupWindow.createDragToOpenListener(src);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/ListPopupWindowCompat.java"
+ line="98"
+ column="36"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.widget.ListViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" listView.scrollListBy(y);"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/ListViewCompat.java"
+ line="39"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.widget.ListViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return listView.canScrollList(direction);"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/ListViewCompat.java"
+ line="69"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.os.LocaleListCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return wrap(new LocaleList(localeList));"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/os/LocaleListCompat.java"
+ line="74"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.os.LocaleListCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" ? Locale.forLanguageTag(tags[i])"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/os/LocaleListCompat.java"
+ line="165"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.os.LocaleListCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return LocaleListCompat.wrap(LocaleList.getAdjustedDefault());"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/os/LocaleListCompat.java"
+ line="206"
+ column="53"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.os.LocaleListCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return LocaleListCompat.wrap(LocaleList.getDefault());"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/os/LocaleListCompat.java"
+ line="226"
+ column="53"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.os.LocaleListCompatWrapper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" final String script = locale.getScript();"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/os/LocaleListCompatWrapper.java"
+ line="163"
+ column="42"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.location.LocationManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (locationManager.registerGnssStatusCallback(transport, baseHandler)) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/location/LocationManagerCompat.java"
+ line="300"
+ column="37"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.location.LocationManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" locationManager.unregisterGnssStatusCallback(transport);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/location/LocationManagerCompat.java"
+ line="385"
+ column="37"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.location.LocationManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" locationManager.unregisterGnssStatusCallback(transport);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/location/LocationManagerCompat.java"
+ line="394"
+ column="37"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.view.MarginLayoutParamsCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return lp.getMarginStart();"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/MarginLayoutParamsCompat.java"
+ line="43"
+ column="23"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.view.MarginLayoutParamsCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return lp.getMarginEnd();"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/MarginLayoutParamsCompat.java"
+ line="62"
+ column="23"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.view.MarginLayoutParamsCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" lp.setMarginStart(marginStart);"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/MarginLayoutParamsCompat.java"
+ line="81"
+ column="16"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.view.MarginLayoutParamsCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" lp.setMarginEnd(marginEnd);"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/MarginLayoutParamsCompat.java"
+ line="100"
+ column="16"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.view.MarginLayoutParamsCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return lp.isMarginRelative();"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/MarginLayoutParamsCompat.java"
+ line="113"
+ column="23"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.view.MarginLayoutParamsCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" result = lp.getLayoutDirection();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/MarginLayoutParamsCompat.java"
+ line="128"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.view.MarginLayoutParamsCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" lp.setLayoutDirection(layoutDirection);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/MarginLayoutParamsCompat.java"
+ line="151"
+ column="16"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.view.MarginLayoutParamsCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" lp.resolveLayoutDirection(layoutDirection);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/MarginLayoutParamsCompat.java"
+ line="162"
+ column="16"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.telephony.mbms.MbmsHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" LocaleList localeList = context.getResources().getConfiguration().getLocales();"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/telephony/mbms/MbmsHelper.java"
+ line="60"
+ column="75"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.telephony.mbms.MbmsHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" int numLanguagesSupportedByService = serviceInfo.getNamedContentLocales().size();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/telephony/mbms/MbmsHelper.java"
+ line="62"
+ column="58"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.telephony.mbms.MbmsHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" for (Locale l : serviceInfo.getNamedContentLocales()) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/telephony/mbms/MbmsHelper.java"
+ line="69"
+ column="37"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.telephony.mbms.MbmsHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" supportedLanguages[i] = l.toLanguageTag();"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/telephony/mbms/MbmsHelper.java"
+ line="70"
+ column="39"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.telephony.mbms.MbmsHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" Locale bestLocale = localeList.getFirstMatch(supportedLanguages);"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/telephony/mbms/MbmsHelper.java"
+ line="74"
+ column="40"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.telephony.mbms.MbmsHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return bestLocale == null ? null : serviceInfo.getNameForLocale(bestLocale);"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/telephony/mbms/MbmsHelper.java"
+ line="75"
+ column="56"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.view.MenuCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" menu.setGroupDividerEnabled(enabled);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/MenuCompat.java"
+ line="51"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.view.MenuItemCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" item.setContentDescription(contentDescription);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/MenuItemCompat.java"
+ line="325"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.view.MenuItemCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return item.getContentDescription();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/MenuItemCompat.java"
+ line="339"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.view.MenuItemCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" item.setTooltipText(tooltipText);"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/MenuItemCompat.java"
+ line="354"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.view.MenuItemCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return item.getTooltipText();"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/MenuItemCompat.java"
+ line="368"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.view.MenuItemCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" item.setShortcut(numericChar, alphaChar, numericModifiers, alphaModifiers);"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/MenuItemCompat.java"
+ line="401"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.view.MenuItemCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" item.setNumericShortcut(numericChar, numericModifiers);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/MenuItemCompat.java"
+ line="421"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.view.MenuItemCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return item.getNumericModifiers();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/MenuItemCompat.java"
+ line="440"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.view.MenuItemCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" item.setAlphabeticShortcut(alphaChar, alphaModifiers);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/MenuItemCompat.java"
+ line="466"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.view.MenuItemCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return item.getAlphabeticModifiers();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/MenuItemCompat.java"
+ line="485"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.view.MenuItemCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" item.setIconTintList(tint);"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/MenuItemCompat.java"
+ line="506"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.view.MenuItemCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return item.getIconTintList();"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/MenuItemCompat.java"
+ line="519"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.view.MenuItemCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" item.setIconTintMode(tintMode);"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/MenuItemCompat.java"
+ line="537"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.view.MenuItemCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return item.getIconTintMode();"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/MenuItemCompat.java"
+ line="552"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 22; however, the containing class androidx.core.os.MessageCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" message.setAsynchronous(async);"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/os/MessageCompat.java"
+ line="72"
+ column="21"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 22; however, the containing class androidx.core.os.MessageCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" message.setAsynchronous(async);"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/os/MessageCompat.java"
+ line="79"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 22; however, the containing class androidx.core.os.MessageCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return message.isAsynchronous();"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/os/MessageCompat.java"
+ line="98"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 22; however, the containing class androidx.core.os.MessageCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return message.isAsynchronous();"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/os/MessageCompat.java"
+ line="104"
+ column="32"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.NavUtils is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return sourceActivity.shouldUpRecreateTask(targetIntent);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NavUtils.java"
+ line="61"
+ column="35"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.NavUtils is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" sourceActivity.navigateUpTo(upIntent);"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NavUtils.java"
+ line="109"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.NavUtils is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" Intent result = sourceActivity.getParentActivityIntent();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NavUtils.java"
+ line="132"
+ column="44"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.widget.NestedScrollView is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP || getClipToPadding()) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/NestedScrollView.java"
+ line="2008"
+ column="77"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.widget.NestedScrollView is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP && getClipToPadding()) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/NestedScrollView.java"
+ line="2012"
+ column="78"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.widget.NestedScrollView is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP || getClipToPadding()) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/NestedScrollView.java"
+ line="2029"
+ column="77"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.widget.NestedScrollView is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP && getClipToPadding()) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/NestedScrollView.java"
+ line="2033"
+ column="78"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationChannelCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" this(channel.getId(), channel.getImportance());"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
+ line="284"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationChannelCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" this(channel.getId(), channel.getImportance());"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
+ line="284"
+ column="39"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationChannelCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mName = channel.getName();"
+ errorLine2=" ~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
+ line="286"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationChannelCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mDescription = channel.getDescription();"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
+ line="287"
+ column="32"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationChannelCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mGroupId = channel.getGroup();"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
+ line="288"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationChannelCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mShowBadge = channel.canShowBadge();"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
+ line="289"
+ column="30"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationChannelCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mSound = channel.getSound();"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
+ line="290"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationChannelCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mAudioAttributes = channel.getAudioAttributes();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
+ line="291"
+ column="36"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationChannelCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mLights = channel.shouldShowLights();"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
+ line="292"
+ column="27"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationChannelCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mLightColor = channel.getLightColor();"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
+ line="293"
+ column="31"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationChannelCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mVibrationEnabled = channel.shouldVibrate();"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
+ line="294"
+ column="37"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationChannelCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mVibrationPattern = channel.getVibrationPattern();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
+ line="295"
+ column="37"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationChannelCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mBypassDnd = channel.canBypassDnd();"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
+ line="301"
+ column="30"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationChannelCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mLockscreenVisibility = channel.getLockscreenVisibility();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
+ line="302"
+ column="41"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.core.app.NotificationChannelCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mCanBubble = channel.canBubble();"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
+ line="304"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationChannelCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" NotificationChannel channel = new NotificationChannel(mId, mName, mImportance);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
+ line="320"
+ column="39"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationChannelCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" channel.setDescription(mDescription);"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
+ line="321"
+ column="17"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationChannelCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" channel.setGroup(mGroupId);"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
+ line="322"
+ column="17"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationChannelCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" channel.setShowBadge(mShowBadge);"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
+ line="323"
+ column="17"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationChannelCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" channel.setSound(mSound, mAudioAttributes);"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
+ line="324"
+ column="17"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationChannelCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" channel.enableLights(mLights);"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
+ line="325"
+ column="17"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationChannelCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" channel.setLightColor(mLightColor);"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
+ line="326"
+ column="17"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationChannelCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" channel.setVibrationPattern(mVibrationPattern);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
+ line="327"
+ column="17"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationChannelCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" channel.enableVibration(mVibrationEnabled);"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
+ line="328"
+ column="17"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationChannelGroupCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" this(group.getId());"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationChannelGroupCompat.java"
+ line="115"
+ column="20"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationChannelGroupCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mName = group.getName();"
+ errorLine2=" ~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationChannelGroupCompat.java"
+ line="117"
+ column="23"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.app.NotificationChannelGroupCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mDescription = group.getDescription();"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationChannelGroupCompat.java"
+ line="119"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.app.NotificationChannelGroupCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mBlocked = group.isBlocked();"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationChannelGroupCompat.java"
+ line="123"
+ column="30"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationChannelGroupCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mChannels = getChannelsCompat(group.getChannels());"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationChannelGroupCompat.java"
+ line="124"
+ column="49"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationChannelGroupCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (mId.equals(channel.getGroup())) {"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationChannelGroupCompat.java"
+ line="136"
+ column="36"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationChannelGroupCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" NotificationChannelGroup group = new NotificationChannelGroup(mId, mName);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationChannelGroupCompat.java"
+ line="152"
+ column="42"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.app.NotificationChannelGroupCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" group.setDescription(mDescription);"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationChannelGroupCompat.java"
+ line="154"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.app.NotificationCompat.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" this.mSmallIcon = notification.getSmallIcon();"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="959"
+ column="48"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.app.NotificationCompat.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mNotification.audioAttributes = new AudioAttributes.Builder()"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="1466"
+ column="49"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.app.NotificationCompat.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setContentType(AudioAttributes.CONTENT_TYPE_SONIFICATION)"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="1467"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.app.NotificationCompat.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setUsage(AudioAttributes.USAGE_NOTIFICATION)"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="1468"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.app.NotificationCompat.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .build();"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="1469"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.app.NotificationCompat.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mNotification.audioAttributes = new AudioAttributes.Builder()"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="1495"
+ column="49"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.app.NotificationCompat.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setContentType(AudioAttributes.CONTENT_TYPE_SONIFICATION)"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="1496"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.app.NotificationCompat.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setLegacyStreamType(streamType)"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="1497"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.app.NotificationCompat.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .build();"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="1498"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.app.NotificationCompat.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return Notification.Builder.recoverBuilder(mContext, notification)"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="2048"
+ column="45"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.app.NotificationCompat.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .createContentView();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="2049"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.app.NotificationCompat.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return Notification.Builder.recoverBuilder(mContext, notification)"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="2082"
+ column="45"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.app.NotificationCompat.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .createBigContentView();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="2083"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.app.NotificationCompat.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" Notification.Builder.recoverBuilder(mContext, notification);"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="2117"
+ column="46"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.app.NotificationCompat.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return platformBuilder.createHeadsUpContentView();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="2118"
+ column="40"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.NotificationCompat.Style is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" contentView.setTextViewTextSize(R.id.text, TypedValue.COMPLEX_UNIT_PX,"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="2788"
+ column="33"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.NotificationCompat.Style is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" contentView.setViewPadding(R.id.line1, 0, 0, 0, 0);"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="2792"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.app.NotificationCompat.Style is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" contentView.setChronometerCountDown(R.id.chronometer,"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="2803"
+ column="37"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.NotificationCompat.Style is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" outerView.setViewPadding(R.id.notification_main_column_container,"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="2884"
+ column="27"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.NotificationCompat.BigPictureStyle is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" new Notification.BigPictureStyle(builder.getBuilder())"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="3002"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.NotificationCompat.BigPictureStyle is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setBigContentTitle(mBigContentTitle)"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="3003"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.NotificationCompat.BigPictureStyle is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .bigPicture(mPicture);"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="3004"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.NotificationCompat.BigTextStyle is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" new Notification.BigTextStyle(builder.getBuilder())"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="3197"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.NotificationCompat.BigTextStyle is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setBigContentTitle(mBigContentTitle)"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="3198"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.NotificationCompat.BigTextStyle is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .bigText(mBigText);"
+ errorLine2=" ~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="3199"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.NotificationCompat.BigTextStyle is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" style.setSummaryText(mSummaryText);"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="3201"
+ column="27"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.app.NotificationCompat.MessagingStyle is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" frameworkStyle = new Notification.MessagingStyle(mUser.toAndroidPerson());"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="3548"
+ column="38"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.app.NotificationCompat.MessagingStyle is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" frameworkStyle = new Notification.MessagingStyle(mUser.getName());"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="3550"
+ column="38"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.app.NotificationCompat.MessagingStyle is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" frameworkStyle.addMessage(message.toAndroidMessage());"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="3554"
+ column="36"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationCompat.MessagingStyle is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" frameworkStyle.addHistoricMessage(historicMessage.toAndroidMessage());"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="3559"
+ column="40"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.app.NotificationCompat.MessagingStyle is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" frameworkStyle.setConversationTitle(mConversationTitle);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="3571"
+ column="36"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.app.NotificationCompat.MessagingStyle is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" frameworkStyle.setGroupConversation(mIsGroupConversation);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="3577"
+ column="36"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.NotificationCompat.MessagingStyle is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" frameworkStyle.setBuilder(builder.getBuilder());"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="3579"
+ column="32"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.NotificationCompat.MessagingStyle is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" new Notification.BigTextStyle(builder.getBuilder())"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="3612"
+ column="21"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.NotificationCompat.MessagingStyle is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setBigContentTitle(null)"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="3613"
+ column="30"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.NotificationCompat.MessagingStyle is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .bigText(completeMessage);"
+ errorLine2=" ~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="3614"
+ column="30"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.app.NotificationCompat.MessagingStyle.Message is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" frameworkMessage = new Notification.MessagingStyle.Message("
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="4000"
+ column="40"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.app.NotificationCompat.MessagingStyle.Message is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" frameworkMessage = new Notification.MessagingStyle.Message("
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="4004"
+ column="40"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.app.NotificationCompat.MessagingStyle.Message is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" frameworkMessage.setData(getDataMimeType(), getDataUri());"
+ errorLine2=" ~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="4010"
+ column="38"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.NotificationCompat.InboxStyle is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" new Notification.InboxStyle(builder.getBuilder())"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="4101"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.NotificationCompat.InboxStyle is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setBigContentTitle(mBigContentTitle);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="4102"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.NotificationCompat.InboxStyle is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" style.setSummaryText(mSummaryText);"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="4104"
+ column="27"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.NotificationCompat.InboxStyle is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" style.addLine(text);"
+ errorLine2=" ~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="4107"
+ column="27"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.NotificationCompat.DecoratedCustomViewStyle is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" builder.getBuilder().setStyle(new Notification.DecoratedCustomViewStyle());"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="4201"
+ column="38"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.app.NotificationCompat.DecoratedCustomViewStyle is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" builder.getBuilder().setStyle(new Notification.DecoratedCustomViewStyle());"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="4201"
+ column="47"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 15; however, the containing class androidx.core.app.NotificationCompat.DecoratedCustomViewStyle is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" button.setContentDescription(R.id.action_container, action.title);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="4319"
+ column="24"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.app.NotificationCompat.Action.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (Build.VERSION.SDK_INT >= 23 && action.getIcon() != null) {"
+ errorLine2=" ~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="4603"
+ column="59"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.app.NotificationCompat.Action.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" IconCompat iconCompat = IconCompat.createFromIcon(action.getIcon());"
+ errorLine2=" ~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="4604"
+ column="78"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompat.Action.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" android.app.RemoteInput[] remoteInputs = action.getRemoteInputs();"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="4612"
+ column="69"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.app.NotificationCompat.Action.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" builder.mAllowGeneratedReplies = action.getAllowGeneratedReplies();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="4620"
+ column="61"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.app.NotificationCompat.Action.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" builder.setSemanticAction(action.getSemanticAction());"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="4623"
+ column="54"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.core.app.NotificationCompat.Action.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" builder.setContextual(action.isContextual());"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="4626"
+ column="50"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.app.NotificationCompat.WearableExtender is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" actionBuilder = new Notification.Action.Builder("
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="5461"
+ column="33"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompat.WearableExtender is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" actionBuilder = new Notification.Action.Builder("
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="5470"
+ column="33"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.app.NotificationCompat.WearableExtender is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" actionBuilder.setAllowGeneratedReplies(actionCompat.getAllowGeneratedReplies());"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="5482"
+ column="31"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompat.WearableExtender is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" actionBuilder.addExtras(actionExtras);"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="5484"
+ column="27"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompat.WearableExtender is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" actionBuilder.addRemoteInput(remoteInput);"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="5489"
+ column="35"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompat.WearableExtender is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return actionBuilder.build();"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="5492"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompat.CarExtender is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" ? new RemoteInput(remoteInput.getResultKey(),"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="6238"
+ column="51"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompat.CarExtender is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" remoteInput.getLabel(),"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="6239"
+ column="33"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompat.CarExtender is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" remoteInput.getChoices(),"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="6240"
+ column="33"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompat.CarExtender is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" remoteInput.getAllowFreeFormInput(),"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="6241"
+ column="33"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.core.app.NotificationCompat.CarExtender is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" ? remoteInput.getEditChoicesBeforeSending()"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="6243"
+ column="43"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompat.CarExtender is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" remoteInput.getExtras(),"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="6245"
+ column="33"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompat.CarExtender is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" new android.app.RemoteInput.Builder(remoteInputCompat.getResultKey())"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="6271"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompat.CarExtender is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setLabel(remoteInputCompat.getLabel())"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="6272"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompat.CarExtender is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setChoices(remoteInputCompat.getChoices())"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="6273"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompat.CarExtender is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setAllowFreeFormInput(remoteInputCompat.getAllowFreeFormInput())"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="6274"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompat.CarExtender is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .addExtras(remoteInputCompat.getExtras())"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="6275"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompat.CarExtender is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .build();"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="6276"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.core.app.NotificationCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return BubbleMetadata.fromPlatform(notification.getBubbleMetadata());"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="7253"
+ column="61"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" final android.app.RemoteInput[] srcArray = action.getRemoteInputs();"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="7263"
+ column="59"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" src.getResultKey(),"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="7271"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" src.getLabel(),"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="7272"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" src.getChoices(),"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="7273"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" src.getAllowFreeFormInput(),"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="7274"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.core.app.NotificationCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" ? src.getEditChoicesBeforeSending()"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="7276"
+ column="39"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" src.getExtras(),"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="7278"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" allowGeneratedReplies = action.getExtras().getBoolean("
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="7285"
+ column="44"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.app.NotificationCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" || action.getAllowGeneratedReplies();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="7287"
+ column="31"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" allowGeneratedReplies = action.getExtras().getBoolean("
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="7289"
+ column="44"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" action.getExtras().getBoolean(Action.EXTRA_SHOWS_USER_INTERFACE, true);"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="7294"
+ column="24"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.app.NotificationCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" semanticAction = action.getSemanticAction();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="7298"
+ column="37"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" semanticAction = action.getExtras().getInt("
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="7300"
+ column="37"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.core.app.NotificationCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" final boolean isContextual = Build.VERSION.SDK_INT >= 29 ? action.isContextual() : false;"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="7304"
+ column="75"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.app.NotificationCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (action.getIcon() == null && action.icon != 0) {"
+ errorLine2=" ~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="7307"
+ column="24"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" action.getExtras(), remoteInputs, null, allowGeneratedReplies,"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="7309"
+ column="32"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.app.NotificationCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" IconCompat icon = action.getIcon() == null"
+ errorLine2=" ~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="7312"
+ column="38"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.app.NotificationCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" ? null : IconCompat.createFromIconOrNullIfZeroResId(action.getIcon());"
+ errorLine2=" ~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="7313"
+ column="80"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return new Action(icon, action.title, action.actionIntent, action.getExtras(),"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="7314"
+ column="79"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return new Action(action.icon, action.title, action.actionIntent, action.getExtras(),"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="7318"
+ column="86"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return notification.getGroup();"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="7434"
+ column="33"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return notification.getSortKey();"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="7542"
+ column="33"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return notification.getChannelId();"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="7558"
+ column="33"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return notification.getTimeoutAfter();"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="7570"
+ column="33"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return notification.getBadgeIconType();"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="7583"
+ column="33"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return notification.getShortcutId();"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="7595"
+ column="33"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return notification.getSettingsText();"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="7606"
+ column="33"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.core.app.NotificationCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" LocusId locusId = notification.getLocusId();"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="7622"
+ column="44"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return notification.getGroupAlertBehavior();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="7637"
+ column="33"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.core.app.NotificationCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return notification.getAllowSystemGeneratedContextualActions();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompat.java"
+ line="7650"
+ column="33"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mBuilder = new Notification.Builder(b.mContext, b.mChannelId);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="72"
+ column="24"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mBuilder.setSubText(b.mSubText)"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="101"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setUsesChronometer(b.mUseChronometer)"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="102"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setPriority(b.mPriority);"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="103"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mBuilder.setShowWhen(b.mShowWhen);"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="133"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mBuilder.setLocalOnly(b.mLocalOnly)"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="145"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setGroup(b.mGroupKey)"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="146"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setGroupSummary(b.mGroupSummary)"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="147"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setSortKey(b.mSortKey);"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="148"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mBuilder.setCategory(b.mCategory)"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="153"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setColor(b.mColor)"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="154"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setVisibility(b.mVisibility)"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="155"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setPublicVersion(b.mPublicVersion)"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="156"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setSound(n.sound, n.audioAttributes);"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="157"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mBuilder.addPerson(person);"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="168"
+ column="30"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mBuilder.setSmallIcon(b.mSmallIcon);"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="202"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mBuilder.setExtras(b.mExtras)"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="206"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setRemoteInputHistory(b.mRemoteInputHistory);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="207"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mBuilder.setCustomContentView(b.mContentView);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="209"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mBuilder.setCustomBigContentView(b.mBigContentView);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="212"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mBuilder.setCustomHeadsUpContentView(b.mHeadsUpContentView);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="215"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mBuilder.setBadgeIconType(b.mBadgeIcon)"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="219"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setSettingsText(b.mSettingsText)"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="220"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setShortcutId(b.mShortcutId)"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="221"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setTimeoutAfter(b.mTimeout)"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="222"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setGroupAlertBehavior(b.mGroupAlertBehavior);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="223"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mBuilder.setColorized(b.mColorized);"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="225"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mBuilder.addPerson(p.toAndroidPerson());"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="237"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mBuilder.setAllowSystemGeneratedContextualActions("
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="241"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mBuilder.setBubbleMetadata("
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="244"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mBuilder.setLocusId(b.mLocusId.toLocusId());"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="247"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mBuilder.setGroup(NotificationCompat.GROUP_KEY_SILENT);"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="266"
+ column="30"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mBuilder.setGroupAlertBehavior(mGroupAlertBehavior);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="268"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" actionBuilder = new Notification.Action.Builder("
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="353"
+ column="33"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" actionBuilder = new Notification.Action.Builder("
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="358"
+ column="33"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" actionBuilder.addRemoteInput(remoteInput);"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="366"
+ column="35"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" actionBuilder.setAllowGeneratedReplies(action.getAllowGeneratedReplies());"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="378"
+ column="31"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" actionBuilder.setSemanticAction(action.getSemanticAction());"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="384"
+ column="31"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" actionBuilder.setContextual(action.isContextual());"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="388"
+ column="31"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" actionBuilder.addExtras(actionExtras);"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="393"
+ column="27"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mBuilder.addAction(actionBuilder.build());"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="394"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mBuilder.addAction(actionBuilder.build());"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="394"
+ column="46"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mBuilder.build();"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="404"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" Notification notification = mBuilder.build();"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="406"
+ column="51"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (notification.getGroup() != null"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="410"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (notification.getGroup() != null"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="416"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mBuilder.setExtras(mExtras);"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="425"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" Notification notification = mBuilder.build();"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="426"
+ column="50"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (notification.getGroup() != null"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="439"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (notification.getGroup() != null"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="445"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mBuilder.setExtras(mExtras);"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="453"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" Notification notification = mBuilder.build();"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="454"
+ column="50"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (notification.getGroup() != null"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="464"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (notification.getGroup() != null"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="470"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mBuilder.setExtras(mExtras);"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="486"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" Notification notification = mBuilder.build();"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="487"
+ column="50"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.NotificationCompatBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" Notification notification = mBuilder.build();"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
+ line="496"
+ column="50"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.app.NotificationManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mNotificationManager.areNotificationsEnabled();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationManagerCompat.java"
+ line="232"
+ column="41"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.app.NotificationManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mNotificationManager.getImportance();"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationManagerCompat.java"
+ line="263"
+ column="41"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mNotificationManager.createNotificationChannel(channel);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationManagerCompat.java"
+ line="291"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mNotificationManager.createNotificationChannelGroup(group);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationManagerCompat.java"
+ line="330"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mNotificationManager.createNotificationChannels(channels);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationManagerCompat.java"
+ line="357"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mNotificationManager.createNotificationChannels(platformChannels);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationManagerCompat.java"
+ line="376"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mNotificationManager.createNotificationChannelGroups(groups);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationManagerCompat.java"
+ line="390"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mNotificationManager.createNotificationChannelGroups(platformGroups);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationManagerCompat.java"
+ line="409"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mNotificationManager.deleteNotificationChannel(channelId);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationManagerCompat.java"
+ line="424"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mNotificationManager.deleteNotificationChannelGroup(groupId);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationManagerCompat.java"
+ line="436"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" for (NotificationChannel channel : mNotificationManager.getNotificationChannels()) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationManagerCompat.java"
+ line="451"
+ column="69"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (channelIds.contains(channel.getId())) {"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationManagerCompat.java"
+ line="452"
+ column="49"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mNotificationManager.deleteNotificationChannel(channel.getId());"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationManagerCompat.java"
+ line="459"
+ column="38"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mNotificationManager.deleteNotificationChannel(channel.getId());"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationManagerCompat.java"
+ line="459"
+ column="72"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mNotificationManager.getNotificationChannel(channelId);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationManagerCompat.java"
+ line="472"
+ column="41"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.app.NotificationManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mNotificationManager.getNotificationChannelGroup(channelGroupId);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationManagerCompat.java"
+ line="538"
+ column="41"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (group.getId().equals(channelGroupId)) return group;"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationManagerCompat.java"
+ line="542"
+ column="27"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mNotificationManager.getNotificationChannels();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationManagerCompat.java"
+ line="580"
+ column="41"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.NotificationManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mNotificationManager.getNotificationChannelGroups();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/NotificationManagerCompat.java"
+ line="612"
+ column="41"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.util.ObjectsCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return Objects.equals(a, b);"
+ errorLine2=" ~~~~~~">
+ <location
+ file="src/main/java/androidx/core/util/ObjectsCompat.java"
+ line="51"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.util.ObjectsCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return Objects.hash(values);"
+ errorLine2=" ~~~~">
+ <location
+ file="src/main/java/androidx/core/util/ObjectsCompat.java"
+ line="93"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.content.pm.PackageInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return info.getLongVersionCode();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/PackageInfoCompat.java"
+ line="51"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.graphics.PaintCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return paint.hasGlyph(string);"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/PaintCompat.java"
+ line="52"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.core.graphics.PaintCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" paint.setBlendMode(blendMode != null ? obtainBlendModeFromCompat(blendMode) : null);"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/PaintCompat.java"
+ line="127"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.animation.PathInterpolatorCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return new PathInterpolator(path);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/animation/PathInterpolatorCompat.java"
+ line="49"
+ column="20"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.animation.PathInterpolatorCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return new PathInterpolator(controlX, controlY);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/animation/PathInterpolatorCompat.java"
+ line="64"
+ column="20"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.animation.PathInterpolatorCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return new PathInterpolator(controlX1, controlY1, controlX2, controlY2);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/animation/PathInterpolatorCompat.java"
+ line="82"
+ column="20"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.graphics.PathUtils is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" float[] pathData = path.approximate(error);"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/PathUtils.java"
+ line="60"
+ column="33"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.content.pm.PermissionInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return permissionInfo.getProtection();"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/PermissionInfoCompat.java"
+ line="75"
+ column="35"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.content.pm.PermissionInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return permissionInfo.getProtectionFlags();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/PermissionInfoCompat.java"
+ line="89"
+ column="35"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.app.Person is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setName(bundle.getString(NAME_KEY))"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/Person.java"
+ line="71"
+ column="33"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.app.Person is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setUri(bundle.getString(URI_KEY))"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/Person.java"
+ line="72"
+ column="32"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.app.Person is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setKey(bundle.getString(KEY_KEY))"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/Person.java"
+ line="73"
+ column="32"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 22; however, the containing class androidx.core.app.Person is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setBot(bundle.getBoolean(IS_BOT_KEY))"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/Person.java"
+ line="74"
+ column="32"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 22; however, the containing class androidx.core.app.Person is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setImportant(bundle.getBoolean(IS_IMPORTANT_KEY))"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/Person.java"
+ line="75"
+ column="38"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.app.Person is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setName(person.getName())"
+ errorLine2=" ~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/Person.java"
+ line="89"
+ column="33"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.app.Person is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" (person.getIcon() != null)"
+ errorLine2=" ~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/Person.java"
+ line="91"
+ column="33"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.app.Person is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" ? IconCompat.createFromIcon(person.getIcon())"
+ errorLine2=" ~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/Person.java"
+ line="92"
+ column="68"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.app.Person is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setUri(person.getUri())"
+ errorLine2=" ~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/Person.java"
+ line="94"
+ column="32"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.app.Person is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setKey(person.getKey())"
+ errorLine2=" ~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/Person.java"
+ line="95"
+ column="32"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.app.Person is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setBot(person.isBot())"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/Person.java"
+ line="96"
+ column="32"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.app.Person is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setImportant(person.isImportant())"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/Person.java"
+ line="97"
+ column="38"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.app.Person is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" PersistableBundle result = new PersistableBundle();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/Person.java"
+ line="151"
+ column="36"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.app.Person is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" result.putString(NAME_KEY, mName != null ? mName.toString() : null);"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/Person.java"
+ line="152"
+ column="16"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.app.Person is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" result.putString(URI_KEY, mUri);"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/Person.java"
+ line="153"
+ column="16"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.app.Person is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" result.putString(KEY_KEY, mKey);"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/Person.java"
+ line="154"
+ column="16"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 22; however, the containing class androidx.core.app.Person is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" result.putBoolean(IS_BOT_KEY, mIsBot);"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/Person.java"
+ line="155"
+ column="16"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 22; however, the containing class androidx.core.app.Person is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" result.putBoolean(IS_IMPORTANT_KEY, mIsImportant);"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/Person.java"
+ line="156"
+ column="16"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.app.Person is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return new android.app.Person.Builder()"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/Person.java"
+ line="175"
+ column="16"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.app.Person is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setName(getName())"
+ errorLine2=" ~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/Person.java"
+ line="176"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.app.Person is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setIcon((getIcon() != null) ? getIcon().toIcon() : null)"
+ errorLine2=" ~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/Person.java"
+ line="177"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.app.Person is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setUri(getUri())"
+ errorLine2=" ~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/Person.java"
+ line="178"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.app.Person is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setKey(getKey())"
+ errorLine2=" ~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/Person.java"
+ line="179"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.app.Person is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setBot(isBot())"
+ errorLine2=" ~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/Person.java"
+ line="180"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.app.Person is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setImportant(isImportant())"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/Person.java"
+ line="181"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.app.Person is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .build();"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/Person.java"
+ line="182"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.view.PointerIconCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return new PointerIconCompat(PointerIcon.getSystemIcon(context, style));"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/PointerIconCompat.java"
+ line="131"
+ column="54"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.view.PointerIconCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return new PointerIconCompat(PointerIcon.create(bitmap, hotSpotX, hotSpotY));"
+ errorLine2=" ~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/PointerIconCompat.java"
+ line="152"
+ column="54"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.view.PointerIconCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return new PointerIconCompat(PointerIcon.load(resources, resourceId));"
+ errorLine2=" ~~~~">
+ <location
+ file="src/main/java/androidx/core/view/PointerIconCompat.java"
+ line="181"
+ column="54"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.widget.PopupMenuCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return ((PopupMenu) popupMenu).getDragToOpenListener();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/PopupMenuCompat.java"
+ line="56"
+ column="44"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.widget.PopupWindowCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" popup.showAsDropDown(anchor, xoff, yoff, gravity);"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/PopupWindowCompat.java"
+ line="69"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.widget.PopupWindowCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" popupWindow.setOverlapAnchor(overlapAnchor);"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/PopupWindowCompat.java"
+ line="91"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.widget.PopupWindowCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return popupWindow.getOverlapAnchor();"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/PopupWindowCompat.java"
+ line="120"
+ column="32"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.widget.PopupWindowCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" popupWindow.setWindowLayoutType(layoutType);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/PopupWindowCompat.java"
+ line="154"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.widget.PopupWindowCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return popupWindow.getWindowLayoutType();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/PopupWindowCompat.java"
+ line="184"
+ column="32"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.text.PrecomputedTextCompat.Params is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mWrapped = new PrecomputedText.Params.Builder(paint)"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
+ line="199"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.text.PrecomputedTextCompat.Params is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setBreakStrategy(strategy)"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
+ line="200"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.text.PrecomputedTextCompat.Params is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setHyphenationFrequency(frequency)"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
+ line="201"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.text.PrecomputedTextCompat.Params is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setTextDirection(textDir)"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
+ line="202"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.text.PrecomputedTextCompat.Params is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .build();"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
+ line="203"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.text.PrecomputedTextCompat.Params is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mPaint = wrapped.getTextPaint();"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
+ line="215"
+ column="30"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.text.PrecomputedTextCompat.Params is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mTextDir = wrapped.getTextDirection();"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
+ line="216"
+ column="32"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.text.PrecomputedTextCompat.Params is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mBreakStrategy = wrapped.getBreakStrategy();"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
+ line="217"
+ column="38"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.text.PrecomputedTextCompat.Params is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mHyphenationFrequency = wrapped.getHyphenationFrequency();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
+ line="218"
+ column="45"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.text.PrecomputedTextCompat.Params is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (mPaint.getLetterSpacing() != other.getTextPaint().getLetterSpacing()) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
+ line="294"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.text.PrecomputedTextCompat.Params is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (mPaint.getLetterSpacing() != other.getTextPaint().getLetterSpacing()) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
+ line="294"
+ column="71"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.text.PrecomputedTextCompat.Params is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (!TextUtils.equals(mPaint.getFontFeatureSettings(),"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
+ line="297"
+ column="46"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.text.PrecomputedTextCompat.Params is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" other.getTextPaint().getFontFeatureSettings())) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
+ line="298"
+ column="46"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.text.PrecomputedTextCompat.Params is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (!mPaint.getTextLocales().equals(other.getTextPaint().getTextLocales())) {"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
+ line="306"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.text.PrecomputedTextCompat.Params is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (!mPaint.getTextLocales().equals(other.getTextPaint().getTextLocales())) {"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
+ line="306"
+ column="74"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.text.PrecomputedTextCompat.Params is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (!mPaint.getTextLocale().equals(other.getTextPaint().getTextLocale())) {"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
+ line="310"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.text.PrecomputedTextCompat.Params is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (!mPaint.getTextLocale().equals(other.getTextPaint().getTextLocale())) {"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
+ line="310"
+ column="73"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.text.PrecomputedTextCompat.Params is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mPaint.getTextSkewX(), mPaint.getLetterSpacing(), mPaint.getFlags(),"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
+ line="354"
+ column="55"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.text.PrecomputedTextCompat.Params is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mPaint.getTextLocales(), mPaint.getTypeface(), mPaint.isElegantTextHeight(),"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
+ line="355"
+ column="79"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.text.PrecomputedTextCompat.Params is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mPaint.getTextLocales(), mPaint.getTypeface(), mPaint.isElegantTextHeight(),"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
+ line="355"
+ column="32"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.text.PrecomputedTextCompat.Params is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mPaint.getTextSkewX(), mPaint.getLetterSpacing(), mPaint.getFlags(),"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
+ line="359"
+ column="55"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.text.PrecomputedTextCompat.Params is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mPaint.getTextLocale(), mPaint.getTypeface(), mPaint.isElegantTextHeight(),"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
+ line="360"
+ column="32"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.text.PrecomputedTextCompat.Params is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mPaint.getTextLocale(), mPaint.getTypeface(), mPaint.isElegantTextHeight(),"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
+ line="360"
+ column="78"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.text.PrecomputedTextCompat.Params is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mPaint.getTextSkewX(), mPaint.getFlags(), mPaint.getTextLocale(),"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
+ line="364"
+ column="74"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.text.PrecomputedTextCompat.Params is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mPaint.getTextSkewX(), mPaint.getFlags(), mPaint.getTextLocale(),"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
+ line="368"
+ column="74"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.text.PrecomputedTextCompat.Params is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" sb.append(", letterSpacing=" + mPaint.getLetterSpacing());"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
+ line="384"
+ column="55"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.text.PrecomputedTextCompat.Params is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" sb.append(", elegantTextHeight=" + mPaint.isElegantTextHeight());"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
+ line="385"
+ column="59"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.text.PrecomputedTextCompat.Params is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" sb.append(", textLocale=" + mPaint.getTextLocales());"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
+ line="388"
+ column="52"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.text.PrecomputedTextCompat.Params is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" sb.append(", textLocale=" + mPaint.getTextLocale());"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
+ line="390"
+ column="52"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.text.PrecomputedTextCompat.Params is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" sb.append(", variationSettings=" + mPaint.getFontVariationSettings());"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
+ line="394"
+ column="59"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.text.PrecomputedTextCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" PrecomputedText.create(text, params.mWrapped), params);"
+ errorLine2=" ~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
+ line="440"
+ column="41"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.text.PrecomputedTextCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" StaticLayout.Builder.obtain(text, 0, text.length(), params.getTextPaint(),"
+ errorLine2=" ~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
+ line="468"
+ column="38"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.text.PrecomputedTextCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setBreakStrategy(params.getBreakStrategy())"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
+ line="470"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.text.PrecomputedTextCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setHyphenationFrequency(params.getHyphenationFrequency())"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
+ line="471"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.text.PrecomputedTextCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setTextDirection(params.getTextDirection())"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
+ line="472"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.text.PrecomputedTextCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .build();"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
+ line="473"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.text.PrecomputedTextCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mWrapped.getParagraphCount();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
+ line="532"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.text.PrecomputedTextCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mWrapped.getParagraphStart(paraIndex);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
+ line="545"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.text.PrecomputedTextCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mWrapped.getParagraphEnd(paraIndex);"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
+ line="558"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.RemoteActionCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" IconCompat.createFromIcon(remoteAction.getIcon()), remoteAction.getTitle(),"
+ errorLine2=" ~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/RemoteActionCompat.java"
+ line="117"
+ column="56"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.RemoteActionCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" IconCompat.createFromIcon(remoteAction.getIcon()), remoteAction.getTitle(),"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/RemoteActionCompat.java"
+ line="117"
+ column="81"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.RemoteActionCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" remoteAction.getContentDescription(), remoteAction.getActionIntent());"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/RemoteActionCompat.java"
+ line="118"
+ column="30"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.RemoteActionCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" remoteAction.getContentDescription(), remoteAction.getActionIntent());"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/RemoteActionCompat.java"
+ line="118"
+ column="68"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.RemoteActionCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" action.setEnabled(remoteAction.isEnabled());"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/RemoteActionCompat.java"
+ line="119"
+ column="40"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.app.RemoteActionCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" action.setShouldShowIcon(remoteAction.shouldShowIcon());"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/RemoteActionCompat.java"
+ line="121"
+ column="51"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.RemoteActionCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" RemoteAction action = new RemoteAction(mIcon.toIcon(), mTitle, mContentDescription,"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/RemoteActionCompat.java"
+ line="190"
+ column="31"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.RemoteActionCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" action.setEnabled(isEnabled());"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/RemoteActionCompat.java"
+ line="192"
+ column="16"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.app.RemoteActionCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" action.setShouldShowIcon(shouldShowIcon());"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/RemoteActionCompat.java"
+ line="194"
+ column="20"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.RemoteInput is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return android.app.RemoteInput.getDataResultsFromIntent(intent, remoteInputResultKey);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/RemoteInput.java"
+ line="339"
+ column="44"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.RemoteInput is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return android.app.RemoteInput.getResultsFromIntent(intent);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/RemoteInput.java"
+ line="377"
+ column="44"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.RemoteInput is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" android.app.RemoteInput.addResultsToIntent(fromCompat(remoteInputs), intent, results);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/RemoteInput.java"
+ line="403"
+ column="37"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.RemoteInput is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" android.app.RemoteInput.addResultsToIntent("
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/RemoteInput.java"
+ line="426"
+ column="41"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.RemoteInput is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" intent.setClipData(ClipData.newIntent(RemoteInput.RESULTS_CLIP_LABEL, clipDataIntent));"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/RemoteInput.java"
+ line="452"
+ column="20"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.app.RemoteInput is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" android.app.RemoteInput.addDataResultToIntent(fromCompat(remoteInput), intent, results);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/RemoteInput.java"
+ line="467"
+ column="37"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.RemoteInput is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" intent.setClipData(ClipData.newIntent(RemoteInput.RESULTS_CLIP_LABEL, clipDataIntent));"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/RemoteInput.java"
+ line="487"
+ column="20"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.app.RemoteInput is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" android.app.RemoteInput.setResultsSource(intent, source);"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/RemoteInput.java"
+ line="506"
+ column="37"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.RemoteInput is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" intent.setClipData(ClipData.newIntent(RESULTS_CLIP_LABEL, clipDataIntent));"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/RemoteInput.java"
+ line="513"
+ column="20"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.app.RemoteInput is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return android.app.RemoteInput.getResultsSource(intent);"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/RemoteInput.java"
+ line="531"
+ column="44"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.RemoteInput is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" new android.app.RemoteInput.Builder(src.getResultKey())"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/RemoteInput.java"
+ line="562"
+ column="17"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.RemoteInput is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setLabel(src.getLabel())"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/RemoteInput.java"
+ line="563"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.RemoteInput is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setChoices(src.getChoices())"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/RemoteInput.java"
+ line="564"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.RemoteInput is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setAllowFreeFormInput(src.getAllowFreeFormInput())"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/RemoteInput.java"
+ line="565"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.RemoteInput is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .addExtras(src.getExtras());"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/RemoteInput.java"
+ line="566"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.core.app.RemoteInput is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" builder.setEditChoicesBeforeSending(src.getEditChoicesBeforeSending());"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/RemoteInput.java"
+ line="568"
+ column="21"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.RemoteInput is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return builder.build();"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/RemoteInput.java"
+ line="570"
+ column="24"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.RemoteInput is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" new RemoteInput.Builder(src.getResultKey())"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/RemoteInput.java"
+ line="576"
+ column="45"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.RemoteInput is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setLabel(src.getLabel())"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/RemoteInput.java"
+ line="577"
+ column="39"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.RemoteInput is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setChoices(src.getChoices())"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/RemoteInput.java"
+ line="578"
+ column="41"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.RemoteInput is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setAllowFreeFormInput(src.getAllowFreeFormInput())"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/RemoteInput.java"
+ line="579"
+ column="52"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.app.RemoteInput is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .addExtras(src.getExtras());"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/RemoteInput.java"
+ line="580"
+ column="40"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.core.app.RemoteInput is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" builder.setEditChoicesBeforeSending(src.getEditChoicesBeforeSending());"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/RemoteInput.java"
+ line="582"
+ column="53"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.RemoteInput is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" ClipData clipData = intent.getClipData();"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/RemoteInput.java"
+ line="589"
+ column="36"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.content.res.ResourcesCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return res.getDrawable(id, theme);"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/res/ResourcesCompat.java"
+ line="95"
+ column="24"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.content.res.ResourcesCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return res.getDrawableForDensity(id, density, theme);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/res/ResourcesCompat.java"
+ line="128"
+ column="24"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 15; however, the containing class androidx.core.content.res.ResourcesCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return res.getDrawableForDensity(id, density);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/res/ResourcesCompat.java"
+ line="130"
+ column="24"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.content.res.ResourcesCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return res.getColor(id, theme);"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/res/ResourcesCompat.java"
+ line="158"
+ column="24"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.content.res.ResourcesCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return res.getColorStateList(id, theme);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/res/ResourcesCompat.java"
+ line="188"
+ column="24"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.database.sqlite.SQLiteCursorCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" cursor.setFillWindowForwardOnly(fillWindowForwardOnly);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/database/sqlite/SQLiteCursorCompat.java"
+ line="46"
+ column="20"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.ScaleGestureDetectorCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" scaleGestureDetector.setQuickScaleEnabled(enabled);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ScaleGestureDetectorCompat.java"
+ line="54"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.ScaleGestureDetectorCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return scaleGestureDetector.isQuickScaleEnabled();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ScaleGestureDetectorCompat.java"
+ line="79"
+ column="41"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.app.ServiceCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" service.stopForeground(flags);"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/ServiceCompat.java"
+ line="99"
+ column="21"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.ShareCompat.IntentReader is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" result = Html.escapeHtml(text);"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/ShareCompat.java"
+ line="835"
+ column="39"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" ShortcutInfo.Builder builder = new ShortcutInfo.Builder(mContext, mId)"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="108"
+ column="40"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setShortLabel(mLabel)"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="109"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .setIntents(mIntents);"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="110"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" builder.setIcon(mIcon.toIcon(mContext));"
+ errorLine2=" ~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="112"
+ column="21"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" builder.setLongLabel(mLongLabel);"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="115"
+ column="21"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" builder.setDisabledMessage(mDisabledMessage);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="118"
+ column="21"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" builder.setActivity(mActivity);"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="121"
+ column="21"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" builder.setCategories(mCategories);"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="124"
+ column="21"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" builder.setRank(mRank);"
+ errorLine2=" ~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="126"
+ column="17"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" builder.setExtras(mExtras);"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="128"
+ column="21"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.core.content.pm.ShortcutInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" builder.setPersons(persons);"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="136"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.core.content.pm.ShortcutInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" builder.setLocusId(mLocusId.toLocusId());"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="139"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.core.content.pm.ShortcutInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" builder.setLongLived(mIsLongLived);"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="141"
+ column="21"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" builder.setExtras(buildLegacyExtrasBundle());"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="146"
+ column="21"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return builder.build();"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="148"
+ column="24"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.content.pm.ShortcutInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mExtras = new PersistableBundle();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="158"
+ column="23"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.content.pm.ShortcutInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mExtras.putInt(EXTRA_PERSON_COUNT, mPersons.length);"
+ errorLine2=" ~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="161"
+ column="21"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.content.pm.ShortcutInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mExtras.putPersistableBundle(EXTRA_PERSON_ + (i + 1),"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="163"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.content.pm.ShortcutInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mExtras.putString(EXTRA_LOCUS_ID, mLocusId.getId());"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="168"
+ column="21"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 22; however, the containing class androidx.core.content.pm.ShortcutInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mExtras.putBoolean(EXTRA_LONG_LIVED, mIsLongLived);"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="170"
+ column="17"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.content.pm.ShortcutInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (bundle == null || !bundle.containsKey(EXTRA_PERSON_COUNT)) {"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="337"
+ column="39"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.content.pm.ShortcutInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" int personsLength = bundle.getInt(EXTRA_PERSON_COUNT);"
+ errorLine2=" ~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="341"
+ column="36"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.content.pm.ShortcutInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" bundle.getPersistableBundle(EXTRA_PERSON_ + (i + 1)));"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="345"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.content.pm.ShortcutInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (bundle == null || !bundle.containsKey(EXTRA_LONG_LIVED)) {"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="357"
+ column="39"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 22; however, the containing class androidx.core.content.pm.ShortcutInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return bundle.getBoolean(EXTRA_LONG_LIVED);"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="360"
+ column="23"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.core.content.pm.ShortcutInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (shortcutInfo.getLocusId() == null) return null;"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="474"
+ column="30"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.core.content.pm.ShortcutInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return LocusIdCompat.toLocusIdCompat(shortcutInfo.getLocusId());"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="475"
+ column="63"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return getLocusIdFromExtra(shortcutInfo.getExtras());"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="477"
+ column="53"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.content.pm.ShortcutInfoCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" final String locusId = bundle.getString(EXTRA_LOCUS_ID);"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="489"
+ column="39"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.mId = shortcutInfo.getId();"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="558"
+ column="38"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.mPackageName = shortcutInfo.getPackage();"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="559"
+ column="47"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" Intent[] intents = shortcutInfo.getIntents();"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="560"
+ column="45"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.mActivity = shortcutInfo.getActivity();"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="562"
+ column="44"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.mLabel = shortcutInfo.getShortLabel();"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="563"
+ column="41"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.mLongLabel = shortcutInfo.getLongLabel();"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="564"
+ column="45"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.mDisabledMessage = shortcutInfo.getDisabledMessage();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="565"
+ column="51"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.mDisabledReason = shortcutInfo.getDisabledReason();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="567"
+ column="54"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.mDisabledReason = shortcutInfo.isEnabled()"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="569"
+ column="54"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.mCategories = shortcutInfo.getCategories();"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="573"
+ column="46"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.mPersons = ShortcutInfoCompat.getPersonsFromExtra(shortcutInfo.getExtras());"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="574"
+ column="82"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.mUser = shortcutInfo.getUserHandle();"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="575"
+ column="40"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.mLastChangedTimestamp = shortcutInfo.getLastChangedTimestamp();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="576"
+ column="56"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.mIsDynamic = shortcutInfo.isDynamic();"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="580"
+ column="45"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.mIsPinned = shortcutInfo.isPinned();"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="581"
+ column="44"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.mIsDeclaredInManifest = shortcutInfo.isDeclaredInManifest();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="582"
+ column="56"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.mIsImmutable = shortcutInfo.isImmutable();"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="583"
+ column="47"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.mIsEnabled = shortcutInfo.isEnabled();"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="584"
+ column="45"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.mHasKeyFieldsOnly = shortcutInfo.hasKeyFieldsOnly();"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="585"
+ column="52"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.mRank = shortcutInfo.getRank();"
+ errorLine2=" ~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="587"
+ column="40"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.mExtras = shortcutInfo.getExtras();"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="588"
+ column="42"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.mExtras = new PersistableBundle();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="908"
+ column="41"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.mExtras.putStringArray("
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="915"
+ column="39"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.mExtras.putStringArray(capability + "/" + paramName,"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="921"
+ column="43"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.mExtras = new PersistableBundle();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="928"
+ column="41"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mInfo.mExtras.putString(EXTRA_SLICE_URI, UriCompat.toSafeString(mSliceUri));"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
+ line="930"
+ column="35"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return context.getSystemService(ShortcutManager.class).isRequestPinShortcutSupported();"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="154"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return context.getSystemService(ShortcutManager.class).isRequestPinShortcutSupported();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="154"
+ column="68"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return context.getSystemService(ShortcutManager.class).requestPinShortcut("
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="191"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return context.getSystemService(ShortcutManager.class).requestPinShortcut("
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="191"
+ column="68"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" result = context.getSystemService(ShortcutManager.class)"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="235"
+ column="30"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .createShortcutResultIntent(shortcut.toShortcutInfo());"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="236"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" context.getSystemService(ShortcutManager.class).getShortcuts(matchFlags);"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="276"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" final ShortcutManager manager = context.getSystemService(ShortcutManager.class);"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="279"
+ column="53"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" shortcuts.addAll(manager.getManifestShortcuts());"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="282"
+ column="42"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" shortcuts.addAll(manager.getDynamicShortcuts());"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="285"
+ column="42"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" shortcuts.addAll(manager.getPinnedShortcuts());"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="288"
+ column="42"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (!context.getSystemService(ShortcutManager.class).addDynamicShortcuts(shortcuts)) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="324"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (!context.getSystemService(ShortcutManager.class).addDynamicShortcuts(shortcuts)) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="324"
+ column="66"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return context.getSystemService(ShortcutManager.class).getMaxShortcutCountPerActivity();"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="343"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return context.getSystemService(ShortcutManager.class).getMaxShortcutCountPerActivity();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="343"
+ column="68"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return context.getSystemService(ShortcutManager.class).isRateLimitingActive();"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="360"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return context.getSystemService(ShortcutManager.class).isRateLimitingActive();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="360"
+ column="68"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return context.getSystemService(ShortcutManager.class).getIconMaxWidth();"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="380"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return context.getSystemService(ShortcutManager.class).getIconMaxWidth();"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="380"
+ column="68"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return context.getSystemService(ShortcutManager.class).getIconMaxHeight();"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="391"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return context.getSystemService(ShortcutManager.class).getIconMaxHeight();"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="391"
+ column="68"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" context.getSystemService(ShortcutManager.class).reportShortcutUsed(shortcutId);"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="418"
+ column="21"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" context.getSystemService(ShortcutManager.class).reportShortcutUsed(shortcutId);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="418"
+ column="61"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (!context.getSystemService(ShortcutManager.class).setDynamicShortcuts(shortcuts)) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="456"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (!context.getSystemService(ShortcutManager.class).setDynamicShortcuts(shortcuts)) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="456"
+ column="66"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" List<ShortcutInfo> shortcuts = context.getSystemService("
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="480"
+ column="52"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" ShortcutManager.class).getDynamicShortcuts();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="481"
+ column="44"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (!context.getSystemService(ShortcutManager.class).updateShortcuts(shortcuts)) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="519"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (!context.getSystemService(ShortcutManager.class).updateShortcuts(shortcuts)) {"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="519"
+ column="66"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" context.getSystemService(ShortcutManager.class)"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="586"
+ column="21"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .disableShortcuts(shortcutIds, disabledMessage);"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="587"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" context.getSystemService(ShortcutManager.class).enableShortcuts(shortcutIds);"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="617"
+ column="21"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" context.getSystemService(ShortcutManager.class).enableShortcuts(shortcutIds);"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="617"
+ column="61"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" context.getSystemService(ShortcutManager.class).removeDynamicShortcuts(shortcutIds);"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="636"
+ column="21"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" context.getSystemService(ShortcutManager.class).removeDynamicShortcuts(shortcutIds);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="636"
+ column="61"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" context.getSystemService(ShortcutManager.class).removeAllDynamicShortcuts();"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="654"
+ column="21"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" context.getSystemService(ShortcutManager.class).removeAllDynamicShortcuts();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="654"
+ column="61"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" context.getSystemService(ShortcutManager.class).removeLongLivedShortcuts(shortcutIds);"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="681"
+ column="17"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" context.getSystemService(ShortcutManager.class).pushDynamicShortcut("
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="734"
+ column="21"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" final ShortcutManager sm = context.getSystemService(ShortcutManager.class);"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="737"
+ column="48"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (sm.isRateLimitingActive()) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="738"
+ column="20"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" final List<ShortcutInfo> shortcuts = sm.getDynamicShortcuts();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="741"
+ column="53"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" sm.removeDynamicShortcuts(Arrays.asList("
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="743"
+ column="20"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 25; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" sm.addDynamicShortcuts(Arrays.asList(shortcut.toShortcutInfo()));"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="746"
+ column="16"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.content.pm.ShortcutManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" Build.VERSION.SDK_INT < 19 || am == null || am.isLowRamDevice();"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
+ line="800"
+ column="64"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.app.TaskStackBuilder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return PendingIntent.getActivities(mSourceContext, requestCode, intents, flags,"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/app/TaskStackBuilder.java"
+ line="341"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.text.TextUtilsCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return TextUtils.getLayoutDirectionFromLocale(locale);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/text/TextUtilsCompat.java"
+ line="91"
+ column="30"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.widget.TextViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" textView.setCompoundDrawablesRelative(start, top, end, bottom);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/TextViewCompat.java"
+ line="152"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.widget.TextViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" boolean rtl = textView.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/TextViewCompat.java"
+ line="154"
+ column="36"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.widget.TextViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" textView.setCompoundDrawablesRelativeWithIntrinsicBounds(start, top, end, bottom);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/TextViewCompat.java"
+ line="179"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.widget.TextViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" boolean rtl = textView.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/TextViewCompat.java"
+ line="181"
+ column="36"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.widget.TextViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" textView.setCompoundDrawablesRelativeWithIntrinsicBounds(start, top, end, bottom);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/TextViewCompat.java"
+ line="211"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.widget.TextViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" boolean rtl = textView.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/TextViewCompat.java"
+ line="213"
+ column="36"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.widget.TextViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return textView.getMaxLines();"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/TextViewCompat.java"
+ line="227"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.widget.TextViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return textView.getMinLines();"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/TextViewCompat.java"
+ line="253"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.widget.TextViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" textView.setTextAppearance(resId);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/TextViewCompat.java"
+ line="284"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.widget.TextViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return textView.getCompoundDrawablesRelative();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/TextViewCompat.java"
+ line="296"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.widget.TextViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" final boolean rtl = textView.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/TextViewCompat.java"
+ line="299"
+ column="42"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.widget.TextViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" textView.setAutoSizeTextTypeWithDefaults(autoSizeTextType);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/TextViewCompat.java"
+ line="327"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.widget.TextViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" textView.setAutoSizeTextTypeUniformWithConfiguration("
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/TextViewCompat.java"
+ line="362"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.widget.TextViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" textView.setAutoSizeTextTypeUniformWithPresetSizes(presetSizes, unit);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/TextViewCompat.java"
+ line="388"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.widget.TextViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return textView.getAutoSizeTextType();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/TextViewCompat.java"
+ line="407"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.widget.TextViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return textView.getAutoSizeStepGranularity();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/TextViewCompat.java"
+ line="423"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.widget.TextViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return textView.getAutoSizeMinTextSize();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/TextViewCompat.java"
+ line="440"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.widget.TextViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return textView.getAutoSizeMaxTextSize();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/TextViewCompat.java"
+ line="457"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.widget.TextViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return textView.getAutoSizeTextAvailableSizes();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/TextViewCompat.java"
+ line="474"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.widget.TextViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" textView.setFirstBaselineToTopHeight(firstBaselineToTopHeight);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/TextViewCompat.java"
+ line="695"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.widget.TextViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" || textView.getIncludeFontPadding()) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/TextViewCompat.java"
+ line="704"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.widget.TextViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" || textView.getIncludeFontPadding()) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/TextViewCompat.java"
+ line="745"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.widget.TextViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return new PrecomputedTextCompat.Params(textView.getTextMetricsParams());"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/TextViewCompat.java"
+ line="816"
+ column="62"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.widget.TextViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" builder.setBreakStrategy(textView.getBreakStrategy());"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/TextViewCompat.java"
+ line="821"
+ column="51"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.widget.TextViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" builder.setHyphenationFrequency(textView.getHyphenationFrequency());"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/TextViewCompat.java"
+ line="822"
+ column="58"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.widget.TextViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" textView.setTextDirection(getTextDirection(params.getTextDirection()));"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/TextViewCompat.java"
+ line="843"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.widget.TextViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" textView.setBreakStrategy(params.getBreakStrategy());"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/TextViewCompat.java"
+ line="866"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.widget.TextViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" textView.setHyphenationFrequency(params.getHyphenationFrequency());"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/TextViewCompat.java"
+ line="867"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.widget.TextViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" DecimalFormatSymbols.getInstance(textView.getTextLocale());"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/TextViewCompat.java"
+ line="919"
+ column="67"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.widget.TextViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" DecimalFormatSymbols.getInstance(textView.getTextLocale());"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/TextViewCompat.java"
+ line="919"
+ column="46"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.widget.TextViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" final String zero = symbols.getDigitStrings()[0];"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/TextViewCompat.java"
+ line="920"
+ column="45"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.widget.TextViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" final boolean defaultIsRtl = (textView.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/TextViewCompat.java"
+ line="935"
+ column="48"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.widget.TextViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" switch (textView.getTextDirection()) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/TextViewCompat.java"
+ line="938"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.widget.TextViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" textView.setCompoundDrawableTintList(tint);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/TextViewCompat.java"
+ line="995"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.widget.TextViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return textView.getCompoundDrawableTintList();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/TextViewCompat.java"
+ line="1011"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.widget.TextViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" textView.setCompoundDrawableTintMode(tintMode);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/TextViewCompat.java"
+ line="1029"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.widget.TextViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return textView.getCompoundDrawableTintMode();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/widget/TextViewCompat.java"
+ line="1046"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.core.os.TraceCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return Trace.isEnabled();"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/os/TraceCompat.java"
+ line="79"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.core.os.TraceCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" Trace.beginSection(sectionName);"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/os/TraceCompat.java"
+ line="105"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.core.os.TraceCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" Trace.endSection();"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/os/TraceCompat.java"
+ line="118"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.core.os.TraceCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" Trace.beginAsyncSection(methodName, cookie);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/os/TraceCompat.java"
+ line="134"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.core.os.TraceCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" Trace.endAsyncSection(methodName, cookie);"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/os/TraceCompat.java"
+ line="154"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.core.os.TraceCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" Trace.setCounter(counterName, counterValue);"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/os/TraceCompat.java"
+ line="173"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.net.TrafficStatsCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" TrafficStats.tagDatagramSocket(socket);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/net/TrafficStatsCompat.java"
+ line="138"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.net.TrafficStatsCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" TrafficStats.untagDatagramSocket(socket);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/net/TrafficStatsCompat.java"
+ line="155"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.graphics.TypefaceCompatUtil is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" try (ParcelFileDescriptor pfd = resolver.openFileDescriptor(uri, "r", cancellationSignal)) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/graphics/TypefaceCompatUtil.java"
+ line="110"
+ column="50"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.os.UserManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return context.getSystemService(UserManager.class).isUserUnlocked();"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/os/UserManagerCompat.java"
+ line="42"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.os.UserManagerCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return context.getSystemService(UserManager.class).isUserUnlocked();"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/os/UserManagerCompat.java"
+ line="42"
+ column="64"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" v.setAutofillHints(autofillHints);"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="762"
+ column="15"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return v.getImportantForAutofill();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="783"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" v.setImportantForAutofill(mode);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="827"
+ column="15"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return v.isImportantForAutofill();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="896"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return v.getAccessibilityDelegate();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="946"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.hasTransientState();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="989"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.setHasTransientState(hasTransientState);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="1003"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.postInvalidateOnAnimation();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="1018"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.postInvalidateOnAnimation(left, top, right, bottom);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="1040"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.postOnAnimation(action);"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="1058"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.postOnAnimationDelayed(action, delayMillis);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="1080"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.getImportantForAccessibility();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="1102"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.setImportantForAccessibility(mode);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="1129"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.setImportantForAccessibility(mode);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="1138"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.isImportantForAccessibility();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="1180"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.performAccessibilityAction(action, arguments);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="1202"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" AccessibilityNodeProvider provider = view.getAccessibilityNodeProvider();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="1437"
+ column="55"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.getLabelFor();"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="1532"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.setLabelFor(labeledId);"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="1546"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.setLayerPaint(paint);"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="1582"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.getLayoutDirection();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="1605"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.setLayoutDirection(layoutDirection);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="1629"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.getParentForAccessibility();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="1643"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.requireViewById(id);"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="1666"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.getAccessibilityLiveRegion();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="1783"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.setAccessibilityLiveRegion(mode);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="1819"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.getPaddingStart();"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="1834"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.getPaddingEnd();"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="1850"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.setPaddingRelative(start, top, end, bottom);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="1871"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.dispatchStartTemporaryDetach();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="1894"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.dispatchFinishTemporaryDetach();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="1917"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.getMinimumWidth();"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="1994"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.getMinimumHeight();"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="2028"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.setElevation(elevation);"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="2335"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.getElevation();"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="2346"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.setTranslationZ(translationZ);"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="2356"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.getTranslationZ();"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="2367"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.setTransitionName(transitionName);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="2381"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.getTransitionName();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="2403"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.getWindowSystemUiVisibility();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="2416"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.requestApplyInsets();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="2427"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.requestFitSystemWindows();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="2429"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return v.getFitsSystemWindows();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="2472"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" WindowInsets result = view.onApplyWindowInsets(unwrapped);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="2533"
+ column="44"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" final WindowInsets result = view.dispatchApplyWindowInsets(unwrapped);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="2561"
+ column="50"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.setSystemGestureExclusionRects(rects);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="2585"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.getSystemGestureExclusionRects();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="2600"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.hasOverlappingRendering();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="2866"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.isPaddingRelative();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="2879"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.setBackground(background);"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="2892"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.getBackgroundTintList();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="2906"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.setBackgroundTintList(tintList);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="2922"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" boolean hasTint = (view.getBackgroundTintList() != null)"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="2928"
+ column="41"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" || (view.getBackgroundTintMode() != null);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="2929"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.setBackground(background);"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="2934"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.getBackgroundTintMode();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="2951"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.setBackgroundTintMode(mode);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="2969"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" boolean hasTint = (view.getBackgroundTintList() != null)"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="2975"
+ column="41"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" || (view.getBackgroundTintMode() != null);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="2976"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.setBackground(background);"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="2981"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.setNestedScrollingEnabled(enabled);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="3007"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.isNestedScrollingEnabled();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="3030"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.startNestedScroll(axes);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="3052"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.stopNestedScroll();"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="3071"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.hasNestedScrollingParent();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="3088"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.dispatchNestedScroll(dxConsumed, dyConsumed, dxUnconsumed, dyUnconsumed,"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="3117"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.dispatchNestedPreScroll(dx, dy, consumed, offsetInWindow);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="3148"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.dispatchNestedFling(velocityX, velocityY, consumed);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="3372"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.dispatchNestedPreFling(velocityX, velocityY);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="3415"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.isInLayout();"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="3437"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.isLaidOut();"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="3448"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.isLayoutDirectionResolved();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="3465"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.getZ();"
+ errorLine2=" ~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="3479"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.setZ(z);"
+ errorLine2=" ~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="3498"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.setClipBounds(clipBounds);"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="3617"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.getClipBounds();"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="3632"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.isAttachedToWindow();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="3642"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 15; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.hasOnClickListeners();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="3654"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.setScrollIndicators(indicators);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="3672"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.setScrollIndicators(indicators, mask);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="3706"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.getScrollIndicators();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="3724"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.setPointerIcon((PointerIcon) (pointerIcon != null"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="3735"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.getDisplay();"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="3754"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.setTooltipText(tooltipText);"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="3774"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return v.startDragAndDrop(data, shadowBuilder, localState, flags);"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="3784"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" v.cancelDragAndDrop();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="3795"
+ column="15"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" v.updateDragShadow(shadowBuilder);"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="3804"
+ column="15"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.getNextClusterForwardId();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="3816"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.setNextClusterForwardId(nextClusterForwardId);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="3830"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.isKeyboardNavigationCluster();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="3842"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.setKeyboardNavigationCluster(isCluster);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="3856"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.isFocusedByDefault();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="3871"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.setFocusedByDefault(isFocusedByDefault);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="3890"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.keyboardNavigationClusterSearch(currentCluster, direction);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="3908"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.addKeyboardNavigationClusters(views, direction);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="3924"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.restoreDefaultFocus();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="3938"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.hasExplicitFocusable();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="3960"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return View.generateViewId();"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="3973"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.isScreenReaderFocusable();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="4170"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.setScreenReaderFocusable(value);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="4176"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.getAccessibilityPaneTitle();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="4242"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.setAccessibilityPaneTitle(value);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="4248"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.isAccessibilityHeading();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="4322"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.setAccessibilityHeading(value);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="4328"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" event.setContentChangeTypes(changeType);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="4423"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" event.setContentChangeTypes(changeType);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="4433"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.ViewCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.getParent().notifySubtreeAccessibilityStateChanged(view, view, changeType);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="4440"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.ViewCompat.AccessibilityPaneVisibilityManager is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (pane.isAttachedToWindow()) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="4500"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.ViewCompat.AccessibilityPaneVisibilityManager is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.getViewTreeObserver().removeOnGlobalLayoutListener(this);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewCompat.java"
+ line="4531"
+ column="40"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.view.ViewConfigurationCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return config.getScaledHorizontalScrollFactor();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewConfigurationCompat.java"
+ line="82"
+ column="27"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.core.view.ViewConfigurationCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return config.getScaledVerticalScrollFactor();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewConfigurationCompat.java"
+ line="99"
+ column="27"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.view.ViewConfigurationCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return config.getScaledHoverSlop();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewConfigurationCompat.java"
+ line="129"
+ column="27"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.view.ViewConfigurationCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return config.shouldShowMenuShortcutsWhenKeyboardPresent();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewConfigurationCompat.java"
+ line="142"
+ column="27"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.core.view.ViewGroupCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return group.getLayoutMode();"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewGroupCompat.java"
+ line="115"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.core.view.ViewGroupCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" group.setLayoutMode(mode);"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewGroupCompat.java"
+ line="131"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.ViewGroupCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" group.setTransitionGroup(isTransitionGroup);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewGroupCompat.java"
+ line="145"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.ViewGroupCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return group.isTransitionGroup();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewGroupCompat.java"
+ line="158"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.ViewGroupCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return group.getNestedScrollAxes();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewGroupCompat.java"
+ line="182"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.ViewParentCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return parent.onStartNestedScroll(child, target, nestedScrollAxes);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewParentCompat.java"
+ line="215"
+ column="35"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.ViewParentCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" parent.onNestedScrollAccepted(child, target, nestedScrollAxes);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewParentCompat.java"
+ line="256"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.ViewParentCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" parent.onStopNestedScroll(target);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewParentCompat.java"
+ line="289"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.ViewParentCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" parent.onNestedScroll(target, dxConsumed, dyConsumed, dxUnconsumed,"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewParentCompat.java"
+ line="346"
+ column="32"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.ViewParentCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" parent.onNestedPreScroll(target, dx, dy, consumed);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewParentCompat.java"
+ line="391"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.ViewParentCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return parent.onNestedFling(target, velocityX, velocityY, consumed);"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewParentCompat.java"
+ line="426"
+ column="31"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.ViewParentCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return parent.onNestedPreFling(target, velocityX, velocityY);"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewParentCompat.java"
+ line="463"
+ column="31"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.ViewParentCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" parent.notifySubtreeAccessibilityStateChanged(child, source, changeType);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewParentCompat.java"
+ line="493"
+ column="20"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.ViewPropertyAnimatorCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.animate().withEndAction(runnable);"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewPropertyAnimatorCompat.java"
+ line="218"
+ column="32"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.core.view.ViewPropertyAnimatorCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return (Interpolator) view.animate().getInterpolator();"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewPropertyAnimatorCompat.java"
+ line="269"
+ column="54"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.ViewPropertyAnimatorCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.animate().translationZBy(value);"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewPropertyAnimatorCompat.java"
+ line="572"
+ column="32"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.ViewPropertyAnimatorCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.animate().translationZ(value);"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewPropertyAnimatorCompat.java"
+ line="591"
+ column="32"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.ViewPropertyAnimatorCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.animate().z(value);"
+ errorLine2=" ~">
+ <location
+ file="src/main/java/androidx/core/view/ViewPropertyAnimatorCompat.java"
+ line="610"
+ column="32"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.core.view.ViewPropertyAnimatorCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.animate().zBy(value);"
+ errorLine2=" ~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewPropertyAnimatorCompat.java"
+ line="629"
+ column="32"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.ViewPropertyAnimatorCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.animate().withLayer();"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewPropertyAnimatorCompat.java"
+ line="682"
+ column="32"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.core.view.ViewPropertyAnimatorCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.animate().withStartAction(runnable);"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewPropertyAnimatorCompat.java"
+ line="710"
+ column="32"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.ViewPropertyAnimatorCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.animate().setUpdateListener(wrapped);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/ViewPropertyAnimatorCompat.java"
+ line="787"
+ column="32"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.core.view.WindowCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return window.requireViewById(id);"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/WindowCompat.java"
+ line="89"
+ column="27"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.core.view.WindowInsetsCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (view != null && view.isAttachedToWindow()) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/view/WindowInsetsCompat.java"
+ line="169"
+ column="34"/>
+ </issue>
+
+ <issue
id="PrivateConstructorForUtilityClass"
message="Utility class with non private constructor"
errorLine1="public class AppLaunchChecker {"
@@ -459,7 +11800,7 @@
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="770"
+ line="874"
column="26"/>
</issue>
@@ -486,11358 +11827,6 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.AccessibilityDelegateCompat 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=" Object provider = mOriginalDelegate.getAccessibilityNodeProvider(host);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/AccessibilityDelegateCompat.java"
- line="320"
- column="49"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.AccessibilityDelegateCompat 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=" success = mOriginalDelegate.performAccessibilityAction(host, action, args);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/AccessibilityDelegateCompat.java"
- line="355"
- column="41"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityEventCompat 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=" event.setContentChangeTypes(changeTypes);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityEventCompat.java"
- line="323"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityEventCompat 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=" return event.getContentChangeTypes();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityEventCompat.java"
- line="344"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.accessibility.AccessibilityEventCompat 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=" event.setMovementGranularity(granularity);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityEventCompat.java"
- line="359"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.accessibility.AccessibilityEventCompat 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=" return event.getMovementGranularity();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityEventCompat.java"
- line="370"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.accessibility.AccessibilityEventCompat 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=" event.setAction(action);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityEventCompat.java"
- line="395"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.accessibility.AccessibilityEventCompat 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=" return event.getAction();"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityEventCompat.java"
- line="406"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityManagerCompat 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=" return manager.addTouchExplorationStateChangeListener("
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityManagerCompat.java"
- line="172"
- column="28"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityManagerCompat 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=" return manager.removeTouchExplorationStateChangeListener("
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityManagerCompat.java"
- line="191"
- column="28"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat 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=" mAction = new AccessibilityNodeInfo.AccessibilityAction(id, label);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="641"
- column="27"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat 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 ((AccessibilityNodeInfo.AccessibilityAction) mAction).getId();"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="655"
- column="78"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat 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 ((AccessibilityNodeInfo.AccessibilityAction) mAction).getLabel();"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="669"
- column="78"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.CollectionInfoCompat 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 CollectionInfoCompat(AccessibilityNodeInfo.CollectionInfo.obtain("
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="780"
- column="86"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.CollectionInfoCompat 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=" return new CollectionInfoCompat(AccessibilityNodeInfo.CollectionInfo.obtain("
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="783"
- column="86"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.CollectionInfoCompat 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=" return new CollectionInfoCompat(AccessibilityNodeInfo.CollectionInfo.obtain("
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="802"
- column="86"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.CollectionInfoCompat 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=" return ((AccessibilityNodeInfo.CollectionInfo) mInfo).getColumnCount();"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="820"
- column="71"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.CollectionInfoCompat 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=" return ((AccessibilityNodeInfo.CollectionInfo) mInfo).getRowCount();"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="833"
- column="71"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.CollectionInfoCompat 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=" return ((AccessibilityNodeInfo.CollectionInfo) mInfo).isHierarchical();"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="846"
- column="71"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.CollectionInfoCompat 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 ((AccessibilityNodeInfo.CollectionInfo) mInfo).getSelectionMode();"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="864"
- column="71"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.CollectionItemInfoCompat 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 CollectionItemInfoCompat(AccessibilityNodeInfo.CollectionItemInfo.obtain("
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="901"
- column="94"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.CollectionItemInfoCompat 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=" return new CollectionItemInfoCompat(AccessibilityNodeInfo.CollectionItemInfo.obtain("
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="904"
- column="94"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.CollectionItemInfoCompat 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=" return new CollectionItemInfoCompat(AccessibilityNodeInfo.CollectionItemInfo.obtain("
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="926"
- column="94"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.CollectionItemInfoCompat 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=" return ((AccessibilityNodeInfo.CollectionItemInfo) mInfo).getColumnIndex();"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="944"
- column="75"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.CollectionItemInfoCompat 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=" return ((AccessibilityNodeInfo.CollectionItemInfo) mInfo).getColumnSpan();"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="957"
- column="75"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.CollectionItemInfoCompat 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=" return ((AccessibilityNodeInfo.CollectionItemInfo) mInfo).getRowIndex();"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="970"
- column="75"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.CollectionItemInfoCompat 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=" return ((AccessibilityNodeInfo.CollectionItemInfo) mInfo).getRowSpan();"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="983"
- column="75"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.CollectionItemInfoCompat 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=" return ((AccessibilityNodeInfo.CollectionItemInfo) mInfo).isHeading();"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="1000"
- column="75"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.CollectionItemInfoCompat 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 ((AccessibilityNodeInfo.CollectionItemInfo) mInfo).isSelected();"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="1013"
- column="75"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.RangeInfoCompat 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=" AccessibilityNodeInfo.RangeInfo.obtain(type, min, max, current));"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="1043"
- column="57"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.RangeInfoCompat 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=" return ((AccessibilityNodeInfo.RangeInfo) mInfo).getCurrent();"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="1062"
- column="66"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.RangeInfoCompat 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=" return ((AccessibilityNodeInfo.RangeInfo) mInfo).getMax();"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="1075"
- column="66"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.RangeInfoCompat 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=" return ((AccessibilityNodeInfo.RangeInfo) mInfo).getMin();"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="1088"
- column="66"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.RangeInfoCompat 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=" return ((AccessibilityNodeInfo.RangeInfo) mInfo).getType();"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="1105"
- column="66"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.TouchDelegateInfoCompat 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=" mInfo = new TouchDelegateInfo(targetMap);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="1125"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.TouchDelegateInfoCompat 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 mInfo.getRegionCount();"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="1147"
- column="30"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.TouchDelegateInfoCompat 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 mInfo.getRegionAt(index);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="1166"
- column="30"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat.TouchDelegateInfoCompat 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=" AccessibilityNodeInfo info = mInfo.getTargetForRegion(region);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="1194"
- column="52"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" AccessibilityNodeInfo.obtain(root, virtualDescendantId));"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="1755"
- column="43"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.setSource(root, virtualDescendantId);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="1817"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" return AccessibilityNodeInfoCompat.wrapNonNullInstance(mInfo.findFocus(focus));"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="1834"
- column="74"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" return AccessibilityNodeInfoCompat.wrapNonNullInstance(mInfo.focusSearch(direction));"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="1856"
- column="74"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.addChild(root, virtualDescendantId);"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="1928"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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 mInfo.removeChild(child);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="1948"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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 mInfo.removeChild(root, virtualDescendantId);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="1966"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" ArrayList<Integer> list = mInfo.getExtras()"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="2004"
- column="41"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.getExtras().putIntegerArrayList(key, list);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="2008"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.addAction((AccessibilityNodeInfo.AccessibilityAction) action.mAction);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="2031"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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 mInfo.removeAction((AccessibilityNodeInfo.AccessibilityAction) action.mAction);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="2056"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" return mInfo.performAction(action, arguments);"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="2093"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.setMovementGranularities(granularities);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="2113"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" return mInfo.getMovementGranularities();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="2124"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.setParent(root, virtualDescendantId);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="2210"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" return mInfo.isVisibleToUser();"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="2380"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.setVisibleToUser(visibleToUser);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="2400"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" return mInfo.isAccessibilityFocused();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="2411"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.setAccessibilityFocused(focused);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="2431"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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 mInfo.isImportantForAccessibility();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="2589"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.setImportantForAccessibility(important);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="2608"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.getExtras().remove(SPANS_START_KEY);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="2767"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.getExtras().remove(SPANS_END_KEY);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="2768"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.getExtras().remove(SPANS_FLAGS_KEY);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="2769"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.getExtras().remove(SPANS_ID_KEY);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="2770"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" return mInfo.getExtras().getCharSequence(STATE_DESCRIPTION_KEY);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="2815"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.getExtras().putCharSequence(STATE_DESCRIPTION_KEY, stateDescription);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="2850"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.setViewIdResourceName(viewId);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="2878"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" return mInfo.getViewIdResourceName();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="2896"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" return mInfo.getLiveRegion();"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="2922"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.setLiveRegion(mode);"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="2942"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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 mInfo.getDrawingOrder();"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="2959"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.setDrawingOrder(drawingOrderInParent);"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="2978"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" AccessibilityNodeInfo.CollectionInfo info = mInfo.getCollectionInfo();"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="2990"
- column="63"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.setCollectionInfo((collectionInfo == null) ? null"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3000"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.setCollectionItemInfo((collectionItemInfo == null) ? null"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3009"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" AccessibilityNodeInfo.CollectionItemInfo info = mInfo.getCollectionItemInfo();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3023"
- column="67"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" AccessibilityNodeInfo.RangeInfo info = mInfo.getRangeInfo();"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3038"
- column="58"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.setRangeInfo((AccessibilityNodeInfo.RangeInfo) rangeInfo.mInfo);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3058"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" actions = (List<Object>) (List<?>) mInfo.getActionList();"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3076"
- column="54"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.setContentInvalid(contentInvalid);"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3104"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" return mInfo.isContentInvalid();"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3116"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" return mInfo.isContextClickable();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3129"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.setContextClickable(contextClickable);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3148"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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 mInfo.getHintText();"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3159"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" return mInfo.getExtras().getCharSequence(HINT_TEXT_KEY);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3161"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.setHintText(hintText);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3181"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.getExtras().putCharSequence(HINT_TEXT_KEY, hintText);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3183"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.setError(error);"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3202"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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 mInfo.getError();"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3213"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.setLabelFor(labeled);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3227"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.setLabelFor(root, virtualDescendantId);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3247"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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 AccessibilityNodeInfoCompat.wrapNonNullInstance(mInfo.getLabelFor());"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3264"
- column="74"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.setLabeledBy(label);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3278"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.setLabeledBy(root, virtualDescendantId);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3303"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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 AccessibilityNodeInfoCompat.wrapNonNullInstance(mInfo.getLabeledBy());"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3320"
- column="74"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" return mInfo.canOpenPopup();"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3333"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.setCanOpenPopup(opensPopup);"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3351"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" List<AccessibilityNodeInfo> nodes = mInfo.findAccessibilityNodeInfosByViewId(viewId);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3379"
- column="55"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" return mInfo.getExtras();"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3405"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" return mInfo.getInputType();"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3418"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.setInputType(inputType);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3439"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.setMaxTextLength(max);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3460"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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 mInfo.getMaxTextLength();"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3472"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.setTextSelection(start, end);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3493"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" return mInfo.getTextSelectionStart();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3504"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" return mInfo.getTextSelectionEnd();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3517"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 22, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is not annotated with @RequiresApi(x) where x is at least 22. Either annotate the containing class with at least @RequiresApi(22) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(22)."
- errorLine1=" return AccessibilityNodeInfoCompat.wrapNonNullInstance(mInfo.getTraversalBefore());"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3534"
- column="74"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 22, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is not annotated with @RequiresApi(x) where x is at least 22. Either annotate the containing class with at least @RequiresApi(22) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(22)."
- errorLine1=" mInfo.setTraversalBefore(view);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3556"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 22, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is not annotated with @RequiresApi(x) where x is at least 22. Either annotate the containing class with at least @RequiresApi(22) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(22)."
- errorLine1=" mInfo.setTraversalBefore(root, virtualDescendantId);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3583"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 22, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is not annotated with @RequiresApi(x) where x is at least 22. Either annotate the containing class with at least @RequiresApi(22) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(22)."
- errorLine1=" return AccessibilityNodeInfoCompat.wrapNonNullInstance(mInfo.getTraversalAfter());"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3599"
- column="74"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 22, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is not annotated with @RequiresApi(x) where x is at least 22. Either annotate the containing class with at least @RequiresApi(22) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(22)."
- errorLine1=" mInfo.setTraversalAfter(view);"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3621"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 22, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat is not annotated with @RequiresApi(x) where x is at least 22. Either annotate the containing class with at least @RequiresApi(22) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(22)."
- errorLine1=" mInfo.setTraversalAfter(root, virtualDescendantId);"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3647"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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 AccessibilityWindowInfoCompat.wrapNonNullInstance(mInfo.getWindow());"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3660"
- column="76"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" return mInfo.isDismissable();"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3673"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.setDismissable(dismissable);"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3691"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" return mInfo.isEditable();"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3702"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.setEditable(editable);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3722"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" return mInfo.isMultiLine();"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3733"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.setMultiLine(multiLine);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3751"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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 mInfo.getTooltipText();"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3763"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" return mInfo.getExtras().getCharSequence(TOOLTIP_TEXT_KEY);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3765"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.setTooltipText(tooltipText);"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3785"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.getExtras().putCharSequence(TOOLTIP_TEXT_KEY, tooltipText);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3787"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.setPaneTitle(paneTitle);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3805"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.getExtras().putCharSequence(PANE_TITLE_KEY, paneTitle);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3807"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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 mInfo.getPaneTitle();"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3819"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" return mInfo.getExtras().getCharSequence(PANE_TITLE_KEY);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3821"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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 mInfo.isScreenReaderFocusable();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3838"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.setScreenReaderFocusable(screenReaderFocusable);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3857"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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 mInfo.isShowingHintText();"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3872"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.setShowingHintText(showingHintText);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3892"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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 mInfo.isHeading();"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3909"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.setHeading(isHeading);"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3929"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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 mInfo.isTextEntryKey();"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3942"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.setTextEntryKey(isTextEntryKey);"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3960"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" return mInfo.refresh();"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3977"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" return mInfo.getExtras().getCharSequence(ROLE_DESCRIPTION_KEY);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3989"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.getExtras().putCharSequence(ROLE_DESCRIPTION_KEY, roleDescription);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="4021"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" TouchDelegateInfo delegateInfo = mInfo.getTouchDelegateInfo();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="4043"
- column="52"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.core.view.accessibility.AccessibilityNodeInfoCompat 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=" mInfo.setTouchDelegateInfo(delegatedInfo.mInfo);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="4070"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.accessibility.AccessibilityRecordCompat 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=" record.setSource(root, virtualDescendantId);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityRecordCompat.java"
- line="140"
- column="20"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 15, the call containing class androidx.core.view.accessibility.AccessibilityRecordCompat is not annotated with @RequiresApi(x) where x is at least 15. Either annotate the containing class with at least @RequiresApi(15) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(15)."
- errorLine1=" return record.getMaxScrollX();"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityRecordCompat.java"
- line="483"
- column="27"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 15, the call containing class androidx.core.view.accessibility.AccessibilityRecordCompat is not annotated with @RequiresApi(x) where x is at least 15. Either annotate the containing class with at least @RequiresApi(15) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(15)."
- errorLine1=" record.setMaxScrollX(maxScrollX);"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityRecordCompat.java"
- line="509"
- column="20"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 15, the call containing class androidx.core.view.accessibility.AccessibilityRecordCompat is not annotated with @RequiresApi(x) where x is at least 15. Either annotate the containing class with at least @RequiresApi(15) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(15)."
- errorLine1=" return record.getMaxScrollY();"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityRecordCompat.java"
- line="533"
- column="27"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 15, the call containing class androidx.core.view.accessibility.AccessibilityRecordCompat is not annotated with @RequiresApi(x) where x is at least 15. Either annotate the containing class with at least @RequiresApi(15) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(15)."
- errorLine1=" record.setMaxScrollY(maxScrollY);"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityRecordCompat.java"
- line="559"
- column="20"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.accessibilityservice.AccessibilityServiceInfoCompat 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=" return info.loadDescription(packageManager);"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/accessibilityservice/AccessibilityServiceInfoCompat.java"
- line="199"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.core.accessibilityservice.AccessibilityServiceInfoCompat 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=" return info.getCapabilities();"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/accessibilityservice/AccessibilityServiceInfoCompat.java"
- line="288"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.accessibility.AccessibilityWindowInfoCompat 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 ((AccessibilityWindowInfo) mInfo).getType();"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityWindowInfoCompat.java"
- line="100"
- column="54"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.accessibility.AccessibilityWindowInfoCompat 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 ((AccessibilityWindowInfo) mInfo).getLayer();"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityWindowInfoCompat.java"
- line="114"
- column="54"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.accessibility.AccessibilityWindowInfoCompat 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=" ((AccessibilityWindowInfo) mInfo).getRoot());"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityWindowInfoCompat.java"
- line="128"
- column="55"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.accessibility.AccessibilityWindowInfoCompat 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 wrapNonNullInstance(((AccessibilityWindowInfo) mInfo).getParent());"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityWindowInfoCompat.java"
- line="141"
- column="74"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.accessibility.AccessibilityWindowInfoCompat 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 ((AccessibilityWindowInfo) mInfo).getId();"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityWindowInfoCompat.java"
- line="154"
- column="54"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.accessibility.AccessibilityWindowInfoCompat 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=" ((AccessibilityWindowInfo) mInfo).getBoundsInScreen(outBounds);"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityWindowInfoCompat.java"
- line="167"
- column="47"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.accessibility.AccessibilityWindowInfoCompat 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 ((AccessibilityWindowInfo) mInfo).isActive();"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityWindowInfoCompat.java"
- line="180"
- column="54"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.accessibility.AccessibilityWindowInfoCompat 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 ((AccessibilityWindowInfo) mInfo).isFocused();"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityWindowInfoCompat.java"
- line="193"
- column="54"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.accessibility.AccessibilityWindowInfoCompat 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 ((AccessibilityWindowInfo) mInfo).isAccessibilityFocused();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityWindowInfoCompat.java"
- line="206"
- column="54"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.accessibility.AccessibilityWindowInfoCompat 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 ((AccessibilityWindowInfo) mInfo).getChildCount();"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityWindowInfoCompat.java"
- line="219"
- column="54"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.accessibility.AccessibilityWindowInfoCompat 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 wrapNonNullInstance(((AccessibilityWindowInfo) mInfo).getChild(index));"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityWindowInfoCompat.java"
- line="233"
- column="74"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.view.accessibility.AccessibilityWindowInfoCompat 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 ((AccessibilityWindowInfo) mInfo).getTitle();"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityWindowInfoCompat.java"
- line="247"
- column="54"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.view.accessibility.AccessibilityWindowInfoCompat 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=" ((AccessibilityWindowInfo) mInfo).getAnchor());"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityWindowInfoCompat.java"
- line="261"
- column="55"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.accessibility.AccessibilityWindowInfoCompat 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 wrapNonNullInstance(AccessibilityWindowInfo.obtain());"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityWindowInfoCompat.java"
- line="275"
- column="64"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.accessibility.AccessibilityWindowInfoCompat 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=" AccessibilityWindowInfo.obtain((AccessibilityWindowInfo) info.mInfo));"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityWindowInfoCompat.java"
- line="294"
- column="53"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.accessibility.AccessibilityWindowInfoCompat 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=" ((AccessibilityWindowInfo) mInfo).recycle();"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/accessibility/AccessibilityWindowInfoCompat.java"
- line="310"
- column="47"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.ActivityCompat 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=" activity.startActivityForResult(intent, requestCode, options);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/ActivityCompat.java"
- line="237"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.ActivityCompat 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=" activity.startIntentSenderForResult(intent, requestCode, fillInIntent, flagsMask,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/ActivityCompat.java"
- line="274"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.ActivityCompat 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=" activity.finishAffinity();"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/ActivityCompat.java"
- line="291"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.app.ActivityCompat 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=" activity.finishAfterTransition();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/ActivityCompat.java"
- line="308"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 22, the call containing class androidx.core.app.ActivityCompat is not annotated with @RequiresApi(x) where x is at least 22. Either annotate the containing class with at least @RequiresApi(22) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(22)."
- errorLine1=" return activity.getReferrer();"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/ActivityCompat.java"
- line="333"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.app.ActivityCompat 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 activity.requireViewById(id);"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/ActivityCompat.java"
- line="366"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.app.ActivityCompat 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=" activity.setEnterSharedElementCallback(frameworkCallback);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/ActivityCompat.java"
- line="390"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.app.ActivityCompat 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=" activity.setExitSharedElementCallback(frameworkCallback);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/ActivityCompat.java"
- line="409"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.app.ActivityCompat 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=" activity.postponeEnterTransition();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/ActivityCompat.java"
- line="415"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.app.ActivityCompat 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=" activity.startPostponedEnterTransition();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/ActivityCompat.java"
- line="421"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.app.ActivityCompat 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=" activity.requestPermissions(permissions, requestCode);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/ActivityCompat.java"
- line="516"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.app.ActivityCompat 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=" return activity.shouldShowRequestPermissionRationale(permission);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/ActivityCompat.java"
- line="553"
- column="29"/>
- </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=" listener.onSharedElementsReady();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/ActivityCompat.java"
- line="697"
- column="38"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.app.ActivityManagerCompat 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=" return activityManager.isLowRamDevice();"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/ActivityManagerCompat.java"
- line="41"
- column="36"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.ActivityOptionsCompat 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=" return new ActivityOptionsCompatImpl(ActivityOptions.makeCustomAnimation(context,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/ActivityOptionsCompat.java"
- line="69"
- column="66"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.ActivityOptionsCompat 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=" return new ActivityOptionsCompatImpl(ActivityOptions.makeScaleUpAnimation("
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/ActivityOptionsCompat.java"
- line="99"
- column="66"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.app.ActivityOptionsCompat 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=" return new ActivityOptionsCompatImpl(ActivityOptions.makeClipRevealAnimation("
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/ActivityOptionsCompat.java"
- line="123"
- column="66"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.ActivityOptionsCompat 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=" return new ActivityOptionsCompatImpl(ActivityOptions.makeThumbnailScaleUpAnimation("
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/ActivityOptionsCompat.java"
- line="152"
- column="66"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.app.ActivityOptionsCompat 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 ActivityOptionsCompatImpl(ActivityOptions.makeSceneTransitionAnimation("
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/ActivityOptionsCompat.java"
- line="180"
- column="66"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.app.ActivityOptionsCompat 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=" ActivityOptions.makeSceneTransitionAnimation(activity, pairs));"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/ActivityOptionsCompat.java"
- line="217"
- column="37"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.app.ActivityOptionsCompat 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 ActivityOptionsCompatImpl(ActivityOptions.makeTaskLaunchBehind());"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/ActivityOptionsCompat.java"
- line="235"
- column="66"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.app.ActivityOptionsCompat 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=" return new ActivityOptionsCompatImpl(ActivityOptions.makeBasic());"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/ActivityOptionsCompat.java"
- line="247"
- column="66"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.app.ActivityOptionsCompat.ActivityOptionsCompatImpl 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=" mActivityOptions.requestUsageTimeReport(receiver);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/ActivityOptionsCompat.java"
- line="277"
- column="34"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.app.ActivityOptionsCompat.ActivityOptionsCompatImpl 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=" mActivityOptions.setLaunchBounds(screenSpacePixelRect));"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/ActivityOptionsCompat.java"
- line="288"
- column="38"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.app.ActivityOptionsCompat.ActivityOptionsCompatImpl 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 mActivityOptions.getLaunchBounds();"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/ActivityOptionsCompat.java"
- line="296"
- column="37"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.app.AlarmManagerCompat 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=" alarmManager.setAlarmClock(new AlarmManager.AlarmClockInfo(triggerTime, showIntent),"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/AlarmManagerCompat.java"
- line="60"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.app.AlarmManagerCompat 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=" alarmManager.setAlarmClock(new AlarmManager.AlarmClockInfo(triggerTime, showIntent),"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/AlarmManagerCompat.java"
- line="60"
- column="40"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.app.AlarmManagerCompat 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=" alarmManager.setAndAllowWhileIdle(type, triggerAtMillis, operation);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/AlarmManagerCompat.java"
- line="118"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.app.AlarmManagerCompat 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=" alarmManager.setExact(type, triggerAtMillis, operation);"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/AlarmManagerCompat.java"
- line="163"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.app.AlarmManagerCompat 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=" alarmManager.setExactAndAllowWhileIdle(type, triggerAtMillis, operation);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/AlarmManagerCompat.java"
- line="223"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.app.AppOpsManagerCompat 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=" return AppOpsManager.permissionToOp(permission);"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/AppOpsManagerCompat.java"
- line="76"
- column="34"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.app.AppOpsManagerCompat 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=" return appOpsManager.noteOp(op, uid, packageName);"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/core/app/AppOpsManagerCompat.java"
- line="107"
- column="34"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.app.AppOpsManagerCompat 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=" return appOpsManager.noteOpNoThrow(op, uid, packageName);"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/AppOpsManagerCompat.java"
- line="127"
- column="34"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.app.AppOpsManagerCompat 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=" AppOpsManager appOpsManager = context.getSystemService(AppOpsManager.class);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/AppOpsManagerCompat.java"
- line="157"
- column="51"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.app.AppOpsManagerCompat 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=" return appOpsManager.noteProxyOp(op, proxiedPackageName);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/AppOpsManagerCompat.java"
- line="158"
- column="34"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.app.AppOpsManagerCompat 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=" AppOpsManager appOpsManager = context.getSystemService(AppOpsManager.class);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/AppOpsManagerCompat.java"
- line="176"
- column="51"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.app.AppOpsManagerCompat 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=" return appOpsManager.noteProxyOpNoThrow(op, proxiedPackageName);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/AppOpsManagerCompat.java"
- line="177"
- column="34"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.graphics.BitmapCompat 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 bitmap.hasMipMap();"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/BitmapCompat.java"
- line="29"
- column="27"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.graphics.BitmapCompat 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=" bitmap.setHasMipMap(hasMipMap);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/BitmapCompat.java"
- line="36"
- column="20"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.graphics.BitmapCompat 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=" return bitmap.getAllocationByteCount();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/BitmapCompat.java"
- line="49"
- column="27"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.core.graphics.BlendModeColorFilterCompat 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 BlendModeColorFilter(color, blendMode) : null;"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/BlendModeColorFilterCompat.java"
- line="45"
- column="23"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.core.app.BundleCompat 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=" return bundle.getBinder(key);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/BundleCompat.java"
- line="106"
- column="27"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.core.app.BundleCompat 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=" bundle.putBinder(key, binder);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/BundleCompat.java"
- line="122"
- column="20"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.os.CancellationSignal 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=" ((android.os.CancellationSignal) obj).cancel();"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/core/os/CancellationSignal.java"
- line="84"
- column="55"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.os.CancellationSignal 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=" mCancellationSignalObj = new android.os.CancellationSignal();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/os/CancellationSignal.java"
- line="143"
- column="42"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.os.CancellationSignal 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=" ((android.os.CancellationSignal) mCancellationSignalObj).cancel();"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/core/os/CancellationSignal.java"
- line="145"
- column="78"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.graphics.ColorUtils 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=" if (!Objects.equals(foreground.getModel(), background.getModel())) {"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/ColorUtils.java"
- line="92"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorUtils 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 (!Objects.equals(foreground.getModel(), background.getModel())) {"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/ColorUtils.java"
- line="92"
- column="40"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorUtils 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 (!Objects.equals(foreground.getModel(), background.getModel())) {"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/ColorUtils.java"
- line="92"
- column="63"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorUtils 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=" "Color models must match (" + foreground.getModel() + " vs. ""
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/ColorUtils.java"
- line="94"
- column="62"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorUtils 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=" + background.getModel() + ")");"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/ColorUtils.java"
- line="95"
- column="42"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.graphics.ColorUtils 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=" Color s = Objects.equals(background.getColorSpace(), foreground.getColorSpace())"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/ColorUtils.java"
- line="98"
- column="27"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorUtils 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=" Color s = Objects.equals(background.getColorSpace(), foreground.getColorSpace())"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/ColorUtils.java"
- line="98"
- column="45"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorUtils 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=" Color s = Objects.equals(background.getColorSpace(), foreground.getColorSpace())"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/ColorUtils.java"
- line="98"
- column="73"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorUtils 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=" : foreground.convert(background.getColorSpace());"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/ColorUtils.java"
- line="100"
- column="30"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorUtils 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=" : foreground.convert(background.getColorSpace());"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/ColorUtils.java"
- line="100"
- column="49"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorUtils 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=" float[] src = s.getComponents();"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/ColorUtils.java"
- line="102"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorUtils 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=" float[] dst = background.getComponents();"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/ColorUtils.java"
- line="103"
- column="34"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorUtils 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=" float sa = s.alpha();"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/ColorUtils.java"
- line="105"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorUtils 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=" float da = background.alpha() * (1.0f - sa);"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/ColorUtils.java"
- line="107"
- column="31"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorUtils 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=" int ai = background.getComponentCount() - 1;"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/ColorUtils.java"
- line="111"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorUtils 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 Color.valueOf(dst, background.getColorSpace());"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/ColorUtils.java"
- line="127"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.ColorUtils 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 Color.valueOf(dst, background.getColorSpace());"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/ColorUtils.java"
- line="127"
- column="46"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.widget.CompoundButtonCompat 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=" button.setButtonTintList(tint);"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/CompoundButtonCompat.java"
- line="58"
- column="20"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.widget.CompoundButtonCompat 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 button.getButtonTintList();"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/CompoundButtonCompat.java"
- line="72"
- column="27"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.widget.CompoundButtonCompat 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=" button.setButtonTintMode(tintMode);"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/CompoundButtonCompat.java"
- line="94"
- column="20"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.widget.CompoundButtonCompat 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 button.getButtonTintMode();"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/CompoundButtonCompat.java"
- line="108"
- column="27"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.widget.CompoundButtonCompat 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=" return button.getButtonDrawable();"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/CompoundButtonCompat.java"
- line="124"
- column="27"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.os.ConfigurationCompat 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 LocaleListCompat.wrap(configuration.getLocales());"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/os/ConfigurationCompat.java"
- line="42"
- column="56"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.net.ConnectivityManagerCompat 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=" return cm.isActiveNetworkMetered();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/net/ConnectivityManagerCompat.java"
- line="101"
- column="23"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.net.ConnectivityManagerCompat 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 cm.getRestrictBackgroundStatus();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/net/ConnectivityManagerCompat.java"
- line="160"
- column="23"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.content.ContentResolverCompat 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=" return resolver.query(uri, projection, selection, selectionArgs, sortOrder,"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/core/content/ContentResolverCompat.java"
- line="81"
- column="33"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.content.ContextCompat 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=" context.startActivities(intents, options);"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/ContextCompat.java"
- line="224"
- column="21"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.content.ContextCompat 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=" context.startActivity(intent, options);"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/ContextCompat.java"
- line="251"
- column="21"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.content.ContextCompat 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 context.getDataDir();"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/ContextCompat.java"
- line="275"
- column="28"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.content.ContextCompat 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=" return context.getObbDirs();"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/ContextCompat.java"
- line="328"
- column="28"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.content.ContextCompat 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=" return context.getExternalFilesDirs(type);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/ContextCompat.java"
- line="381"
- column="28"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.content.ContextCompat 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=" return context.getExternalCacheDirs();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/ContextCompat.java"
- line="434"
- column="28"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.content.ContextCompat 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 context.getDrawable(id);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/ContextCompat.java"
- line="455"
- column="28"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.content.ContextCompat 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=" return context.getColorStateList(id);"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/ContextCompat.java"
- line="494"
- column="28"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.content.ContextCompat 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=" return context.getColor(id);"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/ContextCompat.java"
- line="517"
- column="28"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.content.ContextCompat 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 context.getNoBackupFilesDir();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/ContextCompat.java"
- line="558"
- column="28"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.content.ContextCompat 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 context.getCodeCacheDir();"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/ContextCompat.java"
- line="582"
- column="28"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.content.ContextCompat 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 context.createDeviceProtectedStorageContext();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/ContextCompat.java"
- line="637"
- column="28"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.content.ContextCompat 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 context.isDeviceProtectedStorage();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/ContextCompat.java"
- line="651"
- column="28"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.content.ContextCompat 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 context.getMainExecutor();"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/ContextCompat.java"
- line="664"
- column="28"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.content.ContextCompat 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=" context.startForegroundService(intent);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/ContextCompat.java"
- line="696"
- column="21"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.content.ContextCompat 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=" return context.getSystemService(serviceClass);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/ContextCompat.java"
- line="716"
- column="28"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.content.ContextCompat 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=" return context.getSystemServiceName(serviceClass);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/ContextCompat.java"
- line="736"
- column="28"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.database.CursorWindowCompat 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 CursorWindow(name, windowSizeBytes);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/database/CursorWindowCompat.java"
- line="43"
- column="20"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 15, the call containing class androidx.core.database.CursorWindowCompat is not annotated with @RequiresApi(x) where x is at least 15. Either annotate the containing class with at least @RequiresApi(15) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(15)."
- errorLine1=" return new CursorWindow(name);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/database/CursorWindowCompat.java"
- line="45"
- column="20"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.app.DialogCompat 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 dialog.requireViewById(id);"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/DialogCompat.java"
- line="56"
- column="27"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.view.DisplayCompat.ModeCompat 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=" mPhysicalSize = new Point(mode.getPhysicalWidth(), mode.getPhysicalHeight());"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/DisplayCompat.java"
- line="346"
- column="44"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.view.DisplayCompat.ModeCompat 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=" mPhysicalSize = new Point(mode.getPhysicalWidth(), mode.getPhysicalHeight());"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/DisplayCompat.java"
- line="346"
- column="69"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.view.DisplayCutoutCompat 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=" this(SDK_INT >= 28 ? new DisplayCutout(safeInsets, boundingRects) : null);"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/DisplayCutoutCompat.java"
- line="56"
- column="30"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.core.view.DisplayCutoutCompat 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 DisplayCutout(safeInsets.toPlatformInsets(), boundLeft,"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/DisplayCutoutCompat.java"
- line="88"
- column="20"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.view.DisplayCutoutCompat 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 DisplayCutout(safeInsetRect, boundingRects);"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/DisplayCutoutCompat.java"
- line="106"
- column="20"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.view.DisplayCutoutCompat 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 ((DisplayCutout) mDisplayCutout).getSafeInsetTop();"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/DisplayCutoutCompat.java"
- line="119"
- column="53"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.view.DisplayCutoutCompat 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 ((DisplayCutout) mDisplayCutout).getSafeInsetBottom();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/DisplayCutoutCompat.java"
- line="128"
- column="53"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.view.DisplayCutoutCompat 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 ((DisplayCutout) mDisplayCutout).getSafeInsetLeft();"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/DisplayCutoutCompat.java"
- line="137"
- column="53"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.view.DisplayCutoutCompat 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 ((DisplayCutout) mDisplayCutout).getSafeInsetRight();"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/DisplayCutoutCompat.java"
- line="146"
- column="53"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.view.DisplayCutoutCompat 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 ((DisplayCutout) mDisplayCutout).getBoundingRects();"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/DisplayCutoutCompat.java"
- line="164"
- column="53"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.hardware.display.DisplayManagerCompat 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=" .getDisplay(displayId);"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/hardware/display/DisplayManagerCompat.java"
- line="86"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.hardware.display.DisplayManagerCompat 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=" .getDisplays();"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/hardware/display/DisplayManagerCompat.java"
- line="106"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.hardware.display.DisplayManagerCompat 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=" .getDisplays(category);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/hardware/display/DisplayManagerCompat.java"
- line="135"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.view.DragAndDropPermissionsCompat 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=" activity.requestDragAndDropPermissions(dragEvent);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/DragAndDropPermissionsCompat.java"
- line="52"
- column="30"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.view.DragAndDropPermissionsCompat 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=" ((DragAndDropPermissions) mDragAndDropPermissions).release();"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/DragAndDropPermissionsCompat.java"
- line="65"
- column="64"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.graphics.drawable.DrawableCompat 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=" drawable.setAutoMirrored(mirrored);"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/drawable/DrawableCompat.java"
- line="79"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.graphics.drawable.DrawableCompat 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=" return drawable.isAutoMirrored();"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/drawable/DrawableCompat.java"
- line="96"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.graphics.drawable.DrawableCompat 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=" drawable.setHotspot(x, y);"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/drawable/DrawableCompat.java"
- line="111"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.graphics.drawable.DrawableCompat 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=" drawable.setHotspotBounds(left, top, right, bottom);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/drawable/DrawableCompat.java"
- line="124"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.graphics.drawable.DrawableCompat 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=" drawable.setTint(tint);"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/drawable/DrawableCompat.java"
- line="136"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.graphics.drawable.DrawableCompat 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=" drawable.setTintList(tint);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/drawable/DrawableCompat.java"
- line="150"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.graphics.drawable.DrawableCompat 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=" drawable.setTintMode(tintMode);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/drawable/DrawableCompat.java"
- line="164"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.graphics.drawable.DrawableCompat 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=" return drawable.getAlpha();"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/drawable/DrawableCompat.java"
- line="178"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.graphics.drawable.DrawableCompat 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=" drawable.applyTheme(theme);"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/drawable/DrawableCompat.java"
- line="189"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.graphics.drawable.DrawableCompat 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 drawable.canApplyTheme();"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/drawable/DrawableCompat.java"
- line="198"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.graphics.drawable.DrawableCompat 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 drawable.getColorFilter();"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/drawable/DrawableCompat.java"
- line="211"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.graphics.drawable.DrawableCompat 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=" clearColorFilter(((InsetDrawable) drawable).getDrawable());"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/drawable/DrawableCompat.java"
- line="232"
- column="61"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.graphics.drawable.DrawableCompat 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=" child = state.getChild(i);"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/drawable/DrawableCompat.java"
- line="242"
- column="39"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.graphics.drawable.DrawableCompat 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=" drawable.inflate(res, parser, attrs, theme);"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/drawable/DrawableCompat.java"
- line="269"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.graphics.drawable.DrawableCompat 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=" return drawable.setLayoutDirection(layoutDirection);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/drawable/DrawableCompat.java"
- line="355"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.graphics.drawable.DrawableCompat 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=" return drawable.getLayoutDirection();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/drawable/DrawableCompat.java"
- line="392"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.widget.EdgeEffectCompat 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=" edgeEffect.onPull(deltaDistance, displacement);"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/EdgeEffectCompat.java"
- line="153"
- column="24"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.os.EnvironmentCompat 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 Environment.getExternalStorageState(path);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/os/EnvironmentCompat.java"
- line="60"
- column="32"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.os.EnvironmentCompat 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=" return Environment.getStorageState(path);"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/os/EnvironmentCompat.java"
- line="62"
- column="32"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.content.FileProvider 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=" File[] externalMediaDirs = context.getExternalMediaDirs();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/FileProvider.java"
- line="702"
- column="56"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.hardware.fingerprint.FingerprintManagerCompat 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=" return (fp != null) && fp.hasEnrolledFingerprints();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/hardware/fingerprint/FingerprintManagerCompat.java"
- line="68"
- column="39"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.hardware.fingerprint.FingerprintManagerCompat 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=" return (fp != null) && fp.isHardwareDetected();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/hardware/fingerprint/FingerprintManagerCompat.java"
- line="83"
- column="39"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.hardware.fingerprint.FingerprintManagerCompat 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=" fp.authenticate("
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/hardware/fingerprint/FingerprintManagerCompat.java"
- line="113"
- column="20"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.hardware.fingerprint.FingerprintManagerCompat 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=" return context.getSystemService(FingerprintManager.class);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/hardware/fingerprint/FingerprintManagerCompat.java"
- line="127"
- column="28"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.hardware.fingerprint.FingerprintManagerCompat 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=" return context.getSystemService(FingerprintManager.class);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/hardware/fingerprint/FingerprintManagerCompat.java"
- line="130"
- column="28"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.hardware.fingerprint.FingerprintManagerCompat 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=" return new FingerprintManager.CryptoObject(cryptoObject.getCipher());"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/hardware/fingerprint/FingerprintManagerCompat.java"
- line="141"
- column="20"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.hardware.fingerprint.FingerprintManagerCompat 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=" return new FingerprintManager.CryptoObject(cryptoObject.getSignature());"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/hardware/fingerprint/FingerprintManagerCompat.java"
- line="143"
- column="20"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.hardware.fingerprint.FingerprintManagerCompat 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=" return new FingerprintManager.CryptoObject(cryptoObject.getMac());"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/hardware/fingerprint/FingerprintManagerCompat.java"
- line="145"
- column="20"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.hardware.fingerprint.FingerprintManagerCompat 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=" } else if (cryptoObject.getCipher() != null) {"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/hardware/fingerprint/FingerprintManagerCompat.java"
- line="155"
- column="33"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.hardware.fingerprint.FingerprintManagerCompat 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=" return new CryptoObject(cryptoObject.getCipher());"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/hardware/fingerprint/FingerprintManagerCompat.java"
- line="156"
- column="50"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.hardware.fingerprint.FingerprintManagerCompat 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=" } else if (cryptoObject.getSignature() != null) {"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/hardware/fingerprint/FingerprintManagerCompat.java"
- line="157"
- column="33"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.hardware.fingerprint.FingerprintManagerCompat 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=" return new CryptoObject(cryptoObject.getSignature());"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/hardware/fingerprint/FingerprintManagerCompat.java"
- line="158"
- column="50"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.hardware.fingerprint.FingerprintManagerCompat 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=" } else if (cryptoObject.getMac() != null) {"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/core/hardware/fingerprint/FingerprintManagerCompat.java"
- line="159"
- column="33"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.hardware.fingerprint.FingerprintManagerCompat 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=" return new CryptoObject(cryptoObject.getMac());"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/core/hardware/fingerprint/FingerprintManagerCompat.java"
- line="160"
- column="50"/>
- </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=" unwrapCryptoObject(result.getCryptoObject())));"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/hardware/fingerprint/FingerprintManagerCompat.java"
- line="183"
- column="51"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.content.res.FontResourcesParserCompat 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 typedArray.getType(index);"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/res/FontResourcesParserCompat.java"
- line="231"
- column="31"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.provider.FontsContractCompat 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=" cursor = context.getContentResolver().query(uri, new String[] {"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/core/provider/FontsContractCompat.java"
- line="836"
- column="55"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class null 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=" frameMetrics.getMetric(android.view.FrameMetrics.TOTAL_DURATION));"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/FrameMetricsAggregator.java"
- line="355"
- column="42"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class null 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=" frameMetrics.getMetric("
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/FrameMetricsAggregator.java"
- line="359"
- column="42"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class null 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=" frameMetrics.getMetric("
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/FrameMetricsAggregator.java"
- line="364"
- column="42"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class null 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=" frameMetrics.getMetric(android.view.FrameMetrics.DRAW_DURATION));"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/FrameMetricsAggregator.java"
- line="369"
- column="42"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class null 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=" frameMetrics.getMetric(android.view.FrameMetrics.SYNC_DURATION));"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/FrameMetricsAggregator.java"
- line="373"
- column="42"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class null 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=" frameMetrics.getMetric("
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/FrameMetricsAggregator.java"
- line="377"
- column="42"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class null 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=" frameMetrics.getMetric("
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/FrameMetricsAggregator.java"
- line="382"
- column="42"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class null 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=" frameMetrics.getMetric("
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/FrameMetricsAggregator.java"
- line="387"
- column="42"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class null 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=" frameMetrics.getMetric("
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/FrameMetricsAggregator.java"
- line="392"
- column="42"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.location.GnssStatusWrapper 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 mWrapped.hasCarrierFrequencyHz(satelliteIndex);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/location/GnssStatusWrapper.java"
- line="89"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.location.GnssStatusWrapper 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 mWrapped.getCarrierFrequencyHz(satelliteIndex);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/location/GnssStatusWrapper.java"
- line="98"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.view.GravityCompat 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=" Gravity.apply(gravity, w, h, container, outRect, layoutDirection);"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/core/view/GravityCompat.java"
- line="65"
- column="21"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.view.GravityCompat 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=" Gravity.apply(gravity, w, h, container, xAdj, yAdj, outRect, layoutDirection);"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/core/view/GravityCompat.java"
- line="99"
- column="21"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.view.GravityCompat 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=" Gravity.applyDisplay(gravity, display, inoutObj, layoutDirection);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/GravityCompat.java"
- line="127"
- column="21"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.os.HandlerCompat 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 Handler.createAsync(looper);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/os/HandlerCompat.java"
- line="52"
- column="28"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.os.HandlerCompat 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 Handler.createAsync(looper, callback);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/os/HandlerCompat.java"
- line="93"
- column="28"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.os.HandlerCompat 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 handler.postDelayed(r, token, delayMillis);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/os/HandlerCompat.java"
- line="144"
- column="28"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.text.HtmlCompat 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 Html.fromHtml(source, flags);"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/HtmlCompat.java"
- line="148"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.text.HtmlCompat 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 Html.fromHtml(source, flags, imageGetter, tagHandler);"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/HtmlCompat.java"
- line="163"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.text.HtmlCompat 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 Html.toHtml(text, options);"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/core/text/HtmlCompat.java"
- line="176"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.text.ICUCompat 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=" ULocale uLocale = ULocale.addLikelySubtags(ULocale.forLocale(locale));"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/ICUCompat.java"
- line="90"
- column="39"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.text.ICUCompat 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=" ULocale uLocale = ULocale.addLikelySubtags(ULocale.forLocale(locale));"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/ICUCompat.java"
- line="90"
- column="64"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.text.ICUCompat 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 uLocale.getScript();"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/ICUCompat.java"
- line="91"
- column="28"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.text.ICUCompat 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 ((Locale) sAddLikelySubtagsMethod.invoke(null, args)).getScript();"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/ICUCompat.java"
- line="95"
- column="78"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.text.ICUCompat 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 locale.getScript();"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/ICUCompat.java"
- line="101"
- column="27"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.graphics.drawable.IconCompat 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=" icon = Icon.createWithBitmap((Bitmap) mObj1);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/drawable/IconCompat.java"
- line="546"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.drawable.IconCompat 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 = Icon.createWithAdaptiveBitmap((Bitmap) mObj1);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/drawable/IconCompat.java"
- line="550"
- column="33"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.graphics.drawable.IconCompat 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=" icon = Icon.createWithBitmap("
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/drawable/IconCompat.java"
- line="552"
- column="33"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.graphics.drawable.IconCompat 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=" icon = Icon.createWithResource(getResPackage(), mInt1);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/drawable/IconCompat.java"
- line="557"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.graphics.drawable.IconCompat 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=" icon = Icon.createWithData((byte[]) mObj1, mInt1, mInt2);"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/drawable/IconCompat.java"
- line="560"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.graphics.drawable.IconCompat 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=" icon = Icon.createWithContentUri((String) mObj1);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/drawable/IconCompat.java"
- line="563"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.drawable.IconCompat 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 = Icon.createWithAdaptiveBitmap(BitmapFactory.decodeStream(is));"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/drawable/IconCompat.java"
- line="580"
- column="33"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.graphics.drawable.IconCompat 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=" icon = Icon.createWithBitmap(createLegacyIconFromAdaptiveIcon("
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/drawable/IconCompat.java"
- line="582"
- column="33"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.graphics.drawable.IconCompat 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=" icon.setTintList(mTintList);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/drawable/IconCompat.java"
- line="590"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.graphics.drawable.IconCompat 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=" icon.setTintMode(mTintMode);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/drawable/IconCompat.java"
- line="593"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.graphics.drawable.IconCompat 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=" return toIcon(context).loadDrawable(context);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/drawable/IconCompat.java"
- line="641"
- column="36"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.drawable.IconCompat 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 new AdaptiveIconDrawable(null,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/drawable/IconCompat.java"
- line="694"
- column="32"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.graphics.drawable.IconCompat 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 icon.getType();"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/drawable/IconCompat.java"
- line="1101"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.graphics.drawable.IconCompat 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 icon.getResPackage();"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/drawable/IconCompat.java"
- line="1129"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.graphics.drawable.IconCompat 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 icon.getResId();"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/drawable/IconCompat.java"
- line="1158"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.graphics.drawable.IconCompat 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 icon.getUri();"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/drawable/IconCompat.java"
- line="1186"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.widget.ImageViewCompat 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 view.getImageTintList();"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/ImageViewCompat.java"
- line="38"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.widget.ImageViewCompat 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=" view.setImageTintList(tintList);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/ImageViewCompat.java"
- line="51"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.widget.ImageViewCompat 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 ((imageViewDrawable != null) && (view.getImageTintList() != null)) {"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/ImageViewCompat.java"
- line="57"
- column="58"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.widget.ImageViewCompat 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 view.getImageTintMode();"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/ImageViewCompat.java"
- line="75"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.widget.ImageViewCompat 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=" view.setImageTintMode(mode);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/ImageViewCompat.java"
- line="89"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.widget.ImageViewCompat 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 ((imageViewDrawable != null) && (view.getImageTintList() != null)) {"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/ImageViewCompat.java"
- line="95"
- column="58"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.view.inputmethod.InputConnectionCompat is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" return inputConnection.commitContent("
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/inputmethod/InputConnectionCompat.java"
- line="145"
- column="36"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.core.graphics.Insets 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 android.graphics.Insets.of(left, top, right, bottom);"
- errorLine2=" ~~">
- <location
- file="src/main/java/androidx/core/graphics/Insets.java"
- line="196"
- column="40"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 15, the call containing class androidx.core.content.IntentCompat is not annotated with @RequiresApi(x) where x is at least 15. Either annotate the containing class with at least @RequiresApi(15) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(15)."
- errorLine1=" return Intent.makeMainSelectorActivity(selectorAction, selectorCategory);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/IntentCompat.java"
- line="108"
- column="27"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.JobIntentService.JobServiceEngineImpl.WrapperWorkItem 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 mJobWork.getIntent();"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/JobIntentService.java"
- line="260"
- column="33"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.JobIntentService.JobServiceEngineImpl.WrapperWorkItem 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=" mParams.completeWork(mJobWork);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/JobIntentService.java"
- line="267"
- column="33"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.text.util.LinkifyCompat 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=" Linkify.addLinks(text, pattern, defaultScheme, schemes, matchFilter, transformFilter);"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/util/LinkifyCompat.java"
- line="260"
- column="21"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.text.util.LinkifyCompat 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 Linkify.addLinks(spannable, pattern, defaultScheme, schemes, matchFilter,"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/util/LinkifyCompat.java"
- line="336"
- column="28"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.widget.ListPopupWindowCompat 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=" return listPopupWindow.createDragToOpenListener(src);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/ListPopupWindowCompat.java"
- line="98"
- column="36"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.widget.ListViewCompat 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=" listView.scrollListBy(y);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/ListViewCompat.java"
- line="39"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.widget.ListViewCompat 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=" return listView.canScrollList(direction);"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/ListViewCompat.java"
- line="69"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.os.LocaleListCompat 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 wrap(new LocaleList(localeList));"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/os/LocaleListCompat.java"
- line="74"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.os.LocaleListCompat 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=" ? Locale.forLanguageTag(tags[i])"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/os/LocaleListCompat.java"
- line="165"
- column="34"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.os.LocaleListCompat 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 LocaleListCompat.wrap(LocaleList.getAdjustedDefault());"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/os/LocaleListCompat.java"
- line="206"
- column="53"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.os.LocaleListCompat 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 LocaleListCompat.wrap(LocaleList.getDefault());"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/os/LocaleListCompat.java"
- line="226"
- column="53"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.os.LocaleListCompatWrapper 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 String script = locale.getScript();"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/os/LocaleListCompatWrapper.java"
- line="163"
- column="42"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.location.LocationManagerCompat 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 locationManager.isLocationEnabled();"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/location/LocationManagerCompat.java"
- line="71"
- column="36"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.location.LocationManagerCompat 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=" if (locationManager.registerGnssStatusCallback(transport, baseHandler)) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/location/LocationManagerCompat.java"
- line="189"
- column="37"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.location.LocationManagerCompat 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=" locationManager.unregisterGnssStatusCallback(transport);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/location/LocationManagerCompat.java"
- line="274"
- column="37"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.location.LocationManagerCompat 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=" locationManager.unregisterGnssStatusCallback(transport);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/location/LocationManagerCompat.java"
- line="283"
- column="37"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.view.MarginLayoutParamsCompat 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 lp.getMarginStart();"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/MarginLayoutParamsCompat.java"
- line="43"
- column="23"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.view.MarginLayoutParamsCompat 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 lp.getMarginEnd();"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/MarginLayoutParamsCompat.java"
- line="62"
- column="23"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.view.MarginLayoutParamsCompat 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=" lp.setMarginStart(marginStart);"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/MarginLayoutParamsCompat.java"
- line="81"
- column="16"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.view.MarginLayoutParamsCompat 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=" lp.setMarginEnd(marginEnd);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/MarginLayoutParamsCompat.java"
- line="100"
- column="16"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.view.MarginLayoutParamsCompat 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 lp.isMarginRelative();"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/MarginLayoutParamsCompat.java"
- line="113"
- column="23"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.view.MarginLayoutParamsCompat 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=" result = lp.getLayoutDirection();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/MarginLayoutParamsCompat.java"
- line="128"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.view.MarginLayoutParamsCompat 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=" lp.setLayoutDirection(layoutDirection);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/MarginLayoutParamsCompat.java"
- line="151"
- column="16"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.view.MarginLayoutParamsCompat 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=" lp.resolveLayoutDirection(layoutDirection);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/MarginLayoutParamsCompat.java"
- line="162"
- column="16"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.telephony.mbms.MbmsHelper 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=" LocaleList localeList = context.getResources().getConfiguration().getLocales();"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/telephony/mbms/MbmsHelper.java"
- line="60"
- column="75"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.telephony.mbms.MbmsHelper 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=" int numLanguagesSupportedByService = serviceInfo.getNamedContentLocales().size();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/telephony/mbms/MbmsHelper.java"
- line="62"
- column="58"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.telephony.mbms.MbmsHelper 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=" for (Locale l : serviceInfo.getNamedContentLocales()) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/telephony/mbms/MbmsHelper.java"
- line="69"
- column="37"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.telephony.mbms.MbmsHelper 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=" supportedLanguages[i] = l.toLanguageTag();"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/telephony/mbms/MbmsHelper.java"
- line="70"
- column="39"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.telephony.mbms.MbmsHelper 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=" Locale bestLocale = localeList.getFirstMatch(supportedLanguages);"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/telephony/mbms/MbmsHelper.java"
- line="74"
- column="40"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.telephony.mbms.MbmsHelper 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 bestLocale == null ? null : serviceInfo.getNameForLocale(bestLocale);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/telephony/mbms/MbmsHelper.java"
- line="75"
- column="56"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.view.MenuCompat 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=" menu.setGroupDividerEnabled(enabled);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/MenuCompat.java"
- line="51"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.view.MenuItemCompat 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(contentDescription);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/MenuItemCompat.java"
- line="325"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.view.MenuItemCompat 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 item.getContentDescription();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/MenuItemCompat.java"
- line="339"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.view.MenuItemCompat 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.setTooltipText(tooltipText);"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/MenuItemCompat.java"
- line="354"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.view.MenuItemCompat 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 item.getTooltipText();"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/MenuItemCompat.java"
- line="368"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.view.MenuItemCompat 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.setShortcut(numericChar, alphaChar, numericModifiers, alphaModifiers);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/MenuItemCompat.java"
- line="401"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.view.MenuItemCompat 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.setNumericShortcut(numericChar, numericModifiers);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/MenuItemCompat.java"
- line="421"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.view.MenuItemCompat 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 item.getNumericModifiers();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/MenuItemCompat.java"
- line="440"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.view.MenuItemCompat 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.setAlphabeticShortcut(alphaChar, alphaModifiers);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/MenuItemCompat.java"
- line="466"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.view.MenuItemCompat 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 item.getAlphabeticModifiers();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/MenuItemCompat.java"
- line="485"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.view.MenuItemCompat 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.setIconTintList(tint);"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/MenuItemCompat.java"
- line="506"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.view.MenuItemCompat 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 item.getIconTintList();"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/MenuItemCompat.java"
- line="519"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.view.MenuItemCompat 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.setIconTintMode(tintMode);"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/MenuItemCompat.java"
- line="537"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.view.MenuItemCompat 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 item.getIconTintMode();"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/MenuItemCompat.java"
- line="552"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 22, the call containing class androidx.core.os.MessageCompat is not annotated with @RequiresApi(x) where x is at least 22. Either annotate the containing class with at least @RequiresApi(22) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(22)."
- errorLine1=" message.setAsynchronous(async);"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/os/MessageCompat.java"
- line="72"
- column="21"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 22, the call containing class androidx.core.os.MessageCompat is not annotated with @RequiresApi(x) where x is at least 22. Either annotate the containing class with at least @RequiresApi(22) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(22)."
- errorLine1=" message.setAsynchronous(async);"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/os/MessageCompat.java"
- line="79"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 22, the call containing class androidx.core.os.MessageCompat is not annotated with @RequiresApi(x) where x is at least 22. Either annotate the containing class with at least @RequiresApi(22) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(22)."
- errorLine1=" return message.isAsynchronous();"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/os/MessageCompat.java"
- line="98"
- column="28"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 22, the call containing class androidx.core.os.MessageCompat is not annotated with @RequiresApi(x) where x is at least 22. Either annotate the containing class with at least @RequiresApi(22) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(22)."
- errorLine1=" return message.isAsynchronous();"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/os/MessageCompat.java"
- line="104"
- column="32"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.NavUtils 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=" return sourceActivity.shouldUpRecreateTask(targetIntent);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NavUtils.java"
- line="61"
- column="35"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.NavUtils 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=" sourceActivity.navigateUpTo(upIntent);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NavUtils.java"
- line="109"
- column="28"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.NavUtils 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=" Intent result = sourceActivity.getParentActivityIntent();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NavUtils.java"
- line="132"
- column="44"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.widget.NestedScrollView 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 (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP || getClipToPadding()) {"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/NestedScrollView.java"
- line="2007"
- column="77"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.widget.NestedScrollView 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 (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP && getClipToPadding()) {"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/NestedScrollView.java"
- line="2011"
- column="78"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.widget.NestedScrollView 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 (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP || getClipToPadding()) {"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/NestedScrollView.java"
- line="2028"
- column="77"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.widget.NestedScrollView 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 (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP && getClipToPadding()) {"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/NestedScrollView.java"
- line="2032"
- column="78"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationChannelCompat 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=" this(channel.getId(), channel.getImportance());"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
- line="284"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationChannelCompat 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=" this(channel.getId(), channel.getImportance());"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
- line="284"
- column="39"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationChannelCompat 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=" mName = channel.getName();"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
- line="286"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationChannelCompat 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=" mDescription = channel.getDescription();"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
- line="287"
- column="32"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationChannelCompat 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=" mGroupId = channel.getGroup();"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
- line="288"
- column="28"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationChannelCompat 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=" mShowBadge = channel.canShowBadge();"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
- line="289"
- column="30"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationChannelCompat 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=" mSound = channel.getSound();"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
- line="290"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationChannelCompat 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=" mAudioAttributes = channel.getAudioAttributes();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
- line="291"
- column="36"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationChannelCompat 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=" mLights = channel.shouldShowLights();"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
- line="292"
- column="27"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationChannelCompat 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=" mLightColor = channel.getLightColor();"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
- line="293"
- column="31"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationChannelCompat 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=" mVibrationEnabled = channel.shouldVibrate();"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
- line="294"
- column="37"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationChannelCompat 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=" mVibrationPattern = channel.getVibrationPattern();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
- line="295"
- column="37"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationChannelCompat 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=" mBypassDnd = channel.canBypassDnd();"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
- line="301"
- column="30"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationChannelCompat 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=" mLockscreenVisibility = channel.getLockscreenVisibility();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
- line="302"
- column="41"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.core.app.NotificationChannelCompat 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=" mCanBubble = channel.canBubble();"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
- line="304"
- column="34"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationChannelCompat 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=" NotificationChannel channel = new NotificationChannel(mId, mName, mImportance);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
- line="320"
- column="39"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationChannelCompat 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=" channel.setDescription(mDescription);"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
- line="321"
- column="17"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationChannelCompat 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=" channel.setGroup(mGroupId);"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
- line="322"
- column="17"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationChannelCompat 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=" channel.setShowBadge(mShowBadge);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
- line="323"
- column="17"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationChannelCompat 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=" channel.setSound(mSound, mAudioAttributes);"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
- line="324"
- column="17"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationChannelCompat 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=" channel.enableLights(mLights);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
- line="325"
- column="17"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationChannelCompat 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=" channel.setLightColor(mLightColor);"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
- line="326"
- column="17"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationChannelCompat 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=" channel.setVibrationPattern(mVibrationPattern);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
- line="327"
- column="17"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationChannelCompat 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=" channel.enableVibration(mVibrationEnabled);"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationChannelCompat.java"
- line="328"
- column="17"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationChannelGroupCompat 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=" this(group.getId());"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationChannelGroupCompat.java"
- line="115"
- column="20"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationChannelGroupCompat 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=" mName = group.getName();"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationChannelGroupCompat.java"
- line="117"
- column="23"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.app.NotificationChannelGroupCompat 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=" mDescription = group.getDescription();"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationChannelGroupCompat.java"
- line="119"
- column="34"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.app.NotificationChannelGroupCompat 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=" mBlocked = group.isBlocked();"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationChannelGroupCompat.java"
- line="123"
- column="30"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationChannelGroupCompat 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=" mChannels = getChannelsCompat(group.getChannels());"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationChannelGroupCompat.java"
- line="124"
- column="49"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationChannelGroupCompat 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 (mId.equals(channel.getGroup())) {"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationChannelGroupCompat.java"
- line="136"
- column="36"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationChannelGroupCompat 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=" NotificationChannelGroup group = new NotificationChannelGroup(mId, mName);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationChannelGroupCompat.java"
- line="152"
- column="42"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.app.NotificationChannelGroupCompat 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=" group.setDescription(mDescription);"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationChannelGroupCompat.java"
- line="154"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.app.NotificationCompat.Builder 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=" this.mSmallIcon = notification.getSmallIcon();"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="959"
- column="48"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.app.NotificationCompat.Builder 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=" mNotification.audioAttributes = new AudioAttributes.Builder()"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="1466"
- column="49"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.app.NotificationCompat.Builder 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=" .setContentType(AudioAttributes.CONTENT_TYPE_SONIFICATION)"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="1467"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.app.NotificationCompat.Builder 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=" .setUsage(AudioAttributes.USAGE_NOTIFICATION)"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="1468"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.app.NotificationCompat.Builder 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=" .build();"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="1469"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.app.NotificationCompat.Builder 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=" mNotification.audioAttributes = new AudioAttributes.Builder()"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="1495"
- column="49"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.app.NotificationCompat.Builder 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=" .setContentType(AudioAttributes.CONTENT_TYPE_SONIFICATION)"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="1496"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.app.NotificationCompat.Builder 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=" .setLegacyStreamType(streamType)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="1497"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.app.NotificationCompat.Builder 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=" .build();"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="1498"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.app.NotificationCompat.Builder 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 Notification.Builder.recoverBuilder(mContext, notification)"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="2048"
- column="45"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.app.NotificationCompat.Builder 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=" .createContentView();"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="2049"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.app.NotificationCompat.Builder 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 Notification.Builder.recoverBuilder(mContext, notification)"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="2082"
- column="45"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.app.NotificationCompat.Builder 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=" .createBigContentView();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="2083"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.app.NotificationCompat.Builder 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=" Notification.Builder.recoverBuilder(mContext, notification);"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="2117"
- column="46"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.app.NotificationCompat.Builder 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 platformBuilder.createHeadsUpContentView();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="2118"
- column="40"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.NotificationCompat.Style 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=" contentView.setTextViewTextSize(R.id.text, TypedValue.COMPLEX_UNIT_PX,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="2788"
- column="33"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.NotificationCompat.Style 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=" contentView.setViewPadding(R.id.line1, 0, 0, 0, 0);"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="2792"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.app.NotificationCompat.Style 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=" contentView.setChronometerCountDown(R.id.chronometer,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="2803"
- column="37"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.NotificationCompat.Style 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=" outerView.setViewPadding(R.id.notification_main_column_container,"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="2884"
- column="27"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.NotificationCompat.BigPictureStyle 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=" new Notification.BigPictureStyle(builder.getBuilder())"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="3002"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.NotificationCompat.BigPictureStyle 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=" .setBigContentTitle(mBigContentTitle)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="3003"
- column="34"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.NotificationCompat.BigPictureStyle 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=" .bigPicture(mPicture);"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="3004"
- column="34"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.NotificationCompat.BigTextStyle 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=" new Notification.BigTextStyle(builder.getBuilder())"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="3197"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.NotificationCompat.BigTextStyle 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=" .setBigContentTitle(mBigContentTitle)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="3198"
- column="34"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.NotificationCompat.BigTextStyle 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=" .bigText(mBigText);"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="3199"
- column="34"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.NotificationCompat.BigTextStyle 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=" style.setSummaryText(mSummaryText);"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="3201"
- column="27"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.app.NotificationCompat.MessagingStyle 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=" frameworkStyle = new Notification.MessagingStyle(mUser.toAndroidPerson());"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="3548"
- column="38"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.app.NotificationCompat.MessagingStyle 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=" frameworkStyle = new Notification.MessagingStyle(mUser.getName());"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="3550"
- column="38"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.app.NotificationCompat.MessagingStyle 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=" frameworkStyle.addMessage(message.toAndroidMessage());"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="3554"
- column="36"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationCompat.MessagingStyle 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=" frameworkStyle.addHistoricMessage(historicMessage.toAndroidMessage());"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="3559"
- column="40"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.app.NotificationCompat.MessagingStyle 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=" frameworkStyle.setConversationTitle(mConversationTitle);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="3571"
- column="36"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.app.NotificationCompat.MessagingStyle 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=" frameworkStyle.setGroupConversation(mIsGroupConversation);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="3577"
- column="36"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.NotificationCompat.MessagingStyle 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=" frameworkStyle.setBuilder(builder.getBuilder());"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="3579"
- column="32"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.NotificationCompat.MessagingStyle 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=" new Notification.BigTextStyle(builder.getBuilder())"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="3612"
- column="21"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.NotificationCompat.MessagingStyle 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=" .setBigContentTitle(null)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="3613"
- column="30"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.NotificationCompat.MessagingStyle 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=" .bigText(completeMessage);"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="3614"
- column="30"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.app.NotificationCompat.MessagingStyle.Message 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=" frameworkMessage = new Notification.MessagingStyle.Message("
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="4000"
- column="40"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.app.NotificationCompat.MessagingStyle.Message 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=" frameworkMessage = new Notification.MessagingStyle.Message("
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="4004"
- column="40"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.app.NotificationCompat.MessagingStyle.Message 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=" frameworkMessage.setData(getDataMimeType(), getDataUri());"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="4010"
- column="38"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.NotificationCompat.InboxStyle 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=" new Notification.InboxStyle(builder.getBuilder())"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="4101"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.NotificationCompat.InboxStyle 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=" .setBigContentTitle(mBigContentTitle);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="4102"
- column="34"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.NotificationCompat.InboxStyle 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=" style.setSummaryText(mSummaryText);"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="4104"
- column="27"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.NotificationCompat.InboxStyle 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=" style.addLine(text);"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="4107"
- column="27"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.NotificationCompat.DecoratedCustomViewStyle 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=" builder.getBuilder().setStyle(new Notification.DecoratedCustomViewStyle());"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="4201"
- column="38"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.app.NotificationCompat.DecoratedCustomViewStyle 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=" builder.getBuilder().setStyle(new Notification.DecoratedCustomViewStyle());"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="4201"
- column="47"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 15, the call containing class androidx.core.app.NotificationCompat.DecoratedCustomViewStyle is not annotated with @RequiresApi(x) where x is at least 15. Either annotate the containing class with at least @RequiresApi(15) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(15)."
- errorLine1=" button.setContentDescription(R.id.action_container, action.title);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="4319"
- column="24"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.app.NotificationCompat.Action.Builder 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 (Build.VERSION.SDK_INT >= 23 && action.getIcon() != null) {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="4603"
- column="59"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.app.NotificationCompat.Action.Builder 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=" IconCompat iconCompat = IconCompat.createFromIcon(action.getIcon());"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="4604"
- column="78"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompat.Action.Builder is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" android.app.RemoteInput[] remoteInputs = action.getRemoteInputs();"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="4612"
- column="69"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.app.NotificationCompat.Action.Builder 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=" builder.mAllowGeneratedReplies = action.getAllowGeneratedReplies();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="4620"
- column="61"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.app.NotificationCompat.Action.Builder 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.setSemanticAction(action.getSemanticAction());"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="4623"
- column="54"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.core.app.NotificationCompat.Action.Builder 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.setContextual(action.isContextual());"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="4626"
- column="50"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.app.NotificationCompat.WearableExtender 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=" actionBuilder = new Notification.Action.Builder("
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="5461"
- column="33"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompat.WearableExtender is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" actionBuilder = new Notification.Action.Builder("
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="5470"
- column="33"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.app.NotificationCompat.WearableExtender 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=" actionBuilder.setAllowGeneratedReplies(actionCompat.getAllowGeneratedReplies());"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="5482"
- column="31"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompat.WearableExtender is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" actionBuilder.addExtras(actionExtras);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="5484"
- column="27"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompat.WearableExtender is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" actionBuilder.addRemoteInput(remoteInput);"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="5489"
- column="35"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompat.WearableExtender is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" return actionBuilder.build();"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="5492"
- column="34"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompat.CarExtender is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" ? new RemoteInput(remoteInput.getResultKey(),"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="6238"
- column="51"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompat.CarExtender is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" remoteInput.getLabel(),"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="6239"
- column="33"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompat.CarExtender is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" remoteInput.getChoices(),"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="6240"
- column="33"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompat.CarExtender is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" remoteInput.getAllowFreeFormInput(),"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="6241"
- column="33"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.core.app.NotificationCompat.CarExtender 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=" ? remoteInput.getEditChoicesBeforeSending()"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="6243"
- column="43"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompat.CarExtender is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" remoteInput.getExtras(),"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="6245"
- column="33"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompat.CarExtender is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" new android.app.RemoteInput.Builder(remoteInputCompat.getResultKey())"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="6271"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompat.CarExtender is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" .setLabel(remoteInputCompat.getLabel())"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="6272"
- column="34"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompat.CarExtender is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" .setChoices(remoteInputCompat.getChoices())"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="6273"
- column="34"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompat.CarExtender is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" .setAllowFreeFormInput(remoteInputCompat.getAllowFreeFormInput())"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="6274"
- column="34"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompat.CarExtender is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" .addExtras(remoteInputCompat.getExtras())"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="6275"
- column="34"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompat.CarExtender is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" .build();"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="6276"
- column="34"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.core.app.NotificationCompat 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 BubbleMetadata.fromPlatform(notification.getBubbleMetadata());"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="7253"
- column="61"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompat is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" final android.app.RemoteInput[] srcArray = action.getRemoteInputs();"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="7263"
- column="59"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompat is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" src.getResultKey(),"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="7271"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompat is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" src.getLabel(),"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="7272"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompat is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" src.getChoices(),"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="7273"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompat is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" src.getAllowFreeFormInput(),"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="7274"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.core.app.NotificationCompat 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=" ? src.getEditChoicesBeforeSending()"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="7276"
- column="39"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompat is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" src.getExtras(),"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="7278"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompat is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" allowGeneratedReplies = action.getExtras().getBoolean("
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="7285"
- column="44"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.app.NotificationCompat 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=" || action.getAllowGeneratedReplies();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="7287"
- column="31"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompat is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" allowGeneratedReplies = action.getExtras().getBoolean("
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="7289"
- column="44"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompat is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" action.getExtras().getBoolean(Action.EXTRA_SHOWS_USER_INTERFACE, true);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="7294"
- column="24"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.app.NotificationCompat 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=" semanticAction = action.getSemanticAction();"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="7298"
- column="37"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompat is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" semanticAction = action.getExtras().getInt("
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="7300"
- column="37"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.core.app.NotificationCompat 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=" final boolean isContextual = Build.VERSION.SDK_INT >= 29 ? action.isContextual() : false;"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="7304"
- column="75"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.app.NotificationCompat 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 (action.getIcon() == null && action.icon != 0) {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="7307"
- column="24"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompat is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" action.getExtras(), remoteInputs, null, allowGeneratedReplies,"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="7309"
- column="32"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.app.NotificationCompat 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=" IconCompat icon = action.getIcon() == null"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="7312"
- column="38"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.app.NotificationCompat 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=" ? null : IconCompat.createFromIconOrNullIfZeroResId(action.getIcon());"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="7313"
- column="80"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompat is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" return new Action(icon, action.title, action.actionIntent, action.getExtras(),"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="7314"
- column="79"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompat is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" return new Action(action.icon, action.title, action.actionIntent, action.getExtras(),"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="7318"
- column="86"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompat is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" return notification.getGroup();"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="7434"
- column="33"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompat is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" return notification.getSortKey();"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="7542"
- column="33"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationCompat 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 notification.getChannelId();"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="7558"
- column="33"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationCompat 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 notification.getTimeoutAfter();"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="7570"
- column="33"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationCompat 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 notification.getBadgeIconType();"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="7583"
- column="33"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationCompat 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 notification.getShortcutId();"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="7595"
- column="33"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationCompat 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 notification.getSettingsText();"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="7606"
- column="33"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.core.app.NotificationCompat 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=" LocusId locusId = notification.getLocusId();"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="7622"
- column="44"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationCompat 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 notification.getGroupAlertBehavior();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="7637"
- column="33"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.core.app.NotificationCompat 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 notification.getAllowSystemGeneratedContextualActions();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompat.java"
- line="7650"
- column="33"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationCompatBuilder 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=" mBuilder = new Notification.Builder(b.mContext, b.mChannelId);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="72"
- column="24"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.NotificationCompatBuilder 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=" mBuilder.setSubText(b.mSubText)"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="101"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.NotificationCompatBuilder 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=" .setUsesChronometer(b.mUseChronometer)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="102"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.NotificationCompatBuilder 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=" .setPriority(b.mPriority);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="103"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.app.NotificationCompatBuilder 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=" mBuilder.setShowWhen(b.mShowWhen);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="133"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompatBuilder is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" mBuilder.setLocalOnly(b.mLocalOnly)"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="145"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompatBuilder is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" .setGroup(b.mGroupKey)"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="146"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompatBuilder is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" .setGroupSummary(b.mGroupSummary)"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="147"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompatBuilder is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" .setSortKey(b.mSortKey);"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="148"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.app.NotificationCompatBuilder 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=" mBuilder.setCategory(b.mCategory)"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="153"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.app.NotificationCompatBuilder 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=" .setColor(b.mColor)"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="154"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.app.NotificationCompatBuilder 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=" .setVisibility(b.mVisibility)"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="155"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.app.NotificationCompatBuilder 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=" .setPublicVersion(b.mPublicVersion)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="156"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.app.NotificationCompatBuilder 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=" .setSound(n.sound, n.audioAttributes);"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="157"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.app.NotificationCompatBuilder 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=" mBuilder.addPerson(person);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="168"
- column="30"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.app.NotificationCompatBuilder 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=" mBuilder.setSmallIcon(b.mSmallIcon);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="202"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.app.NotificationCompatBuilder 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=" mBuilder.setExtras(b.mExtras)"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="206"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.app.NotificationCompatBuilder 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=" .setRemoteInputHistory(b.mRemoteInputHistory);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="207"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.app.NotificationCompatBuilder 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=" mBuilder.setCustomContentView(b.mContentView);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="209"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.app.NotificationCompatBuilder 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=" mBuilder.setCustomBigContentView(b.mBigContentView);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="212"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.app.NotificationCompatBuilder 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=" mBuilder.setCustomHeadsUpContentView(b.mHeadsUpContentView);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="215"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationCompatBuilder 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=" mBuilder.setBadgeIconType(b.mBadgeIcon)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="219"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationCompatBuilder 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=" .setSettingsText(b.mSettingsText)"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="220"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationCompatBuilder 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=" .setShortcutId(b.mShortcutId)"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="221"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationCompatBuilder 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=" .setTimeoutAfter(b.mTimeout)"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="222"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationCompatBuilder 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=" .setGroupAlertBehavior(b.mGroupAlertBehavior);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="223"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationCompatBuilder 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=" mBuilder.setColorized(b.mColorized);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="225"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.app.NotificationCompatBuilder 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=" mBuilder.addPerson(p.toAndroidPerson());"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="237"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.core.app.NotificationCompatBuilder 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=" mBuilder.setAllowSystemGeneratedContextualActions("
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="241"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.core.app.NotificationCompatBuilder 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=" mBuilder.setBubbleMetadata("
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="244"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.core.app.NotificationCompatBuilder 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=" mBuilder.setLocusId(b.mLocusId.toLocusId());"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="247"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompatBuilder is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" mBuilder.setGroup(NotificationCompat.GROUP_KEY_SILENT);"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="266"
- column="30"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationCompatBuilder 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=" mBuilder.setGroupAlertBehavior(mGroupAlertBehavior);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="268"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.app.NotificationCompatBuilder 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=" actionBuilder = new Notification.Action.Builder("
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="353"
- column="33"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompatBuilder is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" actionBuilder = new Notification.Action.Builder("
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="358"
- column="33"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompatBuilder is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" actionBuilder.addRemoteInput(remoteInput);"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="366"
- column="35"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.app.NotificationCompatBuilder 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=" actionBuilder.setAllowGeneratedReplies(action.getAllowGeneratedReplies());"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="378"
- column="31"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.app.NotificationCompatBuilder 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=" actionBuilder.setSemanticAction(action.getSemanticAction());"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="384"
- column="31"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.core.app.NotificationCompatBuilder 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=" actionBuilder.setContextual(action.isContextual());"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="388"
- column="31"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompatBuilder is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" actionBuilder.addExtras(actionExtras);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="393"
- column="27"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompatBuilder is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" mBuilder.addAction(actionBuilder.build());"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="394"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompatBuilder is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" mBuilder.addAction(actionBuilder.build());"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="394"
- column="46"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.NotificationCompatBuilder 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=" return mBuilder.build();"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="404"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.NotificationCompatBuilder 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=" Notification notification = mBuilder.build();"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="406"
- column="51"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompatBuilder is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" if (notification.getGroup() != null"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="410"
- column="34"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompatBuilder is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" if (notification.getGroup() != null"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="416"
- column="34"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.app.NotificationCompatBuilder 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=" mBuilder.setExtras(mExtras);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="425"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.NotificationCompatBuilder 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=" Notification notification = mBuilder.build();"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="426"
- column="50"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompatBuilder is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" if (notification.getGroup() != null"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="439"
- column="34"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompatBuilder is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" if (notification.getGroup() != null"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="445"
- column="34"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.app.NotificationCompatBuilder 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=" mBuilder.setExtras(mExtras);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="453"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.NotificationCompatBuilder 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=" Notification notification = mBuilder.build();"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="454"
- column="50"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompatBuilder is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" if (notification.getGroup() != null"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="464"
- column="34"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.NotificationCompatBuilder is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" if (notification.getGroup() != null"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="470"
- column="34"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.app.NotificationCompatBuilder 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=" mBuilder.setExtras(mExtras);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="486"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.NotificationCompatBuilder 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=" Notification notification = mBuilder.build();"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="487"
- column="50"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.NotificationCompatBuilder 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=" Notification notification = mBuilder.build();"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationCompatBuilder.java"
- line="496"
- column="50"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.app.NotificationManagerCompat 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 mNotificationManager.areNotificationsEnabled();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationManagerCompat.java"
- line="232"
- column="41"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.app.NotificationManagerCompat 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 mNotificationManager.getImportance();"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationManagerCompat.java"
- line="263"
- column="41"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationManagerCompat 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=" mNotificationManager.createNotificationChannel(channel);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationManagerCompat.java"
- line="291"
- column="34"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationManagerCompat 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=" mNotificationManager.createNotificationChannelGroup(group);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationManagerCompat.java"
- line="330"
- column="34"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationManagerCompat 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=" mNotificationManager.createNotificationChannels(channels);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationManagerCompat.java"
- line="357"
- column="34"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationManagerCompat 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=" mNotificationManager.createNotificationChannels(platformChannels);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationManagerCompat.java"
- line="376"
- column="34"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationManagerCompat 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=" mNotificationManager.createNotificationChannelGroups(groups);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationManagerCompat.java"
- line="390"
- column="34"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationManagerCompat 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=" mNotificationManager.createNotificationChannelGroups(platformGroups);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationManagerCompat.java"
- line="409"
- column="34"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationManagerCompat 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=" mNotificationManager.deleteNotificationChannel(channelId);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationManagerCompat.java"
- line="424"
- column="34"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationManagerCompat 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=" mNotificationManager.deleteNotificationChannelGroup(groupId);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationManagerCompat.java"
- line="436"
- column="34"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationManagerCompat 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=" for (NotificationChannel channel : mNotificationManager.getNotificationChannels()) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationManagerCompat.java"
- line="451"
- column="69"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationManagerCompat 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 (channelIds.contains(channel.getId())) {"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationManagerCompat.java"
- line="452"
- column="49"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationManagerCompat 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=" mNotificationManager.deleteNotificationChannel(channel.getId());"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationManagerCompat.java"
- line="459"
- column="38"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationManagerCompat 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=" mNotificationManager.deleteNotificationChannel(channel.getId());"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationManagerCompat.java"
- line="459"
- column="72"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationManagerCompat 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 mNotificationManager.getNotificationChannel(channelId);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationManagerCompat.java"
- line="472"
- column="41"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.app.NotificationManagerCompat 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 mNotificationManager.getNotificationChannelGroup(channelGroupId);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationManagerCompat.java"
- line="538"
- column="41"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationManagerCompat 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 (group.getId().equals(channelGroupId)) return group;"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationManagerCompat.java"
- line="542"
- column="27"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationManagerCompat 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 mNotificationManager.getNotificationChannels();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationManagerCompat.java"
- line="580"
- column="41"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.NotificationManagerCompat 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 mNotificationManager.getNotificationChannelGroups();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/NotificationManagerCompat.java"
- line="611"
- column="41"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.util.ObjectsCompat 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=" return Objects.equals(a, b);"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/core/util/ObjectsCompat.java"
- line="51"
- column="28"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.util.ObjectsCompat 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=" return Objects.hash(values);"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/androidx/core/util/ObjectsCompat.java"
- line="93"
- column="28"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.content.pm.PackageInfoCompat 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 info.getLongVersionCode();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/PackageInfoCompat.java"
- line="51"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.graphics.PaintCompat 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=" return paint.hasGlyph(string);"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/PaintCompat.java"
- line="52"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.core.graphics.PaintCompat 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=" paint.setBlendMode(blendMode != null ? obtainBlendModeFromCompat(blendMode) : null);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/PaintCompat.java"
- line="127"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.animation.PathInterpolatorCompat 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 PathInterpolator(path);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/animation/PathInterpolatorCompat.java"
- line="49"
- column="20"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.animation.PathInterpolatorCompat 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 PathInterpolator(controlX, controlY);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/animation/PathInterpolatorCompat.java"
- line="64"
- column="20"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.animation.PathInterpolatorCompat 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 PathInterpolator(controlX1, controlY1, controlX2, controlY2);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/animation/PathInterpolatorCompat.java"
- line="82"
- column="20"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.graphics.PathUtils 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=" float[] pathData = path.approximate(error);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/PathUtils.java"
- line="60"
- column="33"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.content.pm.PermissionInfoCompat 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 permissionInfo.getProtection();"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/PermissionInfoCompat.java"
- line="75"
- column="35"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.content.pm.PermissionInfoCompat 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 permissionInfo.getProtectionFlags();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/PermissionInfoCompat.java"
- line="89"
- column="35"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.app.Person 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=" .setName(bundle.getString(NAME_KEY))"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/Person.java"
- line="71"
- column="33"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.app.Person 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=" .setUri(bundle.getString(URI_KEY))"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/Person.java"
- line="72"
- column="32"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.app.Person 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=" .setKey(bundle.getString(KEY_KEY))"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/Person.java"
- line="73"
- column="32"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 22, the call containing class androidx.core.app.Person is not annotated with @RequiresApi(x) where x is at least 22. Either annotate the containing class with at least @RequiresApi(22) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(22)."
- errorLine1=" .setBot(bundle.getBoolean(IS_BOT_KEY))"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/Person.java"
- line="74"
- column="32"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 22, the call containing class androidx.core.app.Person is not annotated with @RequiresApi(x) where x is at least 22. Either annotate the containing class with at least @RequiresApi(22) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(22)."
- errorLine1=" .setImportant(bundle.getBoolean(IS_IMPORTANT_KEY))"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/Person.java"
- line="75"
- column="38"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.app.Person 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=" .setName(person.getName())"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/Person.java"
- line="89"
- column="33"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.app.Person 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=" (person.getIcon() != null)"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/Person.java"
- line="91"
- column="33"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.app.Person 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=" ? IconCompat.createFromIcon(person.getIcon())"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/Person.java"
- line="92"
- column="68"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.app.Person 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=" .setUri(person.getUri())"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/core/app/Person.java"
- line="94"
- column="32"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.app.Person 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=" .setKey(person.getKey())"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/core/app/Person.java"
- line="95"
- column="32"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.app.Person 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=" .setBot(person.isBot())"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/core/app/Person.java"
- line="96"
- column="32"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.app.Person 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=" .setImportant(person.isImportant())"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/Person.java"
- line="97"
- column="38"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.app.Person 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=" PersistableBundle result = new PersistableBundle();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/Person.java"
- line="151"
- column="36"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.app.Person 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=" result.putString(NAME_KEY, mName != null ? mName.toString() : null);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/Person.java"
- line="152"
- column="16"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.app.Person 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=" result.putString(URI_KEY, mUri);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/Person.java"
- line="153"
- column="16"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.app.Person 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=" result.putString(KEY_KEY, mKey);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/Person.java"
- line="154"
- column="16"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 22, the call containing class androidx.core.app.Person is not annotated with @RequiresApi(x) where x is at least 22. Either annotate the containing class with at least @RequiresApi(22) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(22)."
- errorLine1=" result.putBoolean(IS_BOT_KEY, mIsBot);"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/Person.java"
- line="155"
- column="16"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 22, the call containing class androidx.core.app.Person is not annotated with @RequiresApi(x) where x is at least 22. Either annotate the containing class with at least @RequiresApi(22) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(22)."
- errorLine1=" result.putBoolean(IS_IMPORTANT_KEY, mIsImportant);"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/Person.java"
- line="156"
- column="16"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.app.Person 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.app.Person.Builder()"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/Person.java"
- line="175"
- column="16"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.app.Person 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=" .setName(getName())"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/Person.java"
- line="176"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.app.Person 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=" .setIcon((getIcon() != null) ? getIcon().toIcon() : null)"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/Person.java"
- line="177"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.app.Person 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=" .setUri(getUri())"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/core/app/Person.java"
- line="178"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.app.Person 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=" .setKey(getKey())"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/core/app/Person.java"
- line="179"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.app.Person 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=" .setBot(isBot())"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/core/app/Person.java"
- line="180"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.app.Person 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=" .setImportant(isImportant())"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/Person.java"
- line="181"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.app.Person 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/core/app/Person.java"
- line="182"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.view.PointerIconCompat 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 new PointerIconCompat(PointerIcon.getSystemIcon(context, style));"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/PointerIconCompat.java"
- line="131"
- column="54"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.view.PointerIconCompat 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 new PointerIconCompat(PointerIcon.create(bitmap, hotSpotX, hotSpotY));"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/core/view/PointerIconCompat.java"
- line="152"
- column="54"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.view.PointerIconCompat 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 new PointerIconCompat(PointerIcon.load(resources, resourceId));"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/androidx/core/view/PointerIconCompat.java"
- line="181"
- column="54"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.widget.PopupMenuCompat 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=" return ((PopupMenu) popupMenu).getDragToOpenListener();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/PopupMenuCompat.java"
- line="56"
- column="44"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.widget.PopupWindowCompat 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=" popup.showAsDropDown(anchor, xoff, yoff, gravity);"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/PopupWindowCompat.java"
- line="69"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.widget.PopupWindowCompat 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=" popupWindow.setOverlapAnchor(overlapAnchor);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/PopupWindowCompat.java"
- line="91"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.widget.PopupWindowCompat 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=" return popupWindow.getOverlapAnchor();"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/PopupWindowCompat.java"
- line="120"
- column="32"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.widget.PopupWindowCompat 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=" popupWindow.setWindowLayoutType(layoutType);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/PopupWindowCompat.java"
- line="154"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.widget.PopupWindowCompat 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=" return popupWindow.getWindowLayoutType();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/PopupWindowCompat.java"
- line="184"
- column="32"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.text.PrecomputedTextCompat.Params 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=" mWrapped = new PrecomputedText.Params.Builder(paint)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
- line="199"
- column="28"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.text.PrecomputedTextCompat.Params 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=" .setBreakStrategy(strategy)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
- line="200"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.text.PrecomputedTextCompat.Params 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=" .setHyphenationFrequency(frequency)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
- line="201"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.text.PrecomputedTextCompat.Params 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=" .setTextDirection(textDir)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
- line="202"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.text.PrecomputedTextCompat.Params 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/core/text/PrecomputedTextCompat.java"
- line="203"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.text.PrecomputedTextCompat.Params 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=" mPaint = wrapped.getTextPaint();"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
- line="215"
- column="30"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.text.PrecomputedTextCompat.Params 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=" mTextDir = wrapped.getTextDirection();"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
- line="216"
- column="32"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.text.PrecomputedTextCompat.Params 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=" mBreakStrategy = wrapped.getBreakStrategy();"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
- line="217"
- column="38"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.text.PrecomputedTextCompat.Params 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=" mHyphenationFrequency = wrapped.getHyphenationFrequency();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
- line="218"
- column="45"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.text.PrecomputedTextCompat.Params 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 (mPaint.getLetterSpacing() != other.getTextPaint().getLetterSpacing()) {"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
- line="294"
- column="28"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.text.PrecomputedTextCompat.Params 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 (mPaint.getLetterSpacing() != other.getTextPaint().getLetterSpacing()) {"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
- line="294"
- column="71"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.text.PrecomputedTextCompat.Params 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 (!TextUtils.equals(mPaint.getFontFeatureSettings(),"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
- line="297"
- column="46"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.text.PrecomputedTextCompat.Params 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=" other.getTextPaint().getFontFeatureSettings())) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
- line="298"
- column="46"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.text.PrecomputedTextCompat.Params 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=" if (!mPaint.getTextLocales().equals(other.getTextPaint().getTextLocales())) {"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
- line="306"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.text.PrecomputedTextCompat.Params 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=" if (!mPaint.getTextLocales().equals(other.getTextPaint().getTextLocales())) {"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
- line="306"
- column="74"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.text.PrecomputedTextCompat.Params 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=" if (!mPaint.getTextLocale().equals(other.getTextPaint().getTextLocale())) {"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
- line="310"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.text.PrecomputedTextCompat.Params 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=" if (!mPaint.getTextLocale().equals(other.getTextPaint().getTextLocale())) {"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
- line="310"
- column="73"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.text.PrecomputedTextCompat.Params 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=" mPaint.getTextSkewX(), mPaint.getLetterSpacing(), mPaint.getFlags(),"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
- line="354"
- column="55"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.text.PrecomputedTextCompat.Params 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=" mPaint.getTextLocales(), mPaint.getTypeface(), mPaint.isElegantTextHeight(),"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
- line="355"
- column="79"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.text.PrecomputedTextCompat.Params 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=" mPaint.getTextLocales(), mPaint.getTypeface(), mPaint.isElegantTextHeight(),"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
- line="355"
- column="32"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.text.PrecomputedTextCompat.Params 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=" mPaint.getTextSkewX(), mPaint.getLetterSpacing(), mPaint.getFlags(),"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
- line="359"
- column="55"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.text.PrecomputedTextCompat.Params 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=" mPaint.getTextLocale(), mPaint.getTypeface(), mPaint.isElegantTextHeight(),"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
- line="360"
- column="32"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.text.PrecomputedTextCompat.Params 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=" mPaint.getTextLocale(), mPaint.getTypeface(), mPaint.isElegantTextHeight(),"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
- line="360"
- column="78"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.text.PrecomputedTextCompat.Params 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=" mPaint.getTextSkewX(), mPaint.getFlags(), mPaint.getTextLocale(),"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
- line="364"
- column="74"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.text.PrecomputedTextCompat.Params 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=" mPaint.getTextSkewX(), mPaint.getFlags(), mPaint.getTextLocale(),"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
- line="368"
- column="74"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.text.PrecomputedTextCompat.Params 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=" sb.append(", letterSpacing=" + mPaint.getLetterSpacing());"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
- line="384"
- column="55"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.text.PrecomputedTextCompat.Params 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=" sb.append(", elegantTextHeight=" + mPaint.isElegantTextHeight());"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
- line="385"
- column="59"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.text.PrecomputedTextCompat.Params 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=" sb.append(", textLocale=" + mPaint.getTextLocales());"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
- line="388"
- column="52"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.text.PrecomputedTextCompat.Params 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=" sb.append(", textLocale=" + mPaint.getTextLocale());"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
- line="390"
- column="52"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.text.PrecomputedTextCompat.Params 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=" sb.append(", variationSettings=" + mPaint.getFontVariationSettings());"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
- line="394"
- column="59"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.text.PrecomputedTextCompat 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=" PrecomputedText.create(text, params.mWrapped), params);"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
- line="440"
- column="41"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.text.PrecomputedTextCompat 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=" StaticLayout.Builder.obtain(text, 0, text.length(), params.getTextPaint(),"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
- line="468"
- column="38"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.text.PrecomputedTextCompat 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=" .setBreakStrategy(params.getBreakStrategy())"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
- line="470"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.text.PrecomputedTextCompat 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=" .setHyphenationFrequency(params.getHyphenationFrequency())"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
- line="471"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.text.PrecomputedTextCompat 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=" .setTextDirection(params.getTextDirection())"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
- line="472"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.text.PrecomputedTextCompat 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=" .build();"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
- line="473"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.text.PrecomputedTextCompat 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 mWrapped.getParagraphCount();"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
- line="532"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.text.PrecomputedTextCompat 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 mWrapped.getParagraphStart(paraIndex);"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
- line="545"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.text.PrecomputedTextCompat 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 mWrapped.getParagraphEnd(paraIndex);"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/PrecomputedTextCompat.java"
- line="558"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.RemoteActionCompat 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=" IconCompat.createFromIcon(remoteAction.getIcon()), remoteAction.getTitle(),"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/RemoteActionCompat.java"
- line="117"
- column="56"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.RemoteActionCompat 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=" IconCompat.createFromIcon(remoteAction.getIcon()), remoteAction.getTitle(),"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/RemoteActionCompat.java"
- line="117"
- column="81"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.RemoteActionCompat 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=" remoteAction.getContentDescription(), remoteAction.getActionIntent());"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/RemoteActionCompat.java"
- line="118"
- column="30"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.RemoteActionCompat 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=" remoteAction.getContentDescription(), remoteAction.getActionIntent());"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/RemoteActionCompat.java"
- line="118"
- column="68"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.RemoteActionCompat 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=" action.setEnabled(remoteAction.isEnabled());"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/RemoteActionCompat.java"
- line="119"
- column="40"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.app.RemoteActionCompat 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=" action.setShouldShowIcon(remoteAction.shouldShowIcon());"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/RemoteActionCompat.java"
- line="121"
- column="51"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.RemoteActionCompat 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=" RemoteAction action = new RemoteAction(mIcon.toIcon(), mTitle, mContentDescription,"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/RemoteActionCompat.java"
- line="190"
- column="31"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.RemoteActionCompat 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=" action.setEnabled(isEnabled());"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/RemoteActionCompat.java"
- line="192"
- column="16"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.app.RemoteActionCompat 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=" action.setShouldShowIcon(shouldShowIcon());"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/RemoteActionCompat.java"
- line="194"
- column="20"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.RemoteInput 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 android.app.RemoteInput.getDataResultsFromIntent(intent, remoteInputResultKey);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/RemoteInput.java"
- line="339"
- column="44"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.RemoteInput is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" return android.app.RemoteInput.getResultsFromIntent(intent);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/RemoteInput.java"
- line="377"
- column="44"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.RemoteInput is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" android.app.RemoteInput.addResultsToIntent(fromCompat(remoteInputs), intent, results);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/RemoteInput.java"
- line="403"
- column="37"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.RemoteInput is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" android.app.RemoteInput.addResultsToIntent("
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/RemoteInput.java"
- line="426"
- column="41"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.RemoteInput 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=" intent.setClipData(ClipData.newIntent(RemoteInput.RESULTS_CLIP_LABEL, clipDataIntent));"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/RemoteInput.java"
- line="452"
- column="20"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.app.RemoteInput 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=" android.app.RemoteInput.addDataResultToIntent(fromCompat(remoteInput), intent, results);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/RemoteInput.java"
- line="467"
- column="37"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.RemoteInput 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=" intent.setClipData(ClipData.newIntent(RemoteInput.RESULTS_CLIP_LABEL, clipDataIntent));"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/RemoteInput.java"
- line="487"
- column="20"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.app.RemoteInput 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=" android.app.RemoteInput.setResultsSource(intent, source);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/RemoteInput.java"
- line="506"
- column="37"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.RemoteInput 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=" intent.setClipData(ClipData.newIntent(RESULTS_CLIP_LABEL, clipDataIntent));"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/RemoteInput.java"
- line="513"
- column="20"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.app.RemoteInput 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.app.RemoteInput.getResultsSource(intent);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/RemoteInput.java"
- line="531"
- column="44"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.RemoteInput is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" new android.app.RemoteInput.Builder(src.getResultKey())"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/RemoteInput.java"
- line="562"
- column="17"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.RemoteInput is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" .setLabel(src.getLabel())"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/RemoteInput.java"
- line="563"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.RemoteInput is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" .setChoices(src.getChoices())"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/RemoteInput.java"
- line="564"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.RemoteInput is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" .setAllowFreeFormInput(src.getAllowFreeFormInput())"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/RemoteInput.java"
- line="565"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.RemoteInput is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" .addExtras(src.getExtras());"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/RemoteInput.java"
- line="566"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.core.app.RemoteInput 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.setEditChoicesBeforeSending(src.getEditChoicesBeforeSending());"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/RemoteInput.java"
- line="568"
- column="21"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.RemoteInput is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" return builder.build();"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/core/app/RemoteInput.java"
- line="570"
- column="24"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.RemoteInput is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" new RemoteInput.Builder(src.getResultKey())"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/RemoteInput.java"
- line="576"
- column="45"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.RemoteInput is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" .setLabel(src.getLabel())"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/RemoteInput.java"
- line="577"
- column="39"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.RemoteInput is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" .setChoices(src.getChoices())"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/RemoteInput.java"
- line="578"
- column="41"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.RemoteInput is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" .setAllowFreeFormInput(src.getAllowFreeFormInput())"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/RemoteInput.java"
- line="579"
- column="52"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.app.RemoteInput is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" .addExtras(src.getExtras());"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/RemoteInput.java"
- line="580"
- column="40"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.core.app.RemoteInput 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.setEditChoicesBeforeSending(src.getEditChoicesBeforeSending());"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/RemoteInput.java"
- line="582"
- column="53"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.RemoteInput 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=" ClipData clipData = intent.getClipData();"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/RemoteInput.java"
- line="589"
- column="36"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.content.res.ResourcesCompat 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 res.getDrawable(id, theme);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/res/ResourcesCompat.java"
- line="94"
- column="24"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.content.res.ResourcesCompat 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 res.getDrawableForDensity(id, density, theme);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/res/ResourcesCompat.java"
- line="127"
- column="24"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 15, the call containing class androidx.core.content.res.ResourcesCompat is not annotated with @RequiresApi(x) where x is at least 15. Either annotate the containing class with at least @RequiresApi(15) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(15)."
- errorLine1=" return res.getDrawableForDensity(id, density);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/res/ResourcesCompat.java"
- line="129"
- column="24"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.content.res.ResourcesCompat 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=" return res.getColor(id, theme);"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/res/ResourcesCompat.java"
- line="157"
- column="24"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.content.res.ResourcesCompat 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=" return res.getColorStateList(id, theme);"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/res/ResourcesCompat.java"
- line="187"
- column="24"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.database.sqlite.SQLiteCursorCompat 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=" cursor.setFillWindowForwardOnly(fillWindowForwardOnly);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/database/sqlite/SQLiteCursorCompat.java"
- line="46"
- column="20"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.ScaleGestureDetectorCompat 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=" scaleGestureDetector.setQuickScaleEnabled(enabled);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ScaleGestureDetectorCompat.java"
- line="54"
- column="34"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.ScaleGestureDetectorCompat 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=" return scaleGestureDetector.isQuickScaleEnabled();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ScaleGestureDetectorCompat.java"
- line="79"
- column="41"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.app.ServiceCompat 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=" service.stopForeground(flags);"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/ServiceCompat.java"
- line="99"
- column="21"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.ShareCompat.IntentReader 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=" result = Html.escapeHtml(text);"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/ShareCompat.java"
- line="835"
- column="39"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutInfoCompat is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" ShortcutInfo.Builder builder = new ShortcutInfo.Builder(mContext, mId)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="101"
- column="40"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutInfoCompat is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" .setShortLabel(mLabel)"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="102"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutInfoCompat is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" .setIntents(mIntents);"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="103"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutInfoCompat is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" builder.setIcon(mIcon.toIcon(mContext));"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="105"
- column="21"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutInfoCompat is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" builder.setLongLabel(mLongLabel);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="108"
- column="21"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutInfoCompat is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" builder.setDisabledMessage(mDisabledMessage);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="111"
- column="21"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutInfoCompat is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" builder.setActivity(mActivity);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="114"
- column="21"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutInfoCompat is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" builder.setCategories(mCategories);"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="117"
- column="21"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutInfoCompat is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" builder.setRank(mRank);"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="119"
- column="17"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutInfoCompat is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" builder.setExtras(mExtras);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="121"
- column="21"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.core.content.pm.ShortcutInfoCompat 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.setPersons(persons);"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="129"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.core.content.pm.ShortcutInfoCompat 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.setLocusId(mLocusId.toLocusId());"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="132"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.core.content.pm.ShortcutInfoCompat 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.setLongLived(mIsLongLived);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="134"
- column="21"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutInfoCompat is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" builder.setExtras(buildLegacyExtrasBundle());"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="139"
- column="21"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutInfoCompat is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" return builder.build();"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="141"
- column="24"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.content.pm.ShortcutInfoCompat 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=" mExtras = new PersistableBundle();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="151"
- column="23"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.content.pm.ShortcutInfoCompat 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=" mExtras.putInt(EXTRA_PERSON_COUNT, mPersons.length);"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="154"
- column="21"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.content.pm.ShortcutInfoCompat 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=" mExtras.putPersistableBundle(EXTRA_PERSON_ + (i + 1),"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="156"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.content.pm.ShortcutInfoCompat 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=" mExtras.putString(EXTRA_LOCUS_ID, mLocusId.getId());"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="161"
- column="21"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 22, the call containing class androidx.core.content.pm.ShortcutInfoCompat is not annotated with @RequiresApi(x) where x is at least 22. Either annotate the containing class with at least @RequiresApi(22) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(22)."
- errorLine1=" mExtras.putBoolean(EXTRA_LONG_LIVED, mIsLongLived);"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="163"
- column="17"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.content.pm.ShortcutInfoCompat 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 (bundle == null || !bundle.containsKey(EXTRA_PERSON_COUNT)) {"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="330"
- column="39"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.content.pm.ShortcutInfoCompat 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 personsLength = bundle.getInt(EXTRA_PERSON_COUNT);"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="334"
- column="36"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.content.pm.ShortcutInfoCompat 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=" bundle.getPersistableBundle(EXTRA_PERSON_ + (i + 1)));"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="338"
- column="28"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.content.pm.ShortcutInfoCompat 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 (bundle == null || !bundle.containsKey(EXTRA_LONG_LIVED)) {"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="350"
- column="39"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 22, the call containing class androidx.core.content.pm.ShortcutInfoCompat is not annotated with @RequiresApi(x) where x is at least 22. Either annotate the containing class with at least @RequiresApi(22) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(22)."
- errorLine1=" return bundle.getBoolean(EXTRA_LONG_LIVED);"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="353"
- column="23"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.core.content.pm.ShortcutInfoCompat 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=" if (shortcutInfo.getLocusId() == null) return null;"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="467"
- column="30"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.core.content.pm.ShortcutInfoCompat 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 LocusIdCompat.toLocusIdCompat(shortcutInfo.getLocusId());"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="468"
- column="63"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutInfoCompat is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" return getLocusIdFromExtra(shortcutInfo.getExtras());"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="470"
- column="53"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.content.pm.ShortcutInfoCompat 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 String locusId = bundle.getString(EXTRA_LOCUS_ID);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="482"
- column="39"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" mInfo.mId = shortcutInfo.getId();"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="548"
- column="38"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" mInfo.mPackageName = shortcutInfo.getPackage();"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="549"
- column="47"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" Intent[] intents = shortcutInfo.getIntents();"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="550"
- column="45"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" mInfo.mActivity = shortcutInfo.getActivity();"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="552"
- column="44"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" mInfo.mLabel = shortcutInfo.getShortLabel();"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="553"
- column="41"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" mInfo.mLongLabel = shortcutInfo.getLongLabel();"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="554"
- column="45"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" mInfo.mDisabledMessage = shortcutInfo.getDisabledMessage();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="555"
- column="51"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.content.pm.ShortcutInfoCompat.Builder 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=" mInfo.mDisabledReason = shortcutInfo.getDisabledReason();"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="557"
- column="54"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" mInfo.mDisabledReason = shortcutInfo.isEnabled()"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="559"
- column="54"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" mInfo.mCategories = shortcutInfo.getCategories();"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="563"
- column="46"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" mInfo.mPersons = ShortcutInfoCompat.getPersonsFromExtra(shortcutInfo.getExtras());"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="564"
- column="82"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" mInfo.mUser = shortcutInfo.getUserHandle();"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="565"
- column="40"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" mInfo.mLastChangedTimestamp = shortcutInfo.getLastChangedTimestamp();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="566"
- column="56"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" mInfo.mIsDynamic = shortcutInfo.isDynamic();"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="570"
- column="45"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" mInfo.mIsPinned = shortcutInfo.isPinned();"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="571"
- column="44"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" mInfo.mIsDeclaredInManifest = shortcutInfo.isDeclaredInManifest();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="572"
- column="56"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" mInfo.mIsImmutable = shortcutInfo.isImmutable();"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="573"
- column="47"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" mInfo.mIsEnabled = shortcutInfo.isEnabled();"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="574"
- column="45"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" mInfo.mHasKeyFieldsOnly = shortcutInfo.hasKeyFieldsOnly();"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="575"
- column="52"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" mInfo.mRank = shortcutInfo.getRank();"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="577"
- column="40"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutInfoCompat.Builder is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" mInfo.mExtras = shortcutInfo.getExtras();"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="578"
- column="42"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.content.pm.ShortcutManagerCompat 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=" return context.getSystemService(ShortcutManager.class).isRequestPinShortcutSupported();"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="137"
- column="28"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.content.pm.ShortcutManagerCompat 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 context.getSystemService(ShortcutManager.class).isRequestPinShortcutSupported();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="137"
- column="68"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.content.pm.ShortcutManagerCompat 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=" return context.getSystemService(ShortcutManager.class).requestPinShortcut("
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="174"
- column="28"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.content.pm.ShortcutManagerCompat 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 context.getSystemService(ShortcutManager.class).requestPinShortcut("
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="174"
- column="68"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.content.pm.ShortcutManagerCompat 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=" result = context.getSystemService(ShortcutManager.class)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="218"
- column="30"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.content.pm.ShortcutManagerCompat 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=" .createShortcutResultIntent(shortcut.toShortcutInfo());"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="219"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.content.pm.ShortcutManagerCompat 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=" context.getSystemService(ShortcutManager.class).getShortcuts(matchFlags);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="259"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.content.pm.ShortcutManagerCompat 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=" final ShortcutManager manager = context.getSystemService(ShortcutManager.class);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="262"
- column="53"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutManagerCompat is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" shortcuts.addAll(manager.getManifestShortcuts());"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="265"
- column="42"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutManagerCompat is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" shortcuts.addAll(manager.getDynamicShortcuts());"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="268"
- column="42"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutManagerCompat is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" shortcuts.addAll(manager.getPinnedShortcuts());"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="271"
- column="42"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.content.pm.ShortcutManagerCompat 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 (!context.getSystemService(ShortcutManager.class).addDynamicShortcuts(shortcuts)) {"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="307"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutManagerCompat is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" if (!context.getSystemService(ShortcutManager.class).addDynamicShortcuts(shortcuts)) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="307"
- column="66"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.content.pm.ShortcutManagerCompat 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=" return context.getSystemService(ShortcutManager.class).getMaxShortcutCountPerActivity();"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="323"
- column="28"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutManagerCompat is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" return context.getSystemService(ShortcutManager.class).getMaxShortcutCountPerActivity();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="323"
- column="68"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.content.pm.ShortcutManagerCompat 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=" return context.getSystemService(ShortcutManager.class).isRateLimitingActive();"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="340"
- column="28"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutManagerCompat is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" return context.getSystemService(ShortcutManager.class).isRateLimitingActive();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="340"
- column="68"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.content.pm.ShortcutManagerCompat 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=" return context.getSystemService(ShortcutManager.class).getIconMaxWidth();"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="360"
- column="28"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutManagerCompat is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" return context.getSystemService(ShortcutManager.class).getIconMaxWidth();"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="360"
- column="68"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.content.pm.ShortcutManagerCompat 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=" return context.getSystemService(ShortcutManager.class).getIconMaxHeight();"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="371"
- column="28"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutManagerCompat is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" return context.getSystemService(ShortcutManager.class).getIconMaxHeight();"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="371"
- column="68"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.content.pm.ShortcutManagerCompat 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=" context.getSystemService(ShortcutManager.class).reportShortcutUsed(shortcutId);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="398"
- column="21"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutManagerCompat is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" context.getSystemService(ShortcutManager.class).reportShortcutUsed(shortcutId);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="398"
- column="61"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.content.pm.ShortcutManagerCompat 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 (!context.getSystemService(ShortcutManager.class).setDynamicShortcuts(shortcuts)) {"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="432"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutManagerCompat is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" if (!context.getSystemService(ShortcutManager.class).setDynamicShortcuts(shortcuts)) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="432"
- column="66"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.content.pm.ShortcutManagerCompat 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=" List<ShortcutInfo> shortcuts = context.getSystemService("
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="451"
- column="52"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutManagerCompat is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" ShortcutManager.class).getDynamicShortcuts();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="452"
- column="44"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.content.pm.ShortcutManagerCompat 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 (!context.getSystemService(ShortcutManager.class).updateShortcuts(shortcuts)) {"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="490"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutManagerCompat is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" if (!context.getSystemService(ShortcutManager.class).updateShortcuts(shortcuts)) {"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="490"
- column="66"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.content.pm.ShortcutManagerCompat 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=" context.getSystemService(ShortcutManager.class)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="554"
- column="21"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutManagerCompat is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" .disableShortcuts(shortcutIds, disabledMessage);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="555"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.content.pm.ShortcutManagerCompat 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=" context.getSystemService(ShortcutManager.class).enableShortcuts(shortcutIds);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="582"
- column="21"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutManagerCompat is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" context.getSystemService(ShortcutManager.class).enableShortcuts(shortcutIds);"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="582"
- column="61"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.content.pm.ShortcutManagerCompat 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=" context.getSystemService(ShortcutManager.class).removeDynamicShortcuts(shortcutIds);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="598"
- column="21"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutManagerCompat is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" context.getSystemService(ShortcutManager.class).removeDynamicShortcuts(shortcutIds);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="598"
- column="61"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.content.pm.ShortcutManagerCompat 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=" context.getSystemService(ShortcutManager.class).removeAllDynamicShortcuts();"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="613"
- column="21"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutManagerCompat is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" context.getSystemService(ShortcutManager.class).removeAllDynamicShortcuts();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="613"
- column="61"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.content.pm.ShortcutManagerCompat 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=" context.getSystemService(ShortcutManager.class).removeLongLivedShortcuts(shortcutIds);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="637"
- column="17"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.content.pm.ShortcutManagerCompat 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=" context.getSystemService(ShortcutManager.class).pushDynamicShortcut("
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="687"
- column="21"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.content.pm.ShortcutManagerCompat 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=" final ShortcutManager sm = context.getSystemService(ShortcutManager.class);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="690"
- column="48"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutManagerCompat is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" if (sm.isRateLimitingActive()) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="691"
- column="20"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutManagerCompat is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" final List<ShortcutInfo> shortcuts = sm.getDynamicShortcuts();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="694"
- column="53"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutManagerCompat is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" sm.removeDynamicShortcuts(Arrays.asList("
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="696"
- column="20"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 25, the call containing class androidx.core.content.pm.ShortcutManagerCompat is not annotated with @RequiresApi(x) where x is at least 25. Either annotate the containing class with at least @RequiresApi(25) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(25)."
- errorLine1=" sm.addDynamicShortcuts(Arrays.asList(shortcut.toShortcutInfo()));"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="699"
- column="16"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.content.pm.ShortcutManagerCompat 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=" Build.VERSION.SDK_INT < 19 || am == null || am.isLowRamDevice();"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/content/pm/ShortcutManagerCompat.java"
- line="739"
- column="64"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.app.TaskStackBuilder 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=" return PendingIntent.getActivities(mSourceContext, requestCode, intents, flags,"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/app/TaskStackBuilder.java"
- line="341"
- column="34"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.text.TextUtilsCompat 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 TextUtils.getLayoutDirectionFromLocale(locale);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/text/TextUtilsCompat.java"
- line="91"
- column="30"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.widget.TextViewCompat 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=" textView.setCompoundDrawablesRelative(start, top, end, bottom);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/TextViewCompat.java"
- line="152"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.widget.TextViewCompat 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=" boolean rtl = textView.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL;"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/TextViewCompat.java"
- line="154"
- column="36"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.widget.TextViewCompat 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=" textView.setCompoundDrawablesRelativeWithIntrinsicBounds(start, top, end, bottom);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/TextViewCompat.java"
- line="179"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.widget.TextViewCompat 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=" boolean rtl = textView.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL;"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/TextViewCompat.java"
- line="181"
- column="36"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.widget.TextViewCompat 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=" textView.setCompoundDrawablesRelativeWithIntrinsicBounds(start, top, end, bottom);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/TextViewCompat.java"
- line="211"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.widget.TextViewCompat 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=" boolean rtl = textView.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL;"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/TextViewCompat.java"
- line="213"
- column="36"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.widget.TextViewCompat 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=" return textView.getMaxLines();"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/TextViewCompat.java"
- line="227"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.widget.TextViewCompat 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=" return textView.getMinLines();"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/TextViewCompat.java"
- line="253"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.widget.TextViewCompat 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.setTextAppearance(resId);"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/TextViewCompat.java"
- line="284"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.widget.TextViewCompat 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 textView.getCompoundDrawablesRelative();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/TextViewCompat.java"
- line="296"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.widget.TextViewCompat 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=" final boolean rtl = textView.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL;"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/TextViewCompat.java"
- line="299"
- column="42"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.widget.TextViewCompat 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=" textView.setAutoSizeTextTypeWithDefaults(autoSizeTextType);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/TextViewCompat.java"
- line="327"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.widget.TextViewCompat 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=" textView.setAutoSizeTextTypeUniformWithConfiguration("
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/TextViewCompat.java"
- line="362"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.widget.TextViewCompat 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=" textView.setAutoSizeTextTypeUniformWithPresetSizes(presetSizes, unit);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/TextViewCompat.java"
- line="388"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.widget.TextViewCompat 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 textView.getAutoSizeTextType();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/TextViewCompat.java"
- line="407"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.widget.TextViewCompat 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 textView.getAutoSizeStepGranularity();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/TextViewCompat.java"
- line="423"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.widget.TextViewCompat 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 textView.getAutoSizeMinTextSize();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/TextViewCompat.java"
- line="440"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.widget.TextViewCompat 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 textView.getAutoSizeMaxTextSize();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/TextViewCompat.java"
- line="457"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.widget.TextViewCompat 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 textView.getAutoSizeTextAvailableSizes();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/TextViewCompat.java"
- line="474"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.widget.TextViewCompat 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=" textView.setFirstBaselineToTopHeight(firstBaselineToTopHeight);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/TextViewCompat.java"
- line="695"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.widget.TextViewCompat 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=" || textView.getIncludeFontPadding()) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/TextViewCompat.java"
- line="704"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.widget.TextViewCompat 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=" || textView.getIncludeFontPadding()) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/TextViewCompat.java"
- line="745"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.widget.TextViewCompat 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 PrecomputedTextCompat.Params(textView.getTextMetricsParams());"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/TextViewCompat.java"
- line="816"
- column="62"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.widget.TextViewCompat 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=" builder.setBreakStrategy(textView.getBreakStrategy());"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/TextViewCompat.java"
- line="821"
- column="51"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.widget.TextViewCompat 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=" builder.setHyphenationFrequency(textView.getHyphenationFrequency());"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/TextViewCompat.java"
- line="822"
- column="58"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.widget.TextViewCompat 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=" textView.setTextDirection(getTextDirection(params.getTextDirection()));"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/TextViewCompat.java"
- line="843"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.widget.TextViewCompat 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.setBreakStrategy(params.getBreakStrategy());"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/TextViewCompat.java"
- line="866"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.widget.TextViewCompat 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.setHyphenationFrequency(params.getHyphenationFrequency());"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/TextViewCompat.java"
- line="867"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.widget.TextViewCompat 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=" DecimalFormatSymbols.getInstance(textView.getTextLocale());"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/TextViewCompat.java"
- line="919"
- column="67"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.widget.TextViewCompat 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=" DecimalFormatSymbols.getInstance(textView.getTextLocale());"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/TextViewCompat.java"
- line="919"
- column="46"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.widget.TextViewCompat 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 String zero = symbols.getDigitStrings()[0];"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/TextViewCompat.java"
- line="920"
- column="45"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.widget.TextViewCompat 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=" final boolean defaultIsRtl = (textView.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/TextViewCompat.java"
- line="935"
- column="48"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.widget.TextViewCompat 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=" switch (textView.getTextDirection()) {"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/TextViewCompat.java"
- line="938"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.widget.TextViewCompat 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.setCompoundDrawableTintList(tint);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/TextViewCompat.java"
- line="995"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.widget.TextViewCompat 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=" return textView.getCompoundDrawableTintList();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/TextViewCompat.java"
- line="1011"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.widget.TextViewCompat 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.setCompoundDrawableTintMode(tintMode);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/TextViewCompat.java"
- line="1029"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.widget.TextViewCompat 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=" return textView.getCompoundDrawableTintMode();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/widget/TextViewCompat.java"
- line="1046"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.core.os.TraceCompat 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 Trace.isEnabled();"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/os/TraceCompat.java"
- line="79"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.core.os.TraceCompat 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=" Trace.beginSection(sectionName);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/os/TraceCompat.java"
- line="105"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.core.os.TraceCompat 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=" Trace.endSection();"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/os/TraceCompat.java"
- line="118"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.core.os.TraceCompat 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=" Trace.beginAsyncSection(methodName, cookie);"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/os/TraceCompat.java"
- line="134"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.core.os.TraceCompat 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=" Trace.endAsyncSection(methodName, cookie);"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/os/TraceCompat.java"
- line="154"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.core.os.TraceCompat 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=" Trace.setCounter(counterName, counterValue);"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/os/TraceCompat.java"
- line="173"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.net.TrafficStatsCompat 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=" TrafficStats.tagDatagramSocket(socket);"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/net/TrafficStatsCompat.java"
- line="138"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.net.TrafficStatsCompat 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=" TrafficStats.untagDatagramSocket(socket);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/net/TrafficStatsCompat.java"
- line="155"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.graphics.TypefaceCompatUtil 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=" try (ParcelFileDescriptor pfd = resolver.openFileDescriptor(uri, "r", cancellationSignal)) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/TypefaceCompatUtil.java"
- line="104"
- column="50"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.os.UserManagerCompat 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=" return context.getSystemService(UserManager.class).isUserUnlocked();"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/os/UserManagerCompat.java"
- line="42"
- column="28"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.os.UserManagerCompat 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 context.getSystemService(UserManager.class).isUserUnlocked();"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/os/UserManagerCompat.java"
- line="42"
- column="64"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.view.ViewCompat 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=" v.setAutofillHints(autofillHints);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="761"
- column="15"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.view.ViewCompat 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 v.getImportantForAutofill();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="782"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.view.ViewCompat 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=" v.setImportantForAutofill(mode);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="826"
- column="15"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.view.ViewCompat 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 v.isImportantForAutofill();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="895"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.core.view.ViewCompat 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 v.getAccessibilityDelegate();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="945"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.ViewCompat 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=" return view.hasTransientState();"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="988"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.ViewCompat 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=" view.setHasTransientState(hasTransientState);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1002"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.ViewCompat 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=" view.postInvalidateOnAnimation();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1017"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.ViewCompat 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=" view.postInvalidateOnAnimation(left, top, right, bottom);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1039"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.ViewCompat 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=" view.postOnAnimation(action);"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1057"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.ViewCompat 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=" view.postOnAnimationDelayed(action, delayMillis);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1079"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.ViewCompat 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=" return view.getImportantForAccessibility();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1101"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.ViewCompat 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=" view.setImportantForAccessibility(mode);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1128"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.ViewCompat 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=" view.setImportantForAccessibility(mode);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1137"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.ViewCompat 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 view.isImportantForAccessibility();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1179"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.ViewCompat 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=" return view.performAccessibilityAction(action, arguments);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1201"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.ViewCompat 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=" AccessibilityNodeProvider provider = view.getAccessibilityNodeProvider();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1436"
- column="55"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.view.ViewCompat 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 view.getLabelFor();"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1531"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.view.ViewCompat 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=" view.setLabelFor(labeledId);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1545"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.view.ViewCompat 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=" view.setLayerPaint(paint);"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1581"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.view.ViewCompat 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 view.getLayoutDirection();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1604"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.view.ViewCompat 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=" view.setLayoutDirection(layoutDirection);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1628"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.ViewCompat 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=" return view.getParentForAccessibility();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1642"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.view.ViewCompat 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 view.requireViewById(id);"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1665"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.ViewCompat 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=" return view.getAccessibilityLiveRegion();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1782"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.ViewCompat 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=" view.setAccessibilityLiveRegion(mode);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1818"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.view.ViewCompat 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 view.getPaddingStart();"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1833"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.view.ViewCompat 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 view.getPaddingEnd();"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1849"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.view.ViewCompat 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=" view.setPaddingRelative(start, top, end, bottom);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1870"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.view.ViewCompat 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=" view.dispatchStartTemporaryDetach();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1893"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.view.ViewCompat 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=" view.dispatchFinishTemporaryDetach();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1916"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.ViewCompat 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=" return view.getMinimumWidth();"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1993"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.ViewCompat 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=" return view.getMinimumHeight();"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2027"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.ViewCompat 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=" view.setElevation(elevation);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2334"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.ViewCompat 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 view.getElevation();"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2345"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.ViewCompat 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=" view.setTranslationZ(translationZ);"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2355"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.ViewCompat 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 view.getTranslationZ();"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2366"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.ViewCompat 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=" view.setTransitionName(transitionName);"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2380"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.ViewCompat 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 view.getTransitionName();"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2402"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.ViewCompat 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=" return view.getWindowSystemUiVisibility();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2415"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.view.ViewCompat is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" view.requestApplyInsets();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2426"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.ViewCompat 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=" view.requestFitSystemWindows();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2428"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.ViewCompat 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=" return v.getFitsSystemWindows();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2471"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.view.ViewCompat is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" WindowInsets result = view.onApplyWindowInsets(unwrapped);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2532"
- column="44"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.core.view.ViewCompat is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" final WindowInsets result = view.dispatchApplyWindowInsets(unwrapped);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2560"
- column="50"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.core.view.ViewCompat 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=" view.setSystemGestureExclusionRects(rects);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2584"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.core.view.ViewCompat 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 view.getSystemGestureExclusionRects();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2599"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.ViewCompat 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=" return view.hasOverlappingRendering();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2856"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.view.ViewCompat 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 view.isPaddingRelative();"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2869"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.ViewCompat 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=" view.setBackground(background);"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2882"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.ViewCompat 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 view.getBackgroundTintList();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2896"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.ViewCompat 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=" view.setBackgroundTintList(tintList);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2912"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.ViewCompat 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=" boolean hasTint = (view.getBackgroundTintList() != null)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2918"
- column="41"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.ViewCompat 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=" || (view.getBackgroundTintMode() != null);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2919"
- column="34"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.ViewCompat 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=" view.setBackground(background);"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2924"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.ViewCompat 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 view.getBackgroundTintMode();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2941"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.ViewCompat 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=" view.setBackgroundTintMode(mode);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2959"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.ViewCompat 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=" boolean hasTint = (view.getBackgroundTintList() != null)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2965"
- column="41"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.ViewCompat 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=" || (view.getBackgroundTintMode() != null);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2966"
- column="34"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.ViewCompat 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=" view.setBackground(background);"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2971"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.ViewCompat 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=" view.setNestedScrollingEnabled(enabled);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2997"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.ViewCompat 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 view.isNestedScrollingEnabled();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3020"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.ViewCompat 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 view.startNestedScroll(axes);"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3042"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.ViewCompat 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=" view.stopNestedScroll();"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3061"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.ViewCompat 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 view.hasNestedScrollingParent();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3078"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.ViewCompat 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 view.dispatchNestedScroll(dxConsumed, dyConsumed, dxUnconsumed, dyUnconsumed,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3107"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.ViewCompat 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 view.dispatchNestedPreScroll(dx, dy, consumed, offsetInWindow);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3138"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.ViewCompat 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 view.dispatchNestedFling(velocityX, velocityY, consumed);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3362"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.ViewCompat 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 view.dispatchNestedPreFling(velocityX, velocityY);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3405"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.core.view.ViewCompat 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=" return view.isInLayout();"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3427"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.ViewCompat 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=" return view.isLaidOut();"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3438"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.ViewCompat 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=" return view.isLayoutDirectionResolved();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3455"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.ViewCompat 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 view.getZ();"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3469"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.ViewCompat 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=" view.setZ(z);"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3488"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.core.view.ViewCompat 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=" view.setClipBounds(clipBounds);"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3607"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.core.view.ViewCompat 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=" return view.getClipBounds();"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3622"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.ViewCompat 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=" return view.isAttachedToWindow();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3632"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 15, the call containing class androidx.core.view.ViewCompat is not annotated with @RequiresApi(x) where x is at least 15. Either annotate the containing class with at least @RequiresApi(15) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(15)."
- errorLine1=" return view.hasOnClickListeners();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3644"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.view.ViewCompat 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=" view.setScrollIndicators(indicators);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3662"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.view.ViewCompat 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=" view.setScrollIndicators(indicators, mask);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3696"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.core.view.ViewCompat 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=" return view.getScrollIndicators();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3714"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.view.ViewCompat 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=" view.setPointerIcon((PointerIcon) (pointerIcon != null"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3725"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.view.ViewCompat 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 view.getDisplay();"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3744"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.view.ViewCompat 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=" view.setTooltipText(tooltipText);"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3764"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.view.ViewCompat 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 v.startDragAndDrop(data, shadowBuilder, localState, flags);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3774"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.view.ViewCompat 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=" v.cancelDragAndDrop();"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3785"
- column="15"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.core.view.ViewCompat 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=" v.updateDragShadow(shadowBuilder);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3794"
- column="15"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.view.ViewCompat 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 view.getNextClusterForwardId();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3806"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.view.ViewCompat 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=" view.setNextClusterForwardId(nextClusterForwardId);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3820"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.view.ViewCompat 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 view.isKeyboardNavigationCluster();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3832"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.view.ViewCompat 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=" view.setKeyboardNavigationCluster(isCluster);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3846"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.view.ViewCompat 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 view.isFocusedByDefault();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3861"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.view.ViewCompat 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=" view.setFocusedByDefault(isFocusedByDefault);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3880"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.view.ViewCompat 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 view.keyboardNavigationClusterSearch(currentCluster, direction);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3898"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.view.ViewCompat 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=" view.addKeyboardNavigationClusters(views, direction);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3914"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.view.ViewCompat 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 view.restoreDefaultFocus();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3928"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.view.ViewCompat 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 view.hasExplicitFocusable();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3950"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.core.view.ViewCompat 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 View.generateViewId();"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3963"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class null 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 view.isScreenReaderFocusable();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="4160"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class null 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=" view.setScreenReaderFocusable(value);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="4166"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class null 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 view.getAccessibilityPaneTitle();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="4232"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class null 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=" view.setAccessibilityPaneTitle(value);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="4238"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class null 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 view.isAccessibilityHeading();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="4312"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class null 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=" view.setAccessibilityHeading(value);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="4318"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.ViewCompat 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=" event.setContentChangeTypes(changeType);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="4413"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.ViewCompat 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=" event.setContentChangeTypes(changeType);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="4423"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.ViewCompat 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=" view.getParent().notifySubtreeAccessibilityStateChanged(view, view, changeType);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="4430"
- column="34"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.ViewCompat.AccessibilityPaneVisibilityManager 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=" if (pane.isAttachedToWindow()) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="4490"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.ViewCompat.AccessibilityPaneVisibilityManager 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=" view.getViewTreeObserver().removeOnGlobalLayoutListener(this);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewCompat.java"
- line="4521"
- column="40"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.view.ViewConfigurationCompat 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 config.getScaledHorizontalScrollFactor();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewConfigurationCompat.java"
- line="82"
- column="27"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.core.view.ViewConfigurationCompat 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 config.getScaledVerticalScrollFactor();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewConfigurationCompat.java"
- line="99"
- column="27"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.view.ViewConfigurationCompat 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 config.getScaledHoverSlop();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewConfigurationCompat.java"
- line="129"
- column="27"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.view.ViewConfigurationCompat 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 config.shouldShowMenuShortcutsWhenKeyboardPresent();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewConfigurationCompat.java"
- line="142"
- column="27"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.core.view.ViewGroupCompat 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=" return group.getLayoutMode();"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewGroupCompat.java"
- line="115"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.core.view.ViewGroupCompat 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=" group.setLayoutMode(mode);"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewGroupCompat.java"
- line="131"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.ViewGroupCompat 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=" group.setTransitionGroup(isTransitionGroup);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewGroupCompat.java"
- line="145"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.ViewGroupCompat 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 group.isTransitionGroup();"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewGroupCompat.java"
- line="158"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.ViewGroupCompat 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 group.getNestedScrollAxes();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewGroupCompat.java"
- line="182"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.ViewParentCompat 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 parent.onStartNestedScroll(child, target, nestedScrollAxes);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewParentCompat.java"
- line="215"
- column="35"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.ViewParentCompat 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=" parent.onNestedScrollAccepted(child, target, nestedScrollAxes);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewParentCompat.java"
- line="256"
- column="28"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.ViewParentCompat 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=" parent.onStopNestedScroll(target);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewParentCompat.java"
- line="289"
- column="28"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.ViewParentCompat 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=" parent.onNestedScroll(target, dxConsumed, dyConsumed, dxUnconsumed,"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewParentCompat.java"
- line="346"
- column="32"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.ViewParentCompat 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=" parent.onNestedPreScroll(target, dx, dy, consumed);"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewParentCompat.java"
- line="391"
- column="28"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.ViewParentCompat 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 parent.onNestedFling(target, velocityX, velocityY, consumed);"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewParentCompat.java"
- line="426"
- column="31"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.ViewParentCompat 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 parent.onNestedPreFling(target, velocityX, velocityY);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewParentCompat.java"
- line="463"
- column="31"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.ViewParentCompat 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=" parent.notifySubtreeAccessibilityStateChanged(child, source, changeType);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewParentCompat.java"
- line="493"
- column="20"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.ViewPropertyAnimatorCompat 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=" view.animate().withEndAction(runnable);"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewPropertyAnimatorCompat.java"
- line="218"
- column="32"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.core.view.ViewPropertyAnimatorCompat 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=" return (Interpolator) view.animate().getInterpolator();"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewPropertyAnimatorCompat.java"
- line="269"
- column="54"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.ViewPropertyAnimatorCompat 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=" view.animate().translationZBy(value);"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewPropertyAnimatorCompat.java"
- line="572"
- column="32"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.ViewPropertyAnimatorCompat 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=" view.animate().translationZ(value);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewPropertyAnimatorCompat.java"
- line="591"
- column="32"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.ViewPropertyAnimatorCompat 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=" view.animate().z(value);"
- errorLine2=" ~">
- <location
- file="src/main/java/androidx/core/view/ViewPropertyAnimatorCompat.java"
- line="610"
- column="32"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.core.view.ViewPropertyAnimatorCompat 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=" view.animate().zBy(value);"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/core/view/ViewPropertyAnimatorCompat.java"
- line="629"
- column="32"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.ViewPropertyAnimatorCompat 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=" view.animate().withLayer();"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewPropertyAnimatorCompat.java"
- line="682"
- column="32"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.core.view.ViewPropertyAnimatorCompat 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=" view.animate().withStartAction(runnable);"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewPropertyAnimatorCompat.java"
- line="710"
- column="32"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.ViewPropertyAnimatorCompat 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=" view.animate().setUpdateListener(wrapped);"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/ViewPropertyAnimatorCompat.java"
- line="787"
- column="32"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.core.view.WindowCompat 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 window.requireViewById(id);"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/WindowCompat.java"
- line="89"
- column="27"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.view.WindowInsetsCompat 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=" if (view != null && view.isAttachedToWindow()) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/view/WindowInsetsCompat.java"
- line="170"
- column="34"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.graphics.drawable.WrappedDrawableApi14 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=" mDrawable.setAutoMirrored(mirrored);"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/drawable/WrappedDrawableApi14.java"
- line="198"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.core.graphics.drawable.WrappedDrawableApi14 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=" return mDrawable.isAutoMirrored();"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/graphics/drawable/WrappedDrawableApi14.java"
- line="204"
- column="26"/>
- </issue>
-
- <issue
id="KotlinPropertyAccess"
message="The getter return type (`AccessibilityNodeInfoCompat`) and setter parameter type (`View`) getter and setter methods for property `parent` should have exactly the same type to allow be accessed as a property from Kotlin; see https://android.github.io/kotlin-guides/interop.html#property-prefixes"
errorLine1=" public AccessibilityNodeInfoCompat getParent() {"
@@ -11930,11 +11919,11 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3532"
+ line="3533"
column="40"/>
<location
file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3554"
+ line="3555"
column="17"/>
</issue>
@@ -11945,11 +11934,11 @@
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3597"
+ line="3598"
column="40"/>
<location
file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3619"
+ line="3620"
column="17"/>
</issue>
@@ -12019,7 +12008,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/os/HandlerCompat.java"
- line="142"
+ line="181"
column="37"/>
</issue>
@@ -12041,7 +12030,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/provider/SelfDestructiveThread.java"
- line="165"
+ line="169"
column="58"/>
</issue>
@@ -12052,7 +12041,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1077"
+ line="1078"
column="13"/>
</issue>
@@ -13394,7 +13383,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3377"
+ line="3378"
column="12"/>
</issue>
@@ -13405,7 +13394,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3377"
+ line="3378"
column="81"/>
</issue>
@@ -13416,7 +13405,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3403"
+ line="3404"
column="12"/>
</issue>
@@ -13427,7 +13416,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3532"
+ line="3533"
column="12"/>
</issue>
@@ -13438,7 +13427,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3554"
+ line="3555"
column="36"/>
</issue>
@@ -13449,7 +13438,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3581"
+ line="3582"
column="36"/>
</issue>
@@ -13460,7 +13449,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3597"
+ line="3598"
column="12"/>
</issue>
@@ -13471,7 +13460,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3619"
+ line="3620"
column="35"/>
</issue>
@@ -13482,7 +13471,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3645"
+ line="3646"
column="35"/>
</issue>
@@ -13493,7 +13482,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java"
- line="3658"
+ line="3659"
column="12"/>
</issue>
@@ -14637,7 +14626,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/content/ContextCompat.java"
- line="580"
+ line="596"
column="19"/>
</issue>
@@ -14648,7 +14637,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/core/content/ContextCompat.java"
- line="662"
+ line="678"
column="19"/>
</issue>
@@ -14659,7 +14648,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/core/content/ContextCompat.java"
- line="662"
+ line="678"
column="44"/>
</issue>
@@ -15088,7 +15077,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/core/provider/FontRequest.java"
- line="142"
+ line="156"
column="12"/>
</issue>
@@ -15099,7 +15088,7 @@
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/content/res/FontResourcesParserCompat.java"
- line="165"
+ line="181"
column="55"/>
</issue>
@@ -15110,7 +15099,7 @@
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/core/content/res/FontResourcesParserCompat.java"
- line="165"
+ line="181"
column="77"/>
</issue>
@@ -15121,7 +15110,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/content/res/FontResourcesParserCompat.java"
- line="245"
+ line="269"
column="19"/>
</issue>
@@ -15132,51 +15121,18 @@
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/core/content/res/FontResourcesParserCompat.java"
- line="245"
+ line="269"
column="48"/>
</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 Typeface getFontSync(final Context context, final FontRequest request,"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/core/provider/FontsContractCompat.java"
- line="228"
- 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 Typeface getFontSync(final Context context, final FontRequest request,"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/core/provider/FontsContractCompat.java"
- line="228"
- column="46"/>
- </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 Typeface getFontSync(final Context context, final FontRequest request,"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/core/provider/FontsContractCompat.java"
- line="228"
- column="69"/>
- </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 FontInfo[] getFonts() {"
errorLine2=" ~~~~~~~~~~">
<location
file="src/main/java/androidx/core/provider/FontsContractCompat.java"
- line="436"
+ line="399"
column="16"/>
</issue>
@@ -15187,51 +15143,84 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/core/provider/FontsContractCompat.java"
- line="501"
+ line="486"
column="41"/>
</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 Map<Uri, ByteBuffer> prepareFontData(Context context, FontInfo[] fonts,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
+ errorLine1=" public static Typeface getFontSync("
+ errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/core/provider/FontsContractCompat.java"
- line="688"
+ line="543"
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 Map<Uri, ByteBuffer> prepareFontData(Context context, FontInfo[] fonts,"
- errorLine2=" ~~~~~~~">
+ errorLine1=" final Context context,"
+ errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/core/provider/FontsContractCompat.java"
- line="688"
- column="56"/>
+ line="544"
+ 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 Map<Uri, ByteBuffer> prepareFontData(Context context, FontInfo[] fonts,"
- errorLine2=" ~~~~~~~~~~">
+ errorLine1=" final FontRequest request,"
+ errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/provider/FontsContractCompat.java"
- line="688"
- column="73"/>
+ line="545"
+ 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=" CancellationSignal cancellationSignal) {"
+ errorLine1=" public static Map<Uri, ByteBuffer> prepareFontData("
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/provider/FontsContractCompat.java"
+ line="588"
+ 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=" Context context,"
+ errorLine2=" ~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/provider/FontsContractCompat.java"
+ line="589"
+ column="13"/>
+ </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=" FontInfo[] fonts,"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/core/provider/FontsContractCompat.java"
+ line="590"
+ column="13"/>
+ </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=" CancellationSignal cancellationSignal"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/provider/FontsContractCompat.java"
- line="689"
+ line="591"
column="13"/>
</issue>
@@ -16595,7 +16584,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/widget/NestedScrollView.java"
- line="96"
+ line="97"
column="29"/>
</issue>
@@ -16606,7 +16595,7 @@
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/core/widget/NestedScrollView.java"
- line="246"
+ line="247"
column="31"/>
</issue>
@@ -16617,7 +16606,7 @@
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/core/widget/NestedScrollView.java"
- line="252"
+ line="253"
column="60"/>
</issue>
@@ -16628,7 +16617,7 @@
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/core/widget/NestedScrollView.java"
- line="252"
+ line="253"
column="76"/>
</issue>
@@ -16639,7 +16628,7 @@
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/core/widget/NestedScrollView.java"
- line="286"
+ line="287"
column="31"/>
</issue>
@@ -16650,7 +16639,7 @@
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/core/widget/NestedScrollView.java"
- line="292"
+ line="293"
column="60"/>
</issue>
@@ -16661,7 +16650,7 @@
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/core/widget/NestedScrollView.java"
- line="292"
+ line="293"
column="76"/>
</issue>
@@ -16672,7 +16661,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/widget/NestedScrollView.java"
- line="471"
+ line="472"
column="25"/>
</issue>
@@ -16683,7 +16672,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/widget/NestedScrollView.java"
- line="480"
+ line="481"
column="25"/>
</issue>
@@ -16694,7 +16683,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/widget/NestedScrollView.java"
- line="489"
+ line="490"
column="25"/>
</issue>
@@ -16705,7 +16694,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/widget/NestedScrollView.java"
- line="489"
+ line="490"
column="37"/>
</issue>
@@ -16716,7 +16705,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/widget/NestedScrollView.java"
- line="498"
+ line="499"
column="25"/>
</issue>
@@ -16727,7 +16716,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/widget/NestedScrollView.java"
- line="498"
+ line="499"
column="48"/>
</issue>
@@ -16738,7 +16727,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/core/widget/NestedScrollView.java"
- line="619"
+ line="620"
column="37"/>
</issue>
@@ -16749,7 +16738,7 @@
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/widget/NestedScrollView.java"
- line="716"
+ line="717"
column="42"/>
</issue>
@@ -16760,7 +16749,7 @@
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/widget/NestedScrollView.java"
- line="827"
+ line="828"
column="33"/>
</issue>
@@ -16771,7 +16760,7 @@
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/widget/NestedScrollView.java"
- line="1010"
+ line="1011"
column="41"/>
</issue>
@@ -16782,7 +16771,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/widget/NestedScrollView.java"
- line="1573"
+ line="1574"
column="33"/>
</issue>
@@ -16793,7 +16782,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/widget/NestedScrollView.java"
- line="1589"
+ line="1590"
column="44"/>
</issue>
@@ -16804,7 +16793,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/widget/NestedScrollView.java"
- line="1724"
+ line="1725"
column="60"/>
</issue>
@@ -16815,7 +16804,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/widget/NestedScrollView.java"
- line="1790"
+ line="1791"
column="35"/>
</issue>
@@ -16826,7 +16815,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/widget/NestedScrollView.java"
- line="1790"
+ line="1791"
column="47"/>
</issue>
@@ -16837,7 +16826,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/widget/NestedScrollView.java"
- line="1810"
+ line="1811"
column="13"/>
</issue>
@@ -16848,7 +16837,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/widget/NestedScrollView.java"
- line="1837"
+ line="1838"
column="50"/>
</issue>
@@ -16859,7 +16848,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/widget/NestedScrollView.java"
- line="1837"
+ line="1838"
column="62"/>
</issue>
@@ -16870,7 +16859,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/core/widget/NestedScrollView.java"
- line="1997"
+ line="1998"
column="22"/>
</issue>
@@ -16881,7 +16870,7 @@
errorLine2=" ~~~~~~~~~~">
<location
file="src/main/java/androidx/core/widget/NestedScrollView.java"
- line="2078"
+ line="2079"
column="43"/>
</issue>
@@ -16892,7 +16881,7 @@
errorLine2=" ~~~~~~~~~~">
<location
file="src/main/java/androidx/core/widget/NestedScrollView.java"
- line="2091"
+ line="2092"
column="15"/>
</issue>
@@ -18146,7 +18135,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/core/content/res/ResourcesCompat.java"
- line="306"
+ line="307"
column="54"/>
</issue>
@@ -18157,7 +18146,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/core/content/res/ResourcesCompat.java"
- line="374"
+ line="376"
column="19"/>
</issue>
@@ -18168,7 +18157,7 @@
errorLine2=" ~~~~~~~~~~">
<location
file="src/main/java/androidx/core/content/res/ResourcesCompat.java"
- line="374"
+ line="376"
column="79"/>
</issue>
@@ -18355,7 +18344,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/core/provider/SelfDestructiveThread.java"
- line="79"
+ line="83"
column="13"/>
</issue>
@@ -18366,7 +18355,7 @@
errorLine2=" ~">
<location
file="src/main/java/androidx/core/provider/SelfDestructiveThread.java"
- line="128"
+ line="132"
column="22"/>
</issue>
@@ -18377,7 +18366,7 @@
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/provider/SelfDestructiveThread.java"
- line="136"
+ line="140"
column="40"/>
</issue>
@@ -18388,7 +18377,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/provider/SelfDestructiveThread.java"
- line="136"
+ line="140"
column="68"/>
</issue>
@@ -18399,7 +18388,7 @@
errorLine2=" ~">
<location
file="src/main/java/androidx/core/provider/SelfDestructiveThread.java"
- line="165"
+ line="169"
column="16"/>
</issue>
@@ -18410,7 +18399,7 @@
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/provider/SelfDestructiveThread.java"
- line="165"
+ line="169"
column="36"/>
</issue>
@@ -18641,7 +18630,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="100"
+ line="107"
column="12"/>
</issue>
@@ -18652,7 +18641,7 @@
errorLine2=" ~~~~~~~~~~">
<location
file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="318"
+ line="325"
column="12"/>
</issue>
@@ -18663,7 +18652,7 @@
errorLine2=" ~~~~~~~~~~">
<location
file="src/main/java/androidx/core/content/pm/ShortcutInfoCompat.java"
- line="652"
+ line="662"
column="32"/>
</issue>
@@ -19246,7 +19235,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/core/graphics/TypefaceCompat.java"
- line="146"
+ line="174"
column="77"/>
</issue>
@@ -19664,7 +19653,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/core/graphics/TypefaceCompatUtil.java"
- line="62"
+ line="68"
column="36"/>
</issue>
@@ -19675,7 +19664,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/core/graphics/TypefaceCompatUtil.java"
- line="102"
+ line="108"
column="35"/>
</issue>
@@ -19686,7 +19675,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/graphics/TypefaceCompatUtil.java"
- line="102"
+ line="108"
column="52"/>
</issue>
@@ -19697,7 +19686,7 @@
errorLine2=" ~~~">
<location
file="src/main/java/androidx/core/graphics/TypefaceCompatUtil.java"
- line="102"
+ line="108"
column="91"/>
</issue>
@@ -19708,7 +19697,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/core/graphics/TypefaceCompatUtil.java"
- line="123"
+ line="129"
column="49"/>
</issue>
@@ -19719,7 +19708,7 @@
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/core/graphics/TypefaceCompatUtil.java"
- line="123"
+ line="129"
column="66"/>
</issue>
@@ -19730,7 +19719,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/graphics/TypefaceCompatUtil.java"
- line="141"
+ line="147"
column="38"/>
</issue>
@@ -19741,7 +19730,7 @@
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/graphics/TypefaceCompatUtil.java"
- line="141"
+ line="147"
column="49"/>
</issue>
@@ -19752,7 +19741,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/graphics/TypefaceCompatUtil.java"
- line="164"
+ line="170"
column="38"/>
</issue>
@@ -19763,7 +19752,7 @@
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/core/graphics/TypefaceCompatUtil.java"
- line="164"
+ line="170"
column="49"/>
</issue>
@@ -19774,7 +19763,7 @@
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/core/graphics/TypefaceCompatUtil.java"
- line="174"
+ line="180"
column="37"/>
</issue>
@@ -19807,7 +19796,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="537"
+ line="538"
column="49"/>
</issue>
@@ -19818,7 +19807,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="551"
+ line="552"
column="47"/>
</issue>
@@ -19829,7 +19818,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="568"
+ line="569"
column="41"/>
</issue>
@@ -19840,7 +19829,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="588"
+ line="589"
column="42"/>
</issue>
@@ -19851,7 +19840,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="628"
+ line="629"
column="53"/>
</issue>
@@ -19862,7 +19851,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="628"
+ line="629"
column="61"/>
</issue>
@@ -19873,7 +19862,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="660"
+ line="661"
column="55"/>
</issue>
@@ -19884,7 +19873,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="660"
+ line="661"
column="63"/>
</issue>
@@ -19895,7 +19884,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="692"
+ line="693"
column="13"/>
</issue>
@@ -19906,7 +19895,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="722"
+ line="723"
column="30"/>
</issue>
@@ -19917,7 +19906,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1055"
+ line="1056"
column="60"/>
</issue>
@@ -19928,7 +19917,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1076"
+ line="1077"
column="67"/>
</issue>
@@ -19939,7 +19928,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1199"
+ line="1200"
column="13"/>
</issue>
@@ -19950,7 +19939,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1405"
+ line="1406"
column="61"/>
</issue>
@@ -19961,7 +19950,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1434"
+ line="1435"
column="19"/>
</issue>
@@ -19972,7 +19961,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1454"
+ line="1455"
column="34"/>
</issue>
@@ -19983,7 +19972,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1493"
+ line="1494"
column="37"/>
</issue>
@@ -19994,7 +19983,7 @@
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1493"
+ line="1494"
column="74"/>
</issue>
@@ -20005,7 +19994,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1517"
+ line="1518"
column="36"/>
</issue>
@@ -20016,7 +20005,7 @@
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1579"
+ line="1580"
column="58"/>
</issue>
@@ -20027,7 +20016,7 @@
errorLine2=" ~~~~~~~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1640"
+ line="1641"
column="19"/>
</issue>
@@ -20038,7 +20027,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1684"
+ line="1685"
column="36"/>
</issue>
@@ -20049,7 +20038,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1721"
+ line="1722"
column="48"/>
</issue>
@@ -20060,7 +20049,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1738"
+ line="1739"
column="49"/>
</issue>
@@ -20071,7 +20060,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1752"
+ line="1753"
column="40"/>
</issue>
@@ -20082,7 +20071,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1944"
+ line="1945"
column="41"/>
</issue>
@@ -20093,7 +20082,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1958"
+ line="1959"
column="41"/>
</issue>
@@ -20104,7 +20093,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="1980"
+ line="1981"
column="36"/>
</issue>
@@ -20115,7 +20104,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2082"
+ line="2083"
column="40"/>
</issue>
@@ -20126,7 +20115,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2099"
+ line="2100"
column="40"/>
</issue>
@@ -20137,7 +20126,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2116"
+ line="2117"
column="33"/>
</issue>
@@ -20148,7 +20137,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2131"
+ line="2132"
column="29"/>
</issue>
@@ -20159,7 +20148,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2146"
+ line="2147"
column="29"/>
</issue>
@@ -20170,7 +20159,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2159"
+ line="2160"
column="36"/>
</issue>
@@ -20181,7 +20170,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2173"
+ line="2174"
column="37"/>
</issue>
@@ -20192,7 +20181,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2187"
+ line="2188"
column="37"/>
</issue>
@@ -20203,7 +20192,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2200"
+ line="2201"
column="34"/>
</issue>
@@ -20214,7 +20203,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2213"
+ line="2214"
column="34"/>
</issue>
@@ -20225,7 +20214,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2224"
+ line="2225"
column="35"/>
</issue>
@@ -20236,7 +20225,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2240"
+ line="2241"
column="34"/>
</issue>
@@ -20247,7 +20236,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2253"
+ line="2254"
column="35"/>
</issue>
@@ -20258,7 +20247,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2269"
+ line="2270"
column="34"/>
</issue>
@@ -20269,7 +20258,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2277"
+ line="2278"
column="37"/>
</issue>
@@ -20280,7 +20269,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2285"
+ line="2286"
column="38"/>
</issue>
@@ -20291,7 +20280,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2293"
+ line="2294"
column="38"/>
</issue>
@@ -20302,7 +20291,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2301"
+ line="2302"
column="35"/>
</issue>
@@ -20313,7 +20302,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2309"
+ line="2310"
column="35"/>
</issue>
@@ -20324,7 +20313,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2317"
+ line="2318"
column="30"/>
</issue>
@@ -20335,7 +20324,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2325"
+ line="2326"
column="30"/>
</issue>
@@ -20346,7 +20335,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2378"
+ line="2379"
column="62"/>
</issue>
@@ -20357,7 +20346,7 @@
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2444"
+ line="2445"
column="55"/>
</issue>
@@ -20368,7 +20357,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2485"
+ line="2486"
column="45"/>
</issue>
@@ -20379,7 +20368,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2499"
+ line="2500"
column="52"/>
</issue>
@@ -20390,7 +20379,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2820"
+ line="2830"
column="49"/>
</issue>
@@ -20401,7 +20390,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2836"
+ line="2846"
column="37"/>
</issue>
@@ -20412,7 +20401,7 @@
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2894"
+ line="2904"
column="19"/>
</issue>
@@ -20423,7 +20412,7 @@
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2910"
+ line="2920"
column="66"/>
</issue>
@@ -20434,7 +20423,7 @@
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2939"
+ line="2949"
column="19"/>
</issue>
@@ -20445,7 +20434,7 @@
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="2957"
+ line="2967"
column="66"/>
</issue>
@@ -20456,7 +20445,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3605"
+ line="3615"
column="58"/>
</issue>
@@ -20467,7 +20456,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3723"
+ line="3733"
column="59"/>
</issue>
@@ -20478,7 +20467,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3771"
+ line="3781"
column="61"/>
</issue>
@@ -20489,7 +20478,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3772"
+ line="3782"
column="13"/>
</issue>
@@ -20500,7 +20489,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3772"
+ line="3782"
column="51"/>
</issue>
@@ -20511,7 +20500,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3792"
+ line="3802"
column="58"/>
</issue>
@@ -20522,7 +20511,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3895"
+ line="3905"
column="19"/>
</issue>
@@ -20533,7 +20522,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="3895"
+ line="3905"
column="76"/>
</issue>
@@ -20544,7 +20533,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="4093"
+ line="4103"
column="37"/>
</issue>
@@ -20555,7 +20544,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="4093"
+ line="4103"
column="45"/>
</issue>
@@ -20566,7 +20555,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="4129"
+ line="4139"
column="49"/>
</issue>
@@ -20577,7 +20566,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="4148"
+ line="4158"
column="51"/>
</issue>
@@ -20588,7 +20577,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="4195"
+ line="4205"
column="50"/>
</issue>
@@ -20599,7 +20588,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="4195"
+ line="4205"
column="61"/>
</issue>
@@ -20610,7 +20599,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="4221"
+ line="4231"
column="19"/>
</issue>
@@ -20621,7 +20610,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="4221"
+ line="4231"
column="58"/>
</issue>
@@ -20632,7 +20621,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="4284"
+ line="4294"
column="50"/>
</issue>
@@ -20643,7 +20632,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/core/view/ViewCompat.java"
- line="4301"
+ line="4311"
column="48"/>
</issue>
diff --git a/cursoradapter/cursoradapter/lint-baseline.xml b/cursoradapter/cursoradapter/lint-baseline.xml
index 17fec5c..7bb7737 100644
--- a/cursoradapter/cursoradapter/lint-baseline.xml
+++ b/cursoradapter/cursoradapter/lint-baseline.xml
@@ -1,71 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
-
- <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=" protected Cursor mCursor;"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="62"
- column="15"/>
- </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=" protected Context mContext;"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="68"
- column="15"/>
- </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=" protected ChangeObserver mChangeObserver;"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="80"
- column="15"/>
- </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=" protected DataSetObserver mDataSetObserver;"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="86"
- column="15"/>
- </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=" protected CursorFilter mCursorFilter;"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="92"
- column="15"/>
- </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=" protected FilterQueryProvider mFilterQueryProvider;"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="98"
- column="15"/>
- </issue>
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="UnknownNullness"
@@ -74,7 +8,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="136"
+ line="87"
column="26"/>
</issue>
@@ -85,7 +19,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="136"
+ line="87"
column="43"/>
</issue>
@@ -96,7 +30,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="153"
+ line="104"
column="26"/>
</issue>
@@ -107,7 +41,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="153"
+ line="104"
column="43"/>
</issue>
@@ -118,7 +52,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="166"
+ line="117"
column="26"/>
</issue>
@@ -129,7 +63,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="166"
+ line="117"
column="43"/>
</issue>
@@ -140,7 +74,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="176"
+ line="127"
column="25"/>
</issue>
@@ -151,7 +85,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="176"
+ line="127"
column="42"/>
</issue>
@@ -162,7 +96,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="213"
+ line="164"
column="12"/>
</issue>
@@ -173,7 +107,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="233"
+ line="184"
column="12"/>
</issue>
@@ -184,7 +118,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="267"
+ line="218"
column="12"/>
</issue>
@@ -195,7 +129,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="267"
+ line="218"
column="39"/>
</issue>
@@ -206,7 +140,7 @@
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="267"
+ line="218"
column="57"/>
</issue>
@@ -217,7 +151,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="285"
+ line="236"
column="12"/>
</issue>
@@ -228,7 +162,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="285"
+ line="236"
column="47"/>
</issue>
@@ -239,7 +173,7 @@
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="285"
+ line="236"
column="65"/>
</issue>
@@ -250,7 +184,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="309"
+ line="260"
column="21"/>
</issue>
@@ -261,7 +195,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="309"
+ line="260"
column="34"/>
</issue>
@@ -272,7 +206,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="309"
+ line="260"
column="51"/>
</issue>
@@ -283,7 +217,7 @@
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="309"
+ line="260"
column="66"/>
</issue>
@@ -294,7 +228,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="319"
+ line="270"
column="12"/>
</issue>
@@ -305,7 +239,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="319"
+ line="270"
column="33"/>
</issue>
@@ -316,7 +250,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="319"
+ line="270"
column="50"/>
</issue>
@@ -327,7 +261,7 @@
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="319"
+ line="270"
column="65"/>
</issue>
@@ -338,7 +272,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="330"
+ line="281"
column="35"/>
</issue>
@@ -349,7 +283,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="330"
+ line="281"
column="46"/>
</issue>
@@ -360,7 +294,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="330"
+ line="281"
column="63"/>
</issue>
@@ -371,7 +305,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="339"
+ line="290"
column="30"/>
</issue>
@@ -382,7 +316,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="356"
+ line="307"
column="12"/>
</issue>
@@ -393,7 +327,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="356"
+ line="307"
column="30"/>
</issue>
@@ -404,7 +338,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="392"
+ line="343"
column="12"/>
</issue>
@@ -415,7 +349,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="392"
+ line="343"
column="41"/>
</issue>
@@ -426,7 +360,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="422"
+ line="373"
column="12"/>
</issue>
@@ -437,7 +371,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="422"
+ line="373"
column="46"/>
</issue>
@@ -448,7 +382,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="431"
+ line="382"
column="12"/>
</issue>
@@ -459,7 +393,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="447"
+ line="398"
column="12"/>
</issue>
@@ -470,7 +404,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/cursoradapter/widget/CursorAdapter.java"
- line="463"
+ line="414"
column="40"/>
</issue>
diff --git a/customview/customview/lint-baseline.xml b/customview/customview/lint-baseline.xml
index c367f7a..411ede8 100644
--- a/customview/customview/lint-baseline.xml
+++ b/customview/customview/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="UnknownNullness"
@@ -151,7 +151,7 @@
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/customview/widget/ViewDragHelper.java"
- line="356"
+ line="363"
column="19"/>
</issue>
@@ -162,7 +162,7 @@
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/customview/widget/ViewDragHelper.java"
- line="369"
+ line="376"
column="19"/>
</issue>
diff --git a/datastore/datastore-core/lint-baseline.xml b/datastore/datastore-core/lint-baseline.xml
index 297ae16..8794ae8 100644
--- a/datastore/datastore-core/lint-baseline.xml
+++ b/datastore/datastore-core/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
</issues>
diff --git a/datastore/datastore-preferences-core/datastore-preferences-proto/lint-baseline.xml b/datastore/datastore-preferences-core/datastore-preferences-proto/lint-baseline.xml
index 297ae16..8794ae8 100644
--- a/datastore/datastore-preferences-core/datastore-preferences-proto/lint-baseline.xml
+++ b/datastore/datastore-preferences-core/datastore-preferences-proto/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
</issues>
diff --git a/datastore/datastore-preferences-core/lint-baseline.xml b/datastore/datastore-preferences-core/lint-baseline.xml
index 297ae16..8794ae8 100644
--- a/datastore/datastore-preferences-core/lint-baseline.xml
+++ b/datastore/datastore-preferences-core/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
</issues>
diff --git a/datastore/datastore-preferences-rxjava2/lint-baseline.xml b/datastore/datastore-preferences-rxjava2/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/datastore/datastore-preferences-rxjava2/lint-baseline.xml
+++ b/datastore/datastore-preferences-rxjava2/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/datastore/datastore-preferences-rxjava3/lint-baseline.xml b/datastore/datastore-preferences-rxjava3/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/datastore/datastore-preferences-rxjava3/lint-baseline.xml
+++ b/datastore/datastore-preferences-rxjava3/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/datastore/datastore-preferences/lint-baseline.xml b/datastore/datastore-preferences/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/datastore/datastore-preferences/lint-baseline.xml
+++ b/datastore/datastore-preferences/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/datastore/datastore-proto/lint-baseline.xml b/datastore/datastore-proto/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/datastore/datastore-proto/lint-baseline.xml
+++ b/datastore/datastore-proto/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/datastore/datastore-rxjava2/lint-baseline.xml b/datastore/datastore-rxjava2/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/datastore/datastore-rxjava2/lint-baseline.xml
+++ b/datastore/datastore-rxjava2/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/datastore/datastore-rxjava3/lint-baseline.xml b/datastore/datastore-rxjava3/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/datastore/datastore-rxjava3/lint-baseline.xml
+++ b/datastore/datastore-rxjava3/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/datastore/datastore-sampleapp/lint-baseline.xml b/datastore/datastore-sampleapp/lint-baseline.xml
index a00a494..def8360 100644
--- a/datastore/datastore-sampleapp/lint-baseline.xml
+++ b/datastore/datastore-sampleapp/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="EnforceSampledAnnotation"
@@ -8,7 +8,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/com/example/datastoresampleapp/PreferencesDataStoreActivity.kt"
- line="52"
+ line="49"
column="18"/>
</issue>
@@ -19,7 +19,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/datastoresampleapp/PreferencesDataStoreActivity.kt"
- line="69"
+ line="66"
column="17"/>
</issue>
diff --git a/datastore/datastore/lint-baseline.xml b/datastore/datastore/lint-baseline.xml
index 8f1aa4b..d1c7de0 100644
--- a/datastore/datastore/lint-baseline.xml
+++ b/datastore/datastore/lint-baseline.xml
@@ -1,4 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.datastore.migrations.SharedPreferencesMigration is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (!context.deleteSharedPreferences(name)) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/datastore/migrations/SharedPreferencesMigration.kt"
+ line="180"
+ column="26"/>
+ </issue>
</issues>
diff --git a/development/build_log_simplifier/messages.ignore b/development/build_log_simplifier/messages.ignore
index 86eba2a..1d4d86f 100644
--- a/development/build_log_simplifier/messages.ignore
+++ b/development/build_log_simplifier/messages.ignore
@@ -379,7 +379,7 @@
Html results of .* zipped into.*\.zip
# > Task :annotation:annotation-experimental-lint:test
WARNING: An illegal reflective access operation has occurred
-WARNING: Illegal reflective access by com\.intellij\.util\.ReflectionUtil \(file:\$CHECKOUT/prebuilts/androidx/external/com/google/devsite/dackka/[0-9]+\.[0-9]+\.[0-9]+\-alpha[0-9]+/dackka\-[0-9]+\.[0-9]+\.[0-9]+\-alpha[0-9]+\.jar\) to method java\.util\.ResourceBundle\.setParent\(java\.util\.ResourceBundle\)
+WARNING: Illegal reflective access by com\.intellij\.util\.ReflectionUtil \(file:\$CHECKOUT/prebuilts/androidx/external/com/google/devsite/dackka/[0-9]+\.[0-9]+\.[0-9]+/dackka\-[0-9]+\.[0-9]+\.[0-9]+\.jar\) to method java\.util\.ResourceBundle\.setParent\(java\.util\.ResourceBundle\)
WARNING: Illegal reflective access by com\.intellij\.util\.ReflectionUtil \(file:\$OUT_DIR/androidx/compose/compiler/compiler\-hosted/integration\-tests/kotlin\-compiler\-repackaged/build/repackaged/kotlin\-compiler\-repackaged\.jar\) to method java\.util\.ResourceBundle\.setParent\(java\.util\.ResourceBundle\)
WARNING\: Illegal reflective access using Lookup on org\.gradle\.internal\.classloader\.ClassLoaderUtils\$AbstractClassLoaderLookuper \(file\:\$GRADLE_USER_HOME\/caches\/[0-9]+\.[0-9]+\.[0-9]+\/generated\-gradle\-jars\/gradle\-api\-[0-9]+\.[0-9]+\.[0-9]+\.jar\) to class java\.lang\.ClassLoader
WARNING\: Please consider reporting this to the maintainers of org\.gradle\.internal\.classloader\.ClassLoaderUtils\$AbstractClassLoaderLookuper
@@ -640,3 +640,286 @@
Creating pages\: *[0-9]+
Transforming pages\: *[0-9]+
Rendering\: *[0-9]+
+WARNING\: unable to find what is referred to by
+@param initVal
+in DClass AnimationVector[0-9]+D
+@param a,
+@param b,
+@param c,
+@param d
+in DClass CubicBezierEasing
+@param v[0-9]+,
+@param v[0-9]+
+@param frictionMultiplier,
+@param absVelocityThreshold
+in DClass FloatExponentialDecaySpec
+@param duration,
+@param delay,
+@param easing
+in DClass FloatTweenSpec
+@param dampingRatio,
+@param stiffness,
+@param visibilityThreshold
+in DClass SpringSpec
+@param durationMillis,
+in DClass TweenSpec
+in DClass FloatSpringSpec
+@param iterations,
+@param animation,
+@param repeatMode
+in DClass RepeatableSpec
+in DClass VectorizedInfiniteRepeatableSpec
+@param keyframes,
+@param delayMillis
+in DClass VectorizedKeyframesSpec
+@param delayMillis,
+in DClass VectorizedTweenSpec
+@param animationSpec,
+@param initialValue,
+@param targetValue,
+@param typeConverter,
+@param initialVelocityVector
+in DClass TargetBasedAnimation
+@param delay
+in DClass SnapSpec
+in DClass InfiniteRepeatableSpec
+in DClass VectorizedRepeatableSpec
+@param initialVelocityVector,
+@param lastFrameTimeNanos,
+@param finishedTimeNanos,
+@param isRunning
+in DClass AnimationState
+in DClass VectorizedSnapSpec
+in DClass Animatable
+@param width,
+@param brush
+in DClass BorderStroke
+@param initial
+in DClass ScrollState
+@param firstVisibleItemIndex,
+@param firstVisibleItemScrollOffset
+in DClass LazyListState
+@param builder
+in DClass GenericShape
+@param topLeft,
+@param topRight,
+@param bottomRight,
+@param bottomLeft
+in DClass AbsoluteCutCornerShape
+@param topStart,
+@param topEnd,
+@param bottomEnd,
+@param bottomStart
+in DClass RoundedCornerShape
+in DClass CutCornerShape
+in DClass AbsoluteRoundedCornerShape
+in DClass CornerBasedShape
+@param capitalization,
+@param autoCorrect,
+@param keyboardType,
+@param imeAction
+in DClass KeyboardOptions
+@param drawerState,
+@param bottomSheetState,
+@param snackbarHostState
+in DClass BottomSheetScaffoldState
+@param confirmStateChange,
+in DClass BackdropScaffoldState
+@param confirmStateChange
+in DClass DismissState
+in DClass BottomDrawerState
+in DClass ScaffoldState
+@param basis,
+@param factorAtMin,
+@param factorAtMax
+in DClass ResistanceConfig
+in DClass BottomSheetState
+in DClass DrawerState
+@param offset
+in DClass FixedThreshold
+@param fraction
+in DClass FractionalThreshold
+in DClass ModalBottomSheetState
+@param from,
+@param to,
+in DClass SwipeProgress
+in DClass SwipeableState
+@param file
+in DAnnotation LiveLiteralFileInfo
+@param name,
+@param id
+in DAnnotation DecoyImplementation
+@param key,
+in DAnnotation LiveLiteralInfo
+@param parameters
+in DAnnotation StabilityInferred
+@param targetName,
+@param signature
+in DAnnotation Decoy
+@param left,
+@param top,
+@param right,
+@param bottom
+in DClass MutableRect
+@param buffer,
+@param bufferOffset,
+@param height,
+@param stride
+in DClass PixelMap
+@param image,
+@param srcOffset,
+@param srcSize
+in DClass BitmapPainter
+@param imageVector
+in DClass AnimatedImageVector
+@param keyCode
+in DClass Key
+@param value
+in DClass PointerId
+@param positionChange,
+@param downChange
+in DClass ConsumedData
+@param id,
+@param uptimeMillis,
+@param position,
+@param pressed,
+@param previousUptimeMillis,
+@param previousPosition,
+@param previousPressed,
+@param consumed,
+@param type
+in DClass PointerInputChange
+@param merger
+in DClass VerticalAlignmentLine
+in DClass HorizontalAlignmentLine
+@param value,
+@param maxValue,
+@param reverseScrolling
+in DClass ScrollAxisRange
+@param current,
+@param range,
+@param steps
+in DClass ProgressBarRangeInfo
+@param label,
+@param action
+in DClass AccessibilityAction
+in DClass CustomAccessibilityAction
+@param selectedNodes,
+@param customErrorOnNoMatch
+in DClass SelectionResult
+@param description,
+@param requiresExactlyOneNode,
+@param chainedInputSelector,
+@param selector
+in DClass SemanticsSelector
+@param activityRule,
+@param activityProvider
+in DClass AndroidComposeTestRule
+@param placeholderVerticalAlign
+in DClass Placeholder
+@param item,
+@param start,
+@param end,
+@param tag
+in DClass Range
+@param verbatim
+in DClass VerbatimTtsAnnotation
+@param annotatedString,
+@param style,
+@param placeholders,
+@param density,
+@param resourceLoader
+in DClass MultiParagraphIntrinsics
+@param textAlign,
+@param textDirection,
+@param textIndent,
+@param lineHeight
+in DClass ParagraphStyle
+@param color,
+@param fontSize,
+@param fontWeight,
+@param fontStyle,
+@param fontSynthesis,
+@param fontFamily,
+@param fontFeatureSettings,
+@param letterSpacing,
+@param baselineShift,
+@param textGeometricTransform,
+@param localeList,
+@param background,
+@param textDecoration,
+@param shadow
+in DClass SpanStyle
+@param shadow,
+in DClass TextStyle
+@param intrinsics,
+@param maxLines,
+@param ellipsis,
+@param width
+in DClass MultiParagraph
+@param capacity
+in DClass Builder
+@param typeface
+in DClass LoadedFontFamily
+@param resId,
+@param weight,
+@param style
+in DClass ResourceFont
+@param name
+in DClass GenericFontFamily
+@param weight
+in DClass FontWeight
+@param singleLine,
+in DClass ImeOptions
+@param selection,
+@param composition
+in DClass TextFieldValue
+@param mask
+in DClass PasswordVisualTransformation
+@param multiplier
+in DClass BaselineShift
+@param firstLine,
+@param restLine
+in DClass TextIndent
+@param scaleX,
+@param skewX
+in DClass TextGeometricTransform
+@param provider,
+@param limit
+in DAnnotation PreviewParameter
+@param group,
+@param apiLevel,
+@param widthDp,
+@param heightDp,
+@param locale,
+@param fontScale,
+@param showSystemUi,
+@param showBackground,
+@param backgroundColor,
+@param uiMode,
+@param device
+in DAnnotation Preview
+@param words
+in DClass LoremIpsum
+@param securePolicy
+in DClass PopupProperties
+@param rowCount,
+@param columnCount
+in DClass CollectionInfo
+@param rowIndex,
+@param rowSpan,
+@param columnIndex,
+@param columnSpan
+in DClass CollectionItemInfo
+@param endOfPaginationReached
+in DClass LoadState
+in DClass NotLoading
+@param error
+in DClass Error
+@param pagingSourceFactory
+in DClass InvalidatingPagingSourceFactory
+@param flow
+in DClass LazyPagingItems
+@param density
+in DClass SplineBasedFloatDecayAnimationSpec
+Did you make a typo\? Are you trying to refer to something not visible to users\?
diff --git a/docs-tip-of-tree/build.gradle b/docs-tip-of-tree/build.gradle
index 50eaab9..02d58fa 100644
--- a/docs-tip-of-tree/build.gradle
+++ b/docs-tip-of-tree/build.gradle
@@ -194,6 +194,7 @@
docs(project(":preference:preference"))
docs(project(":preference:preference-ktx"))
docs(project(":print:print"))
+ docs(project(":profileinstaller:profileinstaller"))
docs(project(":recommendation:recommendation"))
docs(project(":recyclerview:recyclerview"))
docs(project(":recyclerview:recyclerview-selection"))
diff --git a/documentfile/documentfile/lint-baseline.xml b/documentfile/documentfile/lint-baseline.xml
index 3b93b3f..9e66853 100644
--- a/documentfile/documentfile/lint-baseline.xml
+++ b/documentfile/documentfile/lint-baseline.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.documentfile.provider.DocumentFile 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.documentfile.provider.DocumentFile is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" String documentId = DocumentsContract.getTreeDocumentId(treeUri);"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -13,8 +13,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.documentfile.provider.DocumentFile 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.documentfile.provider.DocumentFile is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (DocumentsContract.isDocumentUri(context, treeUri)) {"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -24,8 +24,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.documentfile.provider.DocumentFile 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.documentfile.provider.DocumentFile is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" documentId = DocumentsContract.getDocumentId(treeUri);"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -35,8 +35,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.documentfile.provider.DocumentFile 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.documentfile.provider.DocumentFile is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" DocumentsContract.buildDocumentUriUsingTree(treeUri,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -46,8 +46,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.documentfile.provider.DocumentFile 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.documentfile.provider.DocumentFile is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return DocumentsContract.isDocumentUri(context, uri);"
errorLine2=" ~~~~~~~~~~~~~">
<location
diff --git a/drawerlayout/drawerlayout/lint-baseline.xml b/drawerlayout/drawerlayout/lint-baseline.xml
index c7543a5..f0017c4 100644
--- a/drawerlayout/drawerlayout/lint-baseline.xml
+++ b/drawerlayout/drawerlayout/lint-baseline.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.drawerlayout.widget.DrawerLayout 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.drawerlayout.widget.DrawerLayout is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" WindowInsets rootInsets = getRootWindowInsets();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
diff --git a/dynamic-animation/dynamic-animation-ktx/lint-baseline.xml b/dynamic-animation/dynamic-animation-ktx/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/dynamic-animation/dynamic-animation-ktx/lint-baseline.xml
+++ b/dynamic-animation/dynamic-animation-ktx/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/dynamic-animation/dynamic-animation/lint-baseline.xml b/dynamic-animation/dynamic-animation/lint-baseline.xml
index f08ff22..d329927 100644
--- a/dynamic-animation/dynamic-animation/lint-baseline.xml
+++ b/dynamic-animation/dynamic-animation/lint-baseline.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" property.setValue(object, value);"
errorLine2=" ~~~~~~~~">
<location
diff --git a/emoji/appcompat/lint-baseline.xml b/emoji/appcompat/lint-baseline.xml
index 2aa1902..2384ba1 100644
--- a/emoji/appcompat/lint-baseline.xml
+++ b/emoji/appcompat/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="UnknownNullness"
diff --git a/emoji/bundled/lint-baseline.xml b/emoji/bundled/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/emoji/bundled/lint-baseline.xml
+++ b/emoji/bundled/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/emoji/core/lint-baseline.xml b/emoji/core/lint-baseline.xml
index 436a88b..efa2cfb 100644
--- a/emoji/core/lint-baseline.xml
+++ b/emoji/core/lint-baseline.xml
@@ -1,5 +1,115 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.emoji.widget.EmojiButton is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" super(context, attrs, defStyleAttr, defStyleRes);"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/main/java/androidx/emoji/widget/EmojiButton.java"
+ line="58"
+ column="9"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.emoji.widget.EmojiEditText is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" super(context, attrs, defStyleAttr, defStyleRes);"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/main/java/androidx/emoji/widget/EmojiEditText.java"
+ line="65"
+ column="9"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.emoji.widget.EmojiExtractEditText is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" super(context, attrs, defStyleAttr, defStyleRes);"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/main/java/androidx/emoji/widget/EmojiExtractEditText.java"
+ line="74"
+ column="9"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.emoji.widget.EmojiExtractTextLayout is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" super(context, attrs, defStyleAttr, defStyleRes);"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/main/java/androidx/emoji/widget/EmojiExtractTextLayout.java"
+ line="99"
+ column="9"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.emoji.widget.EmojiInputFilter.InitCallbackImpl is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (textView != null && textView.isAttachedToWindow()) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/emoji/widget/EmojiInputFilter.java"
+ line="110"
+ column="46"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.emoji.text.EmojiProcessor.CodepointIndexFinder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (!Character.isSurrogate(c)) {"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/emoji/text/EmojiProcessor.java"
+ line="702"
+ column="32"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.emoji.text.EmojiProcessor.CodepointIndexFinder is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (!Character.isSurrogate(c)) {"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/emoji/text/EmojiProcessor.java"
+ line="759"
+ column="32"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.emoji.widget.EmojiTextView is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" super(context, attrs, defStyleAttr, defStyleRes);"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/main/java/androidx/emoji/widget/EmojiTextView.java"
+ line="58"
+ column="9"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.emoji.widget.EmojiTextWatcher.InitCallbackImpl is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (editText != null && editText.isAttachedToWindow()) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/emoji/widget/EmojiTextWatcher.java"
+ line="121"
+ column="46"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.emoji.widget.ExtractButtonCompat is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" super(context, attrs, defStyleAttr, defStyleRes);"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/main/java/androidx/emoji/widget/ExtractButtonCompat.java"
+ line="53"
+ column="9"/>
+ </issue>
<issue
id="PrivateConstructorForUtilityClass"
@@ -13,116 +123,6 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.emoji.widget.EmojiButton 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=" super(context, attrs, defStyleAttr, defStyleRes);"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/emoji/widget/EmojiButton.java"
- line="58"
- column="9"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.emoji.widget.EmojiEditText 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=" super(context, attrs, defStyleAttr, defStyleRes);"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/emoji/widget/EmojiEditText.java"
- line="65"
- column="9"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.emoji.widget.EmojiExtractEditText 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=" super(context, attrs, defStyleAttr, defStyleRes);"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/emoji/widget/EmojiExtractEditText.java"
- line="74"
- column="9"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.emoji.widget.EmojiExtractTextLayout 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=" super(context, attrs, defStyleAttr, defStyleRes);"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/emoji/widget/EmojiExtractTextLayout.java"
- line="99"
- column="9"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.emoji.widget.EmojiInputFilter.InitCallbackImpl 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=" if (textView != null && textView.isAttachedToWindow()) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/emoji/widget/EmojiInputFilter.java"
- line="110"
- column="46"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.emoji.text.EmojiProcessor.CodepointIndexFinder 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=" if (!Character.isSurrogate(c)) {"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/emoji/text/EmojiProcessor.java"
- line="702"
- column="32"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.emoji.text.EmojiProcessor.CodepointIndexFinder 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=" if (!Character.isSurrogate(c)) {"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/emoji/text/EmojiProcessor.java"
- line="759"
- column="32"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.emoji.widget.EmojiTextView 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=" super(context, attrs, defStyleAttr, defStyleRes);"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/emoji/widget/EmojiTextView.java"
- line="58"
- column="9"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.emoji.widget.EmojiTextWatcher.InitCallbackImpl 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=" if (editText != null && editText.isAttachedToWindow()) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/emoji/widget/EmojiTextWatcher.java"
- line="121"
- column="46"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.emoji.widget.ExtractButtonCompat 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=" super(context, attrs, defStyleAttr, defStyleRes);"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/emoji/widget/ExtractButtonCompat.java"
- line="53"
- column="9"/>
- </issue>
-
- <issue
id="KotlinPropertyAccess"
message="The getter return type (`int`) and setter parameter type (`boolean`) getter and setter methods for property `hasGlyph` should have exactly the same type to allow be accessed as a property from Kotlin; see https://android.github.io/kotlin-guides/interop.html#property-prefixes"
errorLine1=" public int getHasGlyph() {"
diff --git a/emoji2/emoji2-benchmark/lint-baseline.xml b/emoji2/emoji2-benchmark/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/emoji2/emoji2-benchmark/lint-baseline.xml
+++ b/emoji2/emoji2-benchmark/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/enterprise/feedback/lint-baseline.xml b/enterprise/feedback/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/enterprise/feedback/lint-baseline.xml
+++ b/enterprise/feedback/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/enterprise/feedback/testing/lint-baseline.xml b/enterprise/feedback/testing/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/enterprise/feedback/testing/lint-baseline.xml
+++ b/enterprise/feedback/testing/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/exifinterface/exifinterface/lint-baseline.xml b/exifinterface/exifinterface/lint-baseline.xml
index 1cd9c9f..9542238 100644
--- a/exifinterface/exifinterface/lint-baseline.xml
+++ b/exifinterface/exifinterface/lint-baseline.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.exifinterface.media.ExifInterface 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.exifinterface.media.ExifInterface is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" fileDescriptor = Os.dup(fileDescriptor);"
errorLine2=" ~~~">
<location
@@ -13,8 +13,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.exifinterface.media.ExifInterface 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.exifinterface.media.ExifInterface is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" Os.lseek(fd, 0, OsConstants.SEEK_CUR);"
errorLine2=" ~~~~~">
<location
@@ -24,8 +24,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.exifinterface.media.ExifInterface 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.exifinterface.media.ExifInterface is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" Os.lseek(mSeekableFileDescriptor, 0, OsConstants.SEEK_SET);"
errorLine2=" ~~~~~">
<location
@@ -35,8 +35,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.exifinterface.media.ExifInterface 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.exifinterface.media.ExifInterface is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" Os.lseek(mSeekableFileDescriptor, 0, OsConstants.SEEK_SET);"
errorLine2=" ~~~~~">
<location
@@ -46,8 +46,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.exifinterface.media.ExifInterface 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.exifinterface.media.ExifInterface is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" Os.lseek(mSeekableFileDescriptor, 0, OsConstants.SEEK_SET);"
errorLine2=" ~~~~~">
<location
@@ -57,8 +57,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.exifinterface.media.ExifInterface 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.exifinterface.media.ExifInterface is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" newFileDescriptor = Os.dup(mSeekableFileDescriptor);"
errorLine2=" ~~~">
<location
@@ -68,8 +68,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.exifinterface.media.ExifInterface 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.exifinterface.media.ExifInterface is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" Os.lseek(newFileDescriptor, 0, OsConstants.SEEK_SET);"
errorLine2=" ~~~~~">
<location
@@ -79,8 +79,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.exifinterface.media.ExifInterface 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.exifinterface.media.ExifInterface is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" retriever.setDataSource(new MediaDataSource() {"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -90,8 +90,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.exifinterface.media.ExifInterfaceUtils 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.exifinterface.media.ExifInterfaceUtils is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" Os.close(fd);"
errorLine2=" ~~~~~">
<location
diff --git a/fragment/fragment-ktx/lint-baseline.xml b/fragment/fragment-ktx/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/fragment/fragment-ktx/lint-baseline.xml
+++ b/fragment/fragment-ktx/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/fragment/fragment-lint/lint-baseline.xml b/fragment/fragment-lint/lint-baseline.xml
index 297ae16..8794ae8 100644
--- a/fragment/fragment-lint/lint-baseline.xml
+++ b/fragment/fragment-lint/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
</issues>
diff --git a/fragment/fragment-testing-lint/lint-baseline.xml b/fragment/fragment-testing-lint/lint-baseline.xml
index 297ae16..8794ae8 100644
--- a/fragment/fragment-testing-lint/lint-baseline.xml
+++ b/fragment/fragment-testing-lint/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
</issues>
diff --git a/fragment/fragment-testing/lint-baseline.xml b/fragment/fragment-testing/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/fragment/fragment-testing/lint-baseline.xml
+++ b/fragment/fragment-testing/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/fragment/fragment-truth/lint-baseline.xml b/fragment/fragment-truth/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/fragment/fragment-truth/lint-baseline.xml
+++ b/fragment/fragment-truth/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/fragment/fragment/lint-baseline.xml b/fragment/fragment/lint-baseline.xml
index fbef9dd..0abf452 100644
--- a/fragment/fragment/lint-baseline.xml
+++ b/fragment/fragment/lint-baseline.xml
@@ -1,42 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mView.cancelPendingInputEvents();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/fragment/app/Fragment.java"
- line="2929"
+ line="2956"
column="35"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.fragment.app.FragmentContainerView is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" child.dispatchApplyWindowInsets(new WindowInsets(insets));"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.fragment.app.FragmentContainerView is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mApplyWindowInsetsListener.onApplyWindowInsets(this, insets)"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/fragment/app/FragmentContainerView.java"
- line="221"
- column="19"/>
+ line="231"
+ column="52"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.fragment.app.FragmentContainerView is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
- errorLine1=" child.dispatchApplyWindowInsets(new WindowInsets(insets));"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/fragment/app/FragmentContainerView.java"
- line="221"
- column="45"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" transition.removeListener(this);"
errorLine2=" ~~~~~~~~~~~~~~">
<location
@@ -46,8 +35,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" transition.addListener(this);"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -57,8 +46,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" transition.removeListener(this);"
errorLine2=" ~~~~~~~~~~~~~~">
<location
@@ -68,8 +57,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" transition.removeListener(this);"
errorLine2=" ~~~~~~~~~~~~~~">
<location
diff --git a/fragment/integration-tests/testapp/lint-baseline.xml b/fragment/integration-tests/testapp/lint-baseline.xml
index 3dd7df2..69b50de 100644
--- a/fragment/integration-tests/testapp/lint-baseline.xml
+++ b/fragment/integration-tests/testapp/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="BanTargetApiAnnotation"
diff --git a/gradlew b/gradlew
index 95d9bc3..a43ff0f 100755
--- a/gradlew
+++ b/gradlew
@@ -235,7 +235,7 @@
if [ "$compact" == "--strict" ]; then
expanded="-Pandroidx.allWarningsAsErrors\
-Pandroidx.validateNoUnrecognizedMessages\
- -PverifyUpToDate\
+ -Pandroidx.verifyUpToDate\
--no-watch-fs\
--no-daemon\
--offline"
@@ -306,14 +306,19 @@
}
if [[ " ${@} " =~ " -PdisallowExecution " ]]; then
- echo "Passing '-PdisallowExecution' directly is forbidden. Did you mean -PverifyUpToDate ?"
+ echo "Passing '-PdisallowExecution' directly is forbidden. Did you mean -Pandroidx.verifyUpToDate ?"
echo "See TaskUpToDateValidator.java for more information"
exit 1
fi
-runGradle "$@"
-# Check whether we were given the "-PverifyUpToDate" argument
if [[ " ${@} " =~ " -PverifyUpToDate " ]]; then
+ echo "-PverifyUpToDate has been renamed to -Pandroidx.verifyUpToDate"
+ exit 1
+fi
+
+runGradle "$@"
+# Check whether we were given the "-Pandroidx.verifyUpToDate" argument
+if [[ " ${@} " =~ " -Pandroidx.verifyUpToDate " ]]; then
# Re-run Gradle, and find all tasks that are unexpectly out of date
if ! runGradle "$@" -PdisallowExecution --continue; then
echo >&2
diff --git a/gridlayout/gridlayout/lint-baseline.xml b/gridlayout/gridlayout/lint-baseline.xml
index 637b301..15cf064 100644
--- a/gridlayout/gridlayout/lint-baseline.xml
+++ b/gridlayout/gridlayout/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="UnknownNullness"
diff --git a/heifwriter/heifwriter/lint-baseline.xml b/heifwriter/heifwriter/lint-baseline.xml
index 811dc40..4dbe59b 100644
--- a/heifwriter/heifwriter/lint-baseline.xml
+++ b/heifwriter/heifwriter/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="BanSynchronizedMethods"
diff --git a/hilt/hilt-common/lint-baseline.xml b/hilt/hilt-common/lint-baseline.xml
index 297ae16..8794ae8 100644
--- a/hilt/hilt-common/lint-baseline.xml
+++ b/hilt/hilt-common/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
</issues>
diff --git a/hilt/hilt-compiler/lint-baseline.xml b/hilt/hilt-compiler/lint-baseline.xml
index 297ae16..8794ae8 100644
--- a/hilt/hilt-compiler/lint-baseline.xml
+++ b/hilt/hilt-compiler/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
</issues>
diff --git a/hilt/hilt-navigation-fragment/lint-baseline.xml b/hilt/hilt-navigation-fragment/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/hilt/hilt-navigation-fragment/lint-baseline.xml
+++ b/hilt/hilt-navigation-fragment/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/hilt/hilt-work/build.gradle b/hilt/hilt-work/build.gradle
index 8186e90..55e6621 100644
--- a/hilt/hilt-work/build.gradle
+++ b/hilt/hilt-work/build.gradle
@@ -48,7 +48,7 @@
project.tasks.register("jar${suffix}", Jar).configure {
dependsOn(variant.javaCompileProvider)
from(variant.javaCompileProvider.map { task -> task.destinationDir})
- destinationDir(new File(project.buildDir, "libJar"))
+ destinationDirectory.fileValue(new File(project.buildDir, "libJar"))
}
}
diff --git a/hilt/hilt-work/lint-baseline.xml b/hilt/hilt-work/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/hilt/hilt-work/lint-baseline.xml
+++ b/hilt/hilt-work/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/hilt/integration-tests/viewmodelapp/lint-baseline.xml b/hilt/integration-tests/viewmodelapp/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/hilt/integration-tests/viewmodelapp/lint-baseline.xml
+++ b/hilt/integration-tests/viewmodelapp/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/hilt/integration-tests/workerapp/lint-baseline.xml b/hilt/integration-tests/workerapp/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/hilt/integration-tests/workerapp/lint-baseline.xml
+++ b/hilt/integration-tests/workerapp/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/inspection/inspection-gradle-plugin/lint-baseline.xml b/inspection/inspection-gradle-plugin/lint-baseline.xml
index 297ae16..8794ae8 100644
--- a/inspection/inspection-gradle-plugin/lint-baseline.xml
+++ b/inspection/inspection-gradle-plugin/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
</issues>
diff --git a/inspection/inspection/lint-baseline.xml b/inspection/inspection/lint-baseline.xml
index 367e8df..b82825b 100644
--- a/inspection/inspection/lint-baseline.xml
+++ b/inspection/inspection/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta04" client="gradle" variant="debug" version="4.2.0-beta04">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="UnknownNullness"
diff --git a/interpolator/interpolator/lint-baseline.xml b/interpolator/interpolator/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/interpolator/interpolator/lint-baseline.xml
+++ b/interpolator/interpolator/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/jetifier/jetifier/core/lint-baseline.xml b/jetifier/jetifier/core/lint-baseline.xml
index 297ae16..8794ae8 100644
--- a/jetifier/jetifier/core/lint-baseline.xml
+++ b/jetifier/jetifier/core/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
</issues>
diff --git a/jetifier/jetifier/preprocessor/lint-baseline.xml b/jetifier/jetifier/preprocessor/lint-baseline.xml
index 297ae16..8794ae8 100644
--- a/jetifier/jetifier/preprocessor/lint-baseline.xml
+++ b/jetifier/jetifier/preprocessor/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
</issues>
diff --git a/jetifier/jetifier/processor/lint-baseline.xml b/jetifier/jetifier/processor/lint-baseline.xml
index 297ae16..8794ae8 100644
--- a/jetifier/jetifier/processor/lint-baseline.xml
+++ b/jetifier/jetifier/processor/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
</issues>
diff --git a/jetifier/jetifier/standalone/lint-baseline.xml b/jetifier/jetifier/standalone/lint-baseline.xml
index 297ae16..8794ae8 100644
--- a/jetifier/jetifier/standalone/lint-baseline.xml
+++ b/jetifier/jetifier/standalone/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
</issues>
diff --git a/leanback/leanback-paging/lint-baseline.xml b/leanback/leanback-paging/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/leanback/leanback-paging/lint-baseline.xml
+++ b/leanback/leanback-paging/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/leanback/leanback-preference/lint-baseline.xml b/leanback/leanback-preference/lint-baseline.xml
index c692f79..9ec7ae2 100644
--- a/leanback/leanback-preference/lint-baseline.xml
+++ b/leanback/leanback-preference/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="UnknownNullness"
diff --git a/leanback/leanback-tab/lint-baseline.xml b/leanback/leanback-tab/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/leanback/leanback-tab/lint-baseline.xml
+++ b/leanback/leanback-tab/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/leanback/leanback/lint-baseline.xml b/leanback/leanback/lint-baseline.xml
index 3c24db3..910b444 100644
--- a/leanback/leanback/lint-baseline.xml
+++ b/leanback/leanback/lint-baseline.xml
@@ -1,5 +1,896 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.leanback.widget.BackgroundHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" drawable.setAlpha(view.getBackground().getAlpha());"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/widget/BackgroundHelper.java"
+ line="35"
+ column="56"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.leanback.widget.picker.DatePicker is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" yearPattern = android.text.format.DateFormat.getBestDateTimePattern(mConstant.locale,"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/widget/picker/DatePicker.java"
+ line="144"
+ column="58"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" Rect center = t.getEpicenter();"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="api21/androidx/leanback/transition/FadeAndShortSlide.java"
+ line="114"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" Rect center = getEpicenter();"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="api21/androidx/leanback/transition/FadeAndShortSlide.java"
+ line="144"
+ column="27"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.leanback.widget.ForegroundHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return view.getForeground();"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/widget/ForegroundHelper.java"
+ line="17"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.leanback.widget.ForegroundHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" view.setForeground(drawable);"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/widget/ForegroundHelper.java"
+ line="25"
+ column="18"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.leanback.app.FragmentUtil is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return fragment.getContext();"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/app/FragmentUtil.java"
+ line="25"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.leanback.widget.GuidedActionsStylist is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" vh.mTitleView.setAutofillHints(action.getAutofillHints());"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/widget/GuidedActionsStylist.java"
+ line="690"
+ column="35"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.leanback.widget.GuidedActionsStylist is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" vh.mTitleView.setAutofillHints((String[]) null);"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/widget/GuidedActionsStylist.java"
+ line="692"
+ column="35"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.leanback.widget.GuidedActionsStylist is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" vh.mTitleView.setImportantForAutofill(View.IMPORTANT_FOR_AUTOFILL_NO);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/widget/GuidedActionsStylist.java"
+ line="696"
+ column="31"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.leanback.widget.GuidedActionsStylist is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" vh.mDescriptionView.setAutofillHints(action.getAutofillHints());"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/widget/GuidedActionsStylist.java"
+ line="711"
+ column="41"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.leanback.widget.GuidedActionsStylist is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" vh.mDescriptionView.setAutofillHints((String[]) null);"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/widget/GuidedActionsStylist.java"
+ line="713"
+ column="41"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.leanback.widget.GuidedActionsStylist is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" vh.mTitleView.setImportantForAutofill(View.IMPORTANT_FOR_AUTOFILL_NO);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/widget/GuidedActionsStylist.java"
+ line="717"
+ column="31"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.leanback.app.GuidedStepFragment is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" ft.addSharedElement(subView, transitionName);"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/app/GuidedStepFragment.java"
+ line="562"
+ column="20"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.leanback.app.GuidedStepFragment is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" setEnterTransition((android.transition.Transition) enterTransition);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/app/GuidedStepFragment.java"
+ line="903"
+ column="17"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.leanback.app.GuidedStepFragment is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" setSharedElementEnterTransition((android.transition.Transition) sharedElementTransition);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/app/GuidedStepFragment.java"
+ line="912"
+ column="17"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.leanback.app.GuidedStepFragment is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" setEnterTransition((android.transition.Transition) enterTransition);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/app/GuidedStepFragment.java"
+ line="925"
+ column="21"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.leanback.app.GuidedStepFragment is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" setEnterTransition((android.transition.Transition) enterTransition);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/app/GuidedStepFragment.java"
+ line="932"
+ column="21"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.leanback.app.GuidedStepFragment is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" setSharedElementEnterTransition(null);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/app/GuidedStepFragment.java"
+ line="935"
+ column="17"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.leanback.app.GuidedStepFragment is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" setEnterTransition(null);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/app/GuidedStepFragment.java"
+ line="938"
+ column="17"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.leanback.app.GuidedStepFragment is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" setSharedElementEnterTransition(null);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/app/GuidedStepFragment.java"
+ line="940"
+ column="17"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.leanback.app.GuidedStepFragment is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" setExitTransition((android.transition.Transition) exitTransition);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/app/GuidedStepFragment.java"
+ line="947"
+ column="13"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.leanback.transition.LeanbackTransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" slide.setInterpolator(AnimationUtils.loadInterpolator(context,"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/LeanbackTransitionHelper.java"
+ line="40"
+ column="15"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.leanback.transition.LeanbackTransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" slide.addTarget(R.id.browse_title_group);"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/LeanbackTransitionHelper.java"
+ line="42"
+ column="15"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.leanback.transition.LeanbackTransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" slide.setInterpolator(AnimationUtils.loadInterpolator(context,"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/LeanbackTransitionHelper.java"
+ line="53"
+ column="15"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.leanback.transition.LeanbackTransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" slide.addTarget(R.id.browse_title_group);"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/LeanbackTransitionHelper.java"
+ line="55"
+ column="15"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.leanback.app.PermissionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" fragment.requestPermissions(permissions, requestCode);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/app/PermissionHelper.java"
+ line="33"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" ? !mProgressBar.isAccessibilityFocused() : true);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/widget/PlaybackTransportRowPresenter.java"
+ line="320"
+ column="57"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.leanback.widget.RoundedRectHelperApi21.RoundedRectOutlineProvider is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" outline.setRoundRect(0, 0, view.getWidth(), view.getHeight(), mRadius);"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/widget/RoundedRectHelperApi21.java"
+ line="39"
+ column="21"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.leanback.widget.RoundedRectHelperApi21.RoundedRectOutlineProvider is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" outline.setAlpha(1f);"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/widget/RoundedRectHelperApi21.java"
+ line="40"
+ column="21"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.leanback.system.Settings is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mOutlineClippingDisabled = activityManager.isLowRamDevice();"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/system/Settings.java"
+ line="132"
+ column="56"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" outline.setRect(0, 0, view.getWidth(), view.getHeight());"
+ errorLine2=" ~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/widget/ShadowHelperApi21.java"
+ line="34"
+ column="21"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" outline.setAlpha(1.0f);"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/widget/ShadowHelperApi21.java"
+ line="35"
+ column="21"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.leanback.widget.StaticShadowHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" parent.setLayoutMode(ViewGroup.LAYOUT_MODE_OPTICAL_BOUNDS);"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/widget/StaticShadowHelper.java"
+ line="38"
+ column="20"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.leanback.widget.StaticShadowHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" shadowContainer.setLayoutMode(ViewGroup.LAYOUT_MODE_OPTICAL_BOUNDS);"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/widget/StaticShadowHelper.java"
+ line="44"
+ column="29"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.leanback.widget.picker.TimePicker is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" hourPattern = DateFormat.getBestDateTimePattern(mConstant.locale, mIs24hFormat ? "Hma""
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/widget/picker/TimePicker.java"
+ line="159"
+ column="38"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return window.getSharedElementEnterTransition();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="66"
+ column="27"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" window.setSharedElementEnterTransition((Transition) transition);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="73"
+ column="20"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return window.getSharedElementReturnTransition();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="79"
+ column="27"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" window.setSharedElementReturnTransition((Transition) transition);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="86"
+ column="20"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return window.getSharedElementExitTransition();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="92"
+ column="27"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return window.getSharedElementReenterTransition();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="99"
+ column="27"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return window.getEnterTransition();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="106"
+ column="27"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" window.setEnterTransition((Transition) transition);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="113"
+ column="20"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return window.getReturnTransition();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="119"
+ column="27"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" window.setReturnTransition((Transition) transition);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="126"
+ column="20"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return window.getExitTransition();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="132"
+ column="27"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return window.getReenterTransition();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="139"
+ column="27"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" Scene scene = new Scene(sceneRoot);"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="146"
+ column="27"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" scene.setEnterAction(r);"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="147"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" changeBounds.setReparent(reparent);"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="156"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return new ChangeTransform();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="164"
+ column="20"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" TransitionSet set = new TransitionSet();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="196"
+ column="33"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" set.setOrdering(sequential ? TransitionSet.ORDERING_SEQUENTIAL"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="197"
+ column="17"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return new ChangeTransform();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="215"
+ column="20"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" ((TransitionSet) transitionSet).addTransition((Transition) transition);"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="225"
+ column="45"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" ((Transition) transition).excludeTarget(targetId, exclude);"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="231"
+ column="39"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" ((Transition) transition).excludeTarget(targetView, exclude);"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="237"
+ column="39"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" ((Transition) transition).excludeChildren(targetId, exclude);"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="243"
+ column="39"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" ((Transition) transition).excludeChildren(targetView, exclude);"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="249"
+ column="39"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" ((Transition) transition).addTarget(targetId);"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="255"
+ column="39"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" ((Transition) transition).addTarget(targetView);"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="261"
+ column="39"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" ((Transition) transition).setStartDelay(startDelay);"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="267"
+ column="39"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" ((Transition) transition).setDuration(duration);"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="273"
+ column="39"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return new AutoTransition();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="279"
+ column="20"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return new Fade(fadeMode);"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="286"
+ column="20"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" t.addListener((Transition.TransitionListener) listener.mImpl);"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="323"
+ column="15"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" t.removeListener((Transition.TransitionListener) listener.mImpl);"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="339"
+ column="15"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" TransitionManager.go((Scene) scene, (Transition) transition);"
+ errorLine2=" ~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="351"
+ column="31"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" ((Transition) transition).setInterpolator((TimeInterpolator) timeInterpolator);"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="373"
+ column="39"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" ((Transition) transition).addTarget(view);"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="379"
+ column="39"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return TransitionInflater.from(context).inflateTransition(resId);"
+ errorLine2=" ~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="393"
+ column="39"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return TransitionInflater.from(context).inflateTransition(resId);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="393"
+ column="53"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" fragment.setEnterTransition((Transition) transition);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="401"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" fragment.setExitTransition((Transition) transition);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="408"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" fragment.setSharedElementEnterTransition((Transition) transition);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="416"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" ft.addSharedElement(view, transitionName);"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="424"
+ column="16"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" TransitionManager.beginDelayedTransition(sceneRoot, transition);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="447"
+ column="31"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" viewGroup.setTransitionGroup(transitionGroup);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="453"
+ column="23"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" ((Transition) transition).setEpicenterCallback(null);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="461"
+ column="43"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.leanback.transition.TransitionHelper is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" ((Transition) transition).setEpicenterCallback(new Transition.EpicenterCallback() {"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
+ line="463"
+ column="43"/>
+ </issue>
<issue
id="PrivateConstructorForUtilityClass"
@@ -13,897 +904,6 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.leanback.widget.BackgroundHelper 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=" drawable.setAlpha(view.getBackground().getAlpha());"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/widget/BackgroundHelper.java"
- line="35"
- column="56"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.leanback.widget.picker.DatePicker 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=" yearPattern = android.text.format.DateFormat.getBestDateTimePattern(mConstant.locale,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/widget/picker/DatePicker.java"
- line="144"
- column="58"/>
- </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=" Rect center = t.getEpicenter();"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="api21/androidx/leanback/transition/FadeAndShortSlide.java"
- line="114"
- column="29"/>
- </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=" Rect center = getEpicenter();"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="api21/androidx/leanback/transition/FadeAndShortSlide.java"
- line="144"
- column="27"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.leanback.widget.ForegroundHelper 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=" return view.getForeground();"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/widget/ForegroundHelper.java"
- line="17"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.leanback.widget.ForegroundHelper 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=" view.setForeground(drawable);"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/widget/ForegroundHelper.java"
- line="25"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.leanback.app.FragmentUtil 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=" return fragment.getContext();"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/app/FragmentUtil.java"
- line="25"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.leanback.widget.GuidedActionsStylist 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=" vh.mTitleView.setAutofillHints(action.getAutofillHints());"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/widget/GuidedActionsStylist.java"
- line="690"
- column="35"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.leanback.widget.GuidedActionsStylist 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=" vh.mTitleView.setAutofillHints((String[]) null);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/widget/GuidedActionsStylist.java"
- line="692"
- column="35"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.leanback.widget.GuidedActionsStylist 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=" vh.mTitleView.setImportantForAutofill(View.IMPORTANT_FOR_AUTOFILL_NO);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/widget/GuidedActionsStylist.java"
- line="696"
- column="31"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.leanback.widget.GuidedActionsStylist 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=" vh.mDescriptionView.setAutofillHints(action.getAutofillHints());"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/widget/GuidedActionsStylist.java"
- line="711"
- column="41"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.leanback.widget.GuidedActionsStylist 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=" vh.mDescriptionView.setAutofillHints((String[]) null);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/widget/GuidedActionsStylist.java"
- line="713"
- column="41"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.leanback.widget.GuidedActionsStylist 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=" vh.mTitleView.setImportantForAutofill(View.IMPORTANT_FOR_AUTOFILL_NO);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/widget/GuidedActionsStylist.java"
- line="717"
- column="31"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.leanback.app.GuidedStepFragment 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=" ft.addSharedElement(subView, transitionName);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/app/GuidedStepFragment.java"
- line="562"
- column="20"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.leanback.app.GuidedStepFragment 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=" setEnterTransition((android.transition.Transition) enterTransition);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/app/GuidedStepFragment.java"
- line="903"
- column="17"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.leanback.app.GuidedStepFragment 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=" setSharedElementEnterTransition((android.transition.Transition) sharedElementTransition);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/app/GuidedStepFragment.java"
- line="912"
- column="17"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.leanback.app.GuidedStepFragment 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=" setEnterTransition((android.transition.Transition) enterTransition);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/app/GuidedStepFragment.java"
- line="925"
- column="21"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.leanback.app.GuidedStepFragment 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=" setEnterTransition((android.transition.Transition) enterTransition);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/app/GuidedStepFragment.java"
- line="932"
- column="21"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.leanback.app.GuidedStepFragment 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=" setSharedElementEnterTransition(null);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/app/GuidedStepFragment.java"
- line="935"
- column="17"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.leanback.app.GuidedStepFragment 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=" setEnterTransition(null);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/app/GuidedStepFragment.java"
- line="938"
- column="17"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.leanback.app.GuidedStepFragment 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=" setSharedElementEnterTransition(null);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/app/GuidedStepFragment.java"
- line="940"
- column="17"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.leanback.app.GuidedStepFragment 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=" setExitTransition((android.transition.Transition) exitTransition);"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/app/GuidedStepFragment.java"
- line="947"
- column="13"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.leanback.transition.LeanbackTransitionHelper 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=" slide.setInterpolator(AnimationUtils.loadInterpolator(context,"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/LeanbackTransitionHelper.java"
- line="40"
- column="15"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.leanback.transition.LeanbackTransitionHelper 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=" slide.addTarget(R.id.browse_title_group);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/LeanbackTransitionHelper.java"
- line="42"
- column="15"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.leanback.transition.LeanbackTransitionHelper 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=" slide.setInterpolator(AnimationUtils.loadInterpolator(context,"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/LeanbackTransitionHelper.java"
- line="53"
- column="15"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.leanback.transition.LeanbackTransitionHelper 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=" slide.addTarget(R.id.browse_title_group);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/LeanbackTransitionHelper.java"
- line="55"
- column="15"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.leanback.app.PermissionHelper 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=" fragment.requestPermissions(permissions, requestCode);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/app/PermissionHelper.java"
- line="33"
- column="22"/>
- </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=" ? !mProgressBar.isAccessibilityFocused() : true);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/widget/PlaybackTransportRowPresenter.java"
- line="320"
- column="57"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.leanback.widget.RoundedRectHelperApi21.RoundedRectOutlineProvider 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=" outline.setRoundRect(0, 0, view.getWidth(), view.getHeight(), mRadius);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/widget/RoundedRectHelperApi21.java"
- line="39"
- column="21"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.leanback.widget.RoundedRectHelperApi21.RoundedRectOutlineProvider 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=" outline.setAlpha(1f);"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/widget/RoundedRectHelperApi21.java"
- line="40"
- column="21"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.leanback.system.Settings 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=" mOutlineClippingDisabled = activityManager.isLowRamDevice();"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/system/Settings.java"
- line="132"
- column="56"/>
- </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=" outline.setRect(0, 0, view.getWidth(), view.getHeight());"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/widget/ShadowHelperApi21.java"
- line="34"
- column="21"/>
- </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=" outline.setAlpha(1.0f);"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/widget/ShadowHelperApi21.java"
- line="35"
- column="21"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.leanback.widget.StaticShadowHelper 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=" parent.setLayoutMode(ViewGroup.LAYOUT_MODE_OPTICAL_BOUNDS);"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/widget/StaticShadowHelper.java"
- line="38"
- column="20"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.leanback.widget.StaticShadowHelper 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=" shadowContainer.setLayoutMode(ViewGroup.LAYOUT_MODE_OPTICAL_BOUNDS);"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/widget/StaticShadowHelper.java"
- line="44"
- column="29"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.leanback.widget.picker.TimePicker 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=" hourPattern = DateFormat.getBestDateTimePattern(mConstant.locale, mIs24hFormat ? "Hma""
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/widget/picker/TimePicker.java"
- line="159"
- column="38"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.leanback.transition.TransitionHelper 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 window.getSharedElementEnterTransition();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="66"
- column="27"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.leanback.transition.TransitionHelper 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=" window.setSharedElementEnterTransition((Transition) transition);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="73"
- column="20"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.leanback.transition.TransitionHelper 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 window.getSharedElementReturnTransition();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="79"
- column="27"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.leanback.transition.TransitionHelper 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=" window.setSharedElementReturnTransition((Transition) transition);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="86"
- column="20"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.leanback.transition.TransitionHelper 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 window.getSharedElementExitTransition();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="92"
- column="27"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.leanback.transition.TransitionHelper 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 window.getSharedElementReenterTransition();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="99"
- column="27"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.leanback.transition.TransitionHelper 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 window.getEnterTransition();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="106"
- column="27"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.leanback.transition.TransitionHelper 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=" window.setEnterTransition((Transition) transition);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="113"
- column="20"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.leanback.transition.TransitionHelper 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 window.getReturnTransition();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="119"
- column="27"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.leanback.transition.TransitionHelper 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=" window.setReturnTransition((Transition) transition);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="126"
- column="20"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.leanback.transition.TransitionHelper 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 window.getExitTransition();"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="132"
- column="27"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.leanback.transition.TransitionHelper 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 window.getReenterTransition();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="139"
- column="27"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.leanback.transition.TransitionHelper 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=" Scene scene = new Scene(sceneRoot);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="146"
- column="27"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.leanback.transition.TransitionHelper 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=" scene.setEnterAction(r);"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="147"
- column="19"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.leanback.transition.TransitionHelper 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=" changeBounds.setReparent(reparent);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="156"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.leanback.transition.TransitionHelper 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 ChangeTransform();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="164"
- column="20"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.leanback.transition.TransitionHelper 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=" TransitionSet set = new TransitionSet();"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="196"
- column="33"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.leanback.transition.TransitionHelper 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=" set.setOrdering(sequential ? TransitionSet.ORDERING_SEQUENTIAL"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="197"
- column="17"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.leanback.transition.TransitionHelper 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 ChangeTransform();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="215"
- column="20"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.leanback.transition.TransitionHelper 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=" ((TransitionSet) transitionSet).addTransition((Transition) transition);"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="225"
- column="45"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.leanback.transition.TransitionHelper 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=" ((Transition) transition).excludeTarget(targetId, exclude);"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="231"
- column="39"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.leanback.transition.TransitionHelper 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=" ((Transition) transition).excludeTarget(targetView, exclude);"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="237"
- column="39"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.leanback.transition.TransitionHelper 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=" ((Transition) transition).excludeChildren(targetId, exclude);"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="243"
- column="39"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.leanback.transition.TransitionHelper 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=" ((Transition) transition).excludeChildren(targetView, exclude);"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="249"
- column="39"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.leanback.transition.TransitionHelper 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=" ((Transition) transition).addTarget(targetId);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="255"
- column="39"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.leanback.transition.TransitionHelper 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=" ((Transition) transition).addTarget(targetView);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="261"
- column="39"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.leanback.transition.TransitionHelper 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=" ((Transition) transition).setStartDelay(startDelay);"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="267"
- column="39"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.leanback.transition.TransitionHelper 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=" ((Transition) transition).setDuration(duration);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="273"
- column="39"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.leanback.transition.TransitionHelper 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=" return new AutoTransition();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="279"
- column="20"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.leanback.transition.TransitionHelper 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=" return new Fade(fadeMode);"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="286"
- column="20"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.leanback.transition.TransitionHelper 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=" t.addListener((Transition.TransitionListener) listener.mImpl);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="323"
- column="15"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.leanback.transition.TransitionHelper 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=" t.removeListener((Transition.TransitionListener) listener.mImpl);"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="339"
- column="15"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.leanback.transition.TransitionHelper 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=" TransitionManager.go((Scene) scene, (Transition) transition);"
- errorLine2=" ~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="351"
- column="31"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.leanback.transition.TransitionHelper 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=" ((Transition) transition).setInterpolator((TimeInterpolator) timeInterpolator);"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="373"
- column="39"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.leanback.transition.TransitionHelper 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=" ((Transition) transition).addTarget(view);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="379"
- column="39"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.leanback.transition.TransitionHelper 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=" return TransitionInflater.from(context).inflateTransition(resId);"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="393"
- column="39"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.leanback.transition.TransitionHelper 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=" return TransitionInflater.from(context).inflateTransition(resId);"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="393"
- column="53"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.leanback.transition.TransitionHelper 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=" fragment.setEnterTransition((Transition) transition);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="401"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.leanback.transition.TransitionHelper 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=" fragment.setExitTransition((Transition) transition);"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="408"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.leanback.transition.TransitionHelper 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=" fragment.setSharedElementEnterTransition((Transition) transition);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="416"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.leanback.transition.TransitionHelper 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=" ft.addSharedElement(view, transitionName);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="424"
- column="16"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.leanback.transition.TransitionHelper 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=" TransitionManager.beginDelayedTransition(sceneRoot, transition);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="447"
- column="31"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.leanback.transition.TransitionHelper 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=" viewGroup.setTransitionGroup(transitionGroup);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="453"
- column="23"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.leanback.transition.TransitionHelper 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=" ((Transition) transition).setEpicenterCallback(null);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="461"
- column="43"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.leanback.transition.TransitionHelper 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=" ((Transition) transition).setEpicenterCallback(new Transition.EpicenterCallback() {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/leanback/transition/TransitionHelper.java"
- line="463"
- column="43"/>
- </issue>
-
- <issue
id="KotlinPropertyAccess"
message="This method should be called `getHasMediaRowSeparator` such that `hasMediaRowSeparator` can be accessed as a property from Kotlin; see https://android.github.io/kotlin-guides/interop.html#property-prefixes"
errorLine1=" public boolean hasMediaRowSeparator() {"
@@ -1831,7 +1831,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/leanback/app/BackgroundManager.java"
- line="546"
+ line="548"
column="19"/>
</issue>
@@ -1842,7 +1842,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/leanback/app/BackgroundManager.java"
- line="546"
+ line="548"
column="49"/>
</issue>
@@ -1853,7 +1853,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/leanback/app/BackgroundManager.java"
- line="649"
+ line="651"
column="24"/>
</issue>
@@ -1864,7 +1864,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/leanback/app/BackgroundManager.java"
- line="665"
+ line="667"
column="30"/>
</issue>
@@ -1875,7 +1875,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/leanback/app/BackgroundManager.java"
- line="736"
+ line="738"
column="29"/>
</issue>
@@ -1886,7 +1886,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/leanback/app/BackgroundManager.java"
- line="744"
+ line="746"
column="12"/>
</issue>
@@ -1897,7 +1897,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/leanback/app/BackgroundManager.java"
- line="753"
+ line="755"
column="12"/>
</issue>
@@ -1908,7 +1908,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/leanback/app/BackgroundManager.java"
- line="833"
+ line="835"
column="29"/>
</issue>
@@ -1919,7 +1919,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/leanback/app/BackgroundManager.java"
- line="887"
+ line="889"
column="27"/>
</issue>
@@ -1930,7 +1930,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/leanback/app/BackgroundManager.java"
- line="962"
+ line="964"
column="12"/>
</issue>
@@ -2282,7 +2282,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/leanback/widget/BaseGridView.java"
- line="900"
+ line="916"
column="63"/>
</issue>
@@ -2293,7 +2293,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/leanback/widget/BaseGridView.java"
- line="916"
+ line="932"
column="40"/>
</issue>
@@ -2304,7 +2304,7 @@
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/leanback/widget/BaseGridView.java"
- line="916"
+ line="932"
column="51"/>
</issue>
@@ -2315,7 +2315,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/leanback/widget/BaseGridView.java"
- line="930"
+ line="946"
column="12"/>
</issue>
@@ -2326,7 +2326,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/leanback/widget/BaseGridView.java"
- line="944"
+ line="960"
column="69"/>
</issue>
@@ -2337,7 +2337,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/leanback/widget/BaseGridView.java"
- line="1040"
+ line="1056"
column="45"/>
</issue>
@@ -2348,7 +2348,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/leanback/widget/BaseGridView.java"
- line="1048"
+ line="1064"
column="46"/>
</issue>
@@ -2359,7 +2359,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/leanback/widget/BaseGridView.java"
- line="1056"
+ line="1072"
column="43"/>
</issue>
@@ -2370,7 +2370,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/leanback/widget/BaseGridView.java"
- line="1064"
+ line="1080"
column="43"/>
</issue>
@@ -2381,7 +2381,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/leanback/widget/BaseGridView.java"
- line="1072"
+ line="1088"
column="12"/>
</issue>
@@ -2392,7 +2392,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/leanback/widget/BaseGridView.java"
- line="1077"
+ line="1093"
column="37"/>
</issue>
@@ -2403,7 +2403,7 @@
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/androidx/leanback/widget/BaseGridView.java"
- line="1088"
+ line="1104"
column="39"/>
</issue>
@@ -2414,7 +2414,7 @@
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/androidx/leanback/widget/BaseGridView.java"
- line="1098"
+ line="1114"
column="51"/>
</issue>
@@ -2425,7 +2425,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/leanback/widget/BaseGridView.java"
- line="1348"
+ line="1366"
column="28"/>
</issue>
@@ -13161,7 +13161,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/leanback/media/MediaControllerGlue.java"
- line="70"
+ line="71"
column="32"/>
</issue>
@@ -13172,7 +13172,7 @@
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/leanback/media/MediaControllerGlue.java"
- line="71"
+ line="72"
column="32"/>
</issue>
@@ -13183,7 +13183,7 @@
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/leanback/media/MediaControllerGlue.java"
- line="72"
+ line="73"
column="32"/>
</issue>
@@ -13194,7 +13194,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/leanback/media/MediaControllerGlue.java"
- line="79"
+ line="80"
column="41"/>
</issue>
@@ -13205,7 +13205,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/leanback/media/MediaControllerGlue.java"
- line="106"
+ line="107"
column="18"/>
</issue>
@@ -13216,7 +13216,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/leanback/media/MediaControllerGlue.java"
- line="147"
+ line="148"
column="12"/>
</issue>
@@ -13227,7 +13227,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/leanback/media/MediaControllerGlue.java"
- line="152"
+ line="153"
column="12"/>
</issue>
@@ -13238,7 +13238,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/leanback/media/MediaControllerGlue.java"
- line="168"
+ line="169"
column="12"/>
</issue>
diff --git a/legacy/core-utils/lint-baseline.xml b/legacy/core-utils/lint-baseline.xml
index ee208f1b..e51fb50 100644
--- a/legacy/core-utils/lint-baseline.xml
+++ b/legacy/core-utils/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="UnknownNullness"
diff --git a/lifecycle/integration-tests/incrementality/lint-baseline.xml b/lifecycle/integration-tests/incrementality/lint-baseline.xml
index 297ae16..8794ae8 100644
--- a/lifecycle/integration-tests/incrementality/lint-baseline.xml
+++ b/lifecycle/integration-tests/incrementality/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
</issues>
diff --git a/lifecycle/integration-tests/kotlintestapp/lint-baseline.xml b/lifecycle/integration-tests/kotlintestapp/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/lifecycle/integration-tests/kotlintestapp/lint-baseline.xml
+++ b/lifecycle/integration-tests/kotlintestapp/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/lifecycle/integration-tests/testapp/lint-baseline.xml b/lifecycle/integration-tests/testapp/lint-baseline.xml
index 2a95858..76a3a35 100644
--- a/lifecycle/integration-tests/testapp/lint-baseline.xml
+++ b/lifecycle/integration-tests/testapp/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="UnusedResources"
diff --git a/lifecycle/lifecycle-common-java8/lint-baseline.xml b/lifecycle/lifecycle-common-java8/lint-baseline.xml
index 297ae16..8794ae8 100644
--- a/lifecycle/lifecycle-common-java8/lint-baseline.xml
+++ b/lifecycle/lifecycle-common-java8/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
</issues>
diff --git a/lifecycle/lifecycle-common/lint-baseline.xml b/lifecycle/lifecycle-common/lint-baseline.xml
index a967115..c4b7d4c 100644
--- a/lifecycle/lifecycle-common/lint-baseline.xml
+++ b/lifecycle/lifecycle-common/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
<issue
id="BanUncheckedReflection"
diff --git a/lifecycle/lifecycle-compiler/lint-baseline.xml b/lifecycle/lifecycle-compiler/lint-baseline.xml
index 297ae16..8794ae8 100644
--- a/lifecycle/lifecycle-compiler/lint-baseline.xml
+++ b/lifecycle/lifecycle-compiler/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
</issues>
diff --git a/lifecycle/lifecycle-extensions/lint-baseline.xml b/lifecycle/lifecycle-extensions/lint-baseline.xml
index 99a5199..1105055 100644
--- a/lifecycle/lifecycle-extensions/lint-baseline.xml
+++ b/lifecycle/lifecycle-extensions/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="PrivateConstructorForUtilityClass"
diff --git a/lifecycle/lifecycle-livedata-core-ktx-lint/lint-baseline.xml b/lifecycle/lifecycle-livedata-core-ktx-lint/lint-baseline.xml
index 297ae16..8794ae8 100644
--- a/lifecycle/lifecycle-livedata-core-ktx-lint/lint-baseline.xml
+++ b/lifecycle/lifecycle-livedata-core-ktx-lint/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
</issues>
diff --git a/lifecycle/lifecycle-livedata-core-ktx/lint-baseline.xml b/lifecycle/lifecycle-livedata-core-ktx/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/lifecycle/lifecycle-livedata-core-ktx/lint-baseline.xml
+++ b/lifecycle/lifecycle-livedata-core-ktx/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/lifecycle/lifecycle-livedata-core-truth/lint-baseline.xml b/lifecycle/lifecycle-livedata-core-truth/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/lifecycle/lifecycle-livedata-core-truth/lint-baseline.xml
+++ b/lifecycle/lifecycle-livedata-core-truth/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/lifecycle/lifecycle-livedata-core/lint-baseline.xml b/lifecycle/lifecycle-livedata-core/lint-baseline.xml
index ec327ee..bb15a72 100644
--- a/lifecycle/lifecycle-livedata-core/lint-baseline.xml
+++ b/lifecycle/lifecycle-livedata-core/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="RestrictedApi"
diff --git a/lifecycle/lifecycle-livedata-ktx/lint-baseline.xml b/lifecycle/lifecycle-livedata-ktx/lint-baseline.xml
index 5d56a7d..272a7ee 100644
--- a/lifecycle/lifecycle-livedata-ktx/lint-baseline.xml
+++ b/lifecycle/lifecycle-livedata-ktx/lint-baseline.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.lifecycle.CoroutineLiveDataKt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.lifecycle.CoroutineLiveDataKt is reachable from earlier API levels and will fail run-time class verification."
errorLine1="): LiveData<T> = CoroutineLiveData(context, timeout.toMillis(), block)"
errorLine2=" ~~~~~~~~">
<location
@@ -13,8 +13,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.lifecycle.FlowLiveDataConversions 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.lifecycle.FlowLiveDataConversions is reachable from earlier API levels and will fail run-time class verification."
errorLine1="): LiveData<T> = asLiveData(context, timeout.toMillis())"
errorLine2=" ~~~~~~~~">
<location
diff --git a/lifecycle/lifecycle-livedata/lint-baseline.xml b/lifecycle/lifecycle-livedata/lint-baseline.xml
index bebba2a..fcdbfa4 100644
--- a/lifecycle/lifecycle-livedata/lint-baseline.xml
+++ b/lifecycle/lifecycle-livedata/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="RestrictedApi"
diff --git a/lifecycle/lifecycle-process/lint-baseline.xml b/lifecycle/lifecycle-process/lint-baseline.xml
index da96649..aedb5b1 100644
--- a/lifecycle/lifecycle-process/lint-baseline.xml
+++ b/lifecycle/lifecycle-process/lint-baseline.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" activity.registerActivityLifecycleCallbacks(new EmptyActivityLifecycleCallbacks() {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
diff --git a/lifecycle/lifecycle-reactivestreams-ktx/lint-baseline.xml b/lifecycle/lifecycle-reactivestreams-ktx/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/lifecycle/lifecycle-reactivestreams-ktx/lint-baseline.xml
+++ b/lifecycle/lifecycle-reactivestreams-ktx/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/lifecycle/lifecycle-reactivestreams/lint-baseline.xml b/lifecycle/lifecycle-reactivestreams/lint-baseline.xml
index ad89376..42a29d7 100644
--- a/lifecycle/lifecycle-reactivestreams/lint-baseline.xml
+++ b/lifecycle/lifecycle-reactivestreams/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="RestrictedApi"
diff --git a/lifecycle/lifecycle-runtime-ktx-lint/lint-baseline.xml b/lifecycle/lifecycle-runtime-ktx-lint/lint-baseline.xml
index 297ae16..8794ae8 100644
--- a/lifecycle/lifecycle-runtime-ktx-lint/lint-baseline.xml
+++ b/lifecycle/lifecycle-runtime-ktx-lint/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
</issues>
diff --git a/lifecycle/lifecycle-runtime-ktx/lint-baseline.xml b/lifecycle/lifecycle-runtime-ktx/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/lifecycle/lifecycle-runtime-ktx/lint-baseline.xml
+++ b/lifecycle/lifecycle-runtime-ktx/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/lifecycle/lifecycle-runtime-testing/lint-baseline.xml b/lifecycle/lifecycle-runtime-testing/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/lifecycle/lifecycle-runtime-testing/lint-baseline.xml
+++ b/lifecycle/lifecycle-runtime-testing/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/lifecycle/lifecycle-runtime/lint-baseline.xml b/lifecycle/lifecycle-runtime/lint-baseline.xml
index 703c323..da31c8e 100644
--- a/lifecycle/lifecycle-runtime/lint-baseline.xml
+++ b/lifecycle/lifecycle-runtime/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="RestrictedApi"
diff --git a/lifecycle/lifecycle-service/lint-baseline.xml b/lifecycle/lifecycle-service/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/lifecycle/lifecycle-service/lint-baseline.xml
+++ b/lifecycle/lifecycle-service/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/lifecycle/lifecycle-viewmodel-ktx/lint-baseline.xml b/lifecycle/lifecycle-viewmodel-ktx/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/lifecycle/lifecycle-viewmodel-ktx/lint-baseline.xml
+++ b/lifecycle/lifecycle-viewmodel-ktx/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/lifecycle/lifecycle-viewmodel-savedstate/lint-baseline.xml b/lifecycle/lifecycle-viewmodel-savedstate/lint-baseline.xml
index d82c192d..caf0f82 100644
--- a/lifecycle/lifecycle-viewmodel-savedstate/lint-baseline.xml
+++ b/lifecycle/lifecycle-viewmodel-savedstate/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="LambdaLast"
diff --git a/lifecycle/lifecycle-viewmodel/lint-baseline.xml b/lifecycle/lifecycle-viewmodel/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/lifecycle/lifecycle-viewmodel/lint-baseline.xml
+++ b/lifecycle/lifecycle-viewmodel/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/lint-checks/src/main/java/androidx/build/lint/AndroidXIssueRegistry.kt b/lint-checks/src/main/java/androidx/build/lint/AndroidXIssueRegistry.kt
index e0e0044..b1d652f 100644
--- a/lint-checks/src/main/java/androidx/build/lint/AndroidXIssueRegistry.kt
+++ b/lint-checks/src/main/java/androidx/build/lint/AndroidXIssueRegistry.kt
@@ -51,7 +51,7 @@
BanSynchronizedMethods.ISSUE,
MetadataTagInsideApplicationTagDetector.ISSUE,
PrivateConstructorForUtilityClass.ISSUE,
- UnsafeNewApiCallsDetector.ISSUE
+ ClassVerificationFailureDetector.ISSUE
)
}
}
diff --git a/lint-checks/src/main/java/androidx/build/lint/UnsafeNewApiCallsDetector.kt b/lint-checks/src/main/java/androidx/build/lint/ClassVerificationFailureDetector.kt
similarity index 86%
rename from lint-checks/src/main/java/androidx/build/lint/UnsafeNewApiCallsDetector.kt
rename to lint-checks/src/main/java/androidx/build/lint/ClassVerificationFailureDetector.kt
index cb1311e..cc22b9c 100644
--- a/lint-checks/src/main/java/androidx/build/lint/UnsafeNewApiCallsDetector.kt
+++ b/lint-checks/src/main/java/androidx/build/lint/ClassVerificationFailureDetector.kt
@@ -13,7 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+
package androidx.build.lint
+
import com.android.SdkConstants.ATTR_VALUE
import com.android.SdkConstants.DOT_JAVA
import com.android.tools.lint.checks.ApiDetector.Companion.REQUIRES_API_ANNOTATION
@@ -53,27 +55,40 @@
import org.jetbrains.uast.java.JavaUAnnotation
import org.jetbrains.uast.util.isConstructorCall
import org.jetbrains.uast.util.isMethodCall
+
/**
- * This detects usages of a platform api that are not within a class annotated with RequiresApi(x)
- * where x is equal or higher to that api. It is to encourage developers to move calls to apis
- * higher than minSdk to be within a specialized annotated class (classes with names
- * traditionally ending with ....ApiXImpl.
+ * This check detects references to platform APIs that are likely to cause class verification
+ * failures.
+ * <p>
+ * Specifically, this check looks for references to APIs that were added prior to the library's
+ * minSdkVersion and therefore may not exist on the run-time classpath. If the class verifier
+ * detects such a reference, e.g. while verifying a class containing the reference, it will abort
+ * verification. This will prevent the class from being optimized, resulting in potentially severe
+ * performance losses.
+ * <p>
+ * See Chromium's excellent guide to Class Verification Failures for more information:
+ * https://chromium.googlesource.com/chromium/src/+/HEAD/build/android/docs/class_verification_failures.md
*/
-class UnsafeNewApiCallsDetector : Detector(), SourceCodeScanner {
+class ClassVerificationFailureDetector : Detector(), SourceCodeScanner {
private var apiDatabase: ApiLookup? = null
+
override fun beforeCheckEachProject(context: Context) {
apiDatabase = ApiLookup.get(context.client, context.project.buildTarget)
}
+
override fun afterCheckEachProject(context: Context) {
apiDatabase = null
}
+
override fun createUastHandler(context: JavaContext): UElementHandler? {
if (apiDatabase == null) {
return null
}
return ApiVisitor(context)
}
+
override fun getApplicableUastTypes() = listOf(UCallExpression::class.java)
+
// Consider making this a top class and pass in apiDatabase explicitly.
private inner class ApiVisitor(private val context: JavaContext) : UElementHandler() {
override fun visitCallExpression(node: UCallExpression) {
@@ -82,6 +97,7 @@
visitCall(method, node, node)
}
}
+
private fun visitCall(
method: PsiMethod,
call: UCallExpression?,
@@ -349,8 +365,7 @@
return
}
val potentialRequiresApiVersion = getRequiresApiFromAnnotations(
- call
- .getContainingUClass()!!.javaPsi
+ call.getContainingUClass()!!.javaPsi
)
if (potentialRequiresApiVersion == NO_API_REQUIREMENT ||
api > potentialRequiresApiVersion
@@ -358,15 +373,13 @@
val containingClassName = call.getContainingUClass()!!.qualifiedName.toString()
context.report(
ISSUE, reference, location,
- "This call is to a method from API $api, the call containing " +
- "class $containingClassName is not annotated with " +
- "@RequiresApi(x) where x is at least $api. Either annotate the " +
- "containing class with at least @RequiresApi($api) or move the " +
- "call to a static method in a wrapper class annotated with at " +
- "least @RequiresApi($api)."
+ "This call references a method added in API level $api; however, the " +
+ "containing class $containingClassName is reachable from earlier API " +
+ "levels and will fail run-time class verification."
)
}
}
+
private fun getInheritanceChain(
derivedClass: PsiClassType,
baseClass: PsiClassType?
@@ -378,6 +391,7 @@
chain?.reverse()
return chain
}
+
private fun getInheritanceChain(
derivedClass: PsiClassType,
baseClass: PsiClassType?,
@@ -398,6 +412,7 @@
}
return null
}
+
private fun getRequiresApiFromAnnotations(modifierListOwner: PsiModifierListOwner): Int {
for (annotation in context.evaluator.getAllAnnotations(modifierListOwner, false)) {
val qualifiedName = annotation.qualifiedName
@@ -453,52 +468,57 @@
return NO_API_REQUIREMENT
}
}
+
companion object {
const val NO_API_REQUIREMENT = -1
val ISSUE = Issue.create(
- "UnsafeNewApiCall",
- "Calling method with API level higher than minSdk outside a " +
- "@RequiresApi class or with insufficient required API.",
+ "ClassVerificationFailure",
+ "Even in cases where references to new APIs are gated on SDK_INT " +
+ "checks, run-time class verification will still fail on references to APIs that " +
+ "may not be available at run time, including platform APIs introduced after a " +
+ "library's minSdkVersion.",
"""
- Even though wrapping a call to a method from an API above minSdk
- inside an SDK_INT check makes it runtime safe, it is not optimal. When
- ART tries to optimize a class, it will do so regardless of the execution
- path, and will fail if it tries to resolve a method at a higher API if
- that method is being referenced
- somewhere in the class, even if that method would never be called at runtime
- due to the SDK_INT check. ART will however only try to optimize a class the
- first time it's referenced at runtime, this means if we wrap our above
- minSdk method calls inside classes that are only referenced at runtime at
- the appropriate API level, then we guarantee the ablity to resolve all the
- methods. To enforce this we require that all references to methods above
- minSdk are made inside classes that are annotated with RequiresApi(x) where
- x is at least the api at which the methods becomes available.
- For example if our minSdk is 14, and framework method a.x(params...) is
- available starting sdk 16, then creating the following example class is
- considered good practice:
+ The Java language requires a virtual machine to verify the class files it
+ loads and executes. A class may fail verification for a wide variety of
+ reasons, but in practice it‘s usually because the class’s code refers to
+ unknown classes or methods.
+
+ References to APIs added after a library's minSdkVersion -- regardless of
+ any surrounding version checks -- will fail run-time class verification if
+ the API does not exist on the device, leading to reduced run-time
+ performance.
+
+ Gating references on SDK checks alone DOES NOT address class verification
+ failures.
+
+ To prevent class verification failures, references to new APIs must be
+ moved to inner classes that are only initialized inside of an appropriate
+ SDK check.
+
+ For example, if our minimum SDK is 14 and platform method a.x(params...)
+ was added in SDK 16, the method call must be moved to an inner class like:
+
@RequiresApi(16)
private static class Api16Impl{
+ @DoNotInline
static void callX(params...) {
a.x(params...);
}
}
+
The call site is changed from a.x(params...) to Api16Impl.callX(params).
+
Since ART will only try to optimize Api16Impl when it's on the execution
path, we are guaranteed to have a.x(...) available.
- In addition, shrinkers like r8/proguard may inline the method in the separate
- class and replace the wrapper call with the actual call, so you may have to disable
- inlining the class by using a proguard rule. The following is an example of how to
- disable inlining methods from Impl classes inside the WindowInsetsCompat class:
- -keepclassmembernames,allowobfuscation,allowshrinking class
- androidx.core.view.WindowInsetsCompat${'$'}*Impl* {
- <methods>;
- }
- This will still allow them to be removed, but if they are kept, they will not be
- inlined.
+
+ In addition, optimizers like R8 or Proguard may inline the method in the
+ separate class and replace the wrapper call with the actual call, so you
+ must disable inlining using the @DoNotInline annotation.
+
Failure to do the above may result in overall performance degradation.
""",
Category.CORRECTNESS, 5, Severity.ERROR,
- Implementation(UnsafeNewApiCallsDetector::class.java, Scope.JAVA_FILE_SCOPE)
+ Implementation(ClassVerificationFailureDetector::class.java, Scope.JAVA_FILE_SCOPE)
).setAndroidSpecific(true)
}
}
diff --git a/lint-checks/tests/lint-baseline.xml b/lint-checks/tests/lint-baseline.xml
index 297ae16..8794ae8 100644
--- a/lint-checks/tests/lint-baseline.xml
+++ b/lint-checks/tests/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
</issues>
diff --git a/lint-demos/lint-demo-appcompat/lint-baseline.xml b/lint-demos/lint-demo-appcompat/lint-baseline.xml
index 02fd3ae..aed50b7 100644
--- a/lint-demos/lint-demo-appcompat/lint-baseline.xml
+++ b/lint-demos/lint-demo-appcompat/lint-baseline.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class com.example.android.appcompat.AppCompatLintDemo 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class com.example.android.appcompat.AppCompatLintDemo is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" noop.setCompoundDrawableTintList(csl);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -13,8 +13,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class com.example.android.appcompat.AppCompatLintDemo 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class com.example.android.appcompat.AppCompatLintDemo is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" noop.setCompoundDrawableTintMode(PorterDuff.Mode.DST);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -24,8 +24,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class com.example.android.appcompat.AppCompatLintDemo 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class com.example.android.appcompat.AppCompatLintDemo is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" setActionBar(new Toolbar(this));"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -35,8 +35,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class com.example.android.appcompat.AppCompatLintDemo 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class com.example.android.appcompat.AppCompatLintDemo is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" setActionBar(new Toolbar(this));"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -46,8 +46,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class com.example.android.appcompat.AppCompatLintDemoExt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class com.example.android.appcompat.AppCompatLintDemoExt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" setActionBar(new Toolbar(this));"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -57,8 +57,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class com.example.android.appcompat.AppCompatLintDemoExt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class com.example.android.appcompat.AppCompatLintDemoExt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" setActionBar(new Toolbar(this));"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -68,8 +68,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class com.example.android.appcompat.CoreActivityExt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class com.example.android.appcompat.CoreActivityExt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" setActionBar(new Toolbar(this));"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -79,8 +79,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class com.example.android.appcompat.CoreActivityExt 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class com.example.android.appcompat.CoreActivityExt is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" setActionBar(new Toolbar(this));"
errorLine2=" ~~~~~~~~~~~">
<location
diff --git a/loader/loader-ktx/lint-baseline.xml b/loader/loader-ktx/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/loader/loader-ktx/lint-baseline.xml
+++ b/loader/loader-ktx/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/loader/loader/lint-baseline.xml b/loader/loader/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/loader/loader/lint-baseline.xml
+++ b/loader/loader/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/localbroadcastmanager/localbroadcastmanager/lint-baseline.xml b/localbroadcastmanager/localbroadcastmanager/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/localbroadcastmanager/localbroadcastmanager/lint-baseline.xml
+++ b/localbroadcastmanager/localbroadcastmanager/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/media/media/lint-baseline.xml b/media/media/lint-baseline.xml
index 9c9fd34..fe2ad39 100644
--- a/media/media/lint-baseline.xml
+++ b/media/media/lint-baseline.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.media.AudioAttributesImplApi21.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.media.AudioAttributesImplApi21.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mFwkBuilder = new AudioAttributes.Builder();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -13,8 +13,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.media.AudioAttributesImplApi21.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.media.AudioAttributesImplApi21.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mFwkBuilder = new AudioAttributes.Builder((AudioAttributes) aa);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -24,8 +24,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.media.AudioAttributesImplApi21.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.media.AudioAttributesImplApi21.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return new AudioAttributesImplApi21(mFwkBuilder.build());"
errorLine2=" ~~~~~">
<location
@@ -35,8 +35,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.media.AudioAttributesImplApi21.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.media.AudioAttributesImplApi21.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mFwkBuilder.setUsage(usage);"
errorLine2=" ~~~~~~~~">
<location
@@ -46,8 +46,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.media.AudioAttributesImplApi21.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.media.AudioAttributesImplApi21.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mFwkBuilder.setContentType(contentType);"
errorLine2=" ~~~~~~~~~~~~~~">
<location
@@ -57,8 +57,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.media.AudioAttributesImplApi21.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.media.AudioAttributesImplApi21.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mFwkBuilder.setFlags(flags);"
errorLine2=" ~~~~~~~~">
<location
@@ -68,8 +68,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.media.AudioAttributesImplApi21.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.media.AudioAttributesImplApi21.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mFwkBuilder.setLegacyStreamType(streamType);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
@@ -79,8 +79,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.media.AudioAttributesImplApi26.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.media.AudioAttributesImplApi26.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return new AudioAttributesImplApi26(mFwkBuilder.build());"
errorLine2=" ~~~~~">
<location
@@ -90,8 +90,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.media.AudioAttributesImplApi26.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.media.AudioAttributesImplApi26.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mFwkBuilder.setUsage(usage);"
errorLine2=" ~~~~~~~~">
<location
@@ -101,8 +101,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.media.AudioFocusRequestCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.media.AudioFocusRequestCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" new AudioFocusRequest.Builder(mFocusGain)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -112,8 +112,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.media.AudioFocusRequestCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.media.AudioFocusRequestCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setAudioAttributes(getAudioAttributes())"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
@@ -123,8 +123,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.media.AudioFocusRequestCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.media.AudioFocusRequestCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setWillPauseWhenDucked(mPauseOnDuck)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -134,8 +134,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.media.AudioFocusRequestCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.media.AudioFocusRequestCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setOnAudioFocusChangeListener("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -145,8 +145,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.media.AudioFocusRequestCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.media.AudioFocusRequestCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .build();"
errorLine2=" ~~~~~">
<location
@@ -156,8 +156,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.media.AudioManagerCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.media.AudioManagerCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return audioManager.requestAudioFocus(focusRequest.getAudioFocusRequest());"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -167,8 +167,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.media.AudioManagerCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.media.AudioManagerCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return audioManager.abandonAudioFocusRequest(focusRequest.getAudioFocusRequest());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -178,8 +178,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.media.AudioManagerCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.media.AudioManagerCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return audioManager.getStreamMinVolume(streamType);"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
@@ -189,8 +189,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.MediaBrowserCompat.MediaItem 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.MediaBrowserCompat.MediaItem is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" int flags = itemFwk.getFlags();"
errorLine2=" ~~~~~~~~">
<location
@@ -200,8 +200,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.MediaBrowserCompat.MediaItem 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.MediaBrowserCompat.MediaItem is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" MediaDescriptionCompat.fromMediaDescription(itemFwk.getDescription());"
errorLine2=" ~~~~~~~~~~~~~~">
<location
@@ -211,8 +211,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mServiceFwk.setSessionToken((MediaSession.Token) token.getToken());"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
@@ -222,8 +222,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.media.MediaBrowserServiceCompat.MediaBrowserServiceImplApi21.MediaBrowserServiceApi21 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.media.MediaBrowserServiceCompat.MediaBrowserServiceImplApi21.MediaBrowserServiceApi21 is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return browserRootCompat == null ? null : new MediaBrowserService.BrowserRoot("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -233,8 +233,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.media.session.MediaButtonReceiver 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.media.session.MediaButtonReceiver is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" context.startForegroundService(intent);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -244,8 +244,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.session.MediaControllerCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.session.MediaControllerCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" controllerFwk = new MediaController(activity, (MediaSession.Token) sessionTokenObj);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
@@ -255,8 +255,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.session.MediaControllerCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.session.MediaControllerCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" activity.setMediaController(controllerFwk);"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
@@ -266,8 +266,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.session.MediaControllerCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.session.MediaControllerCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" MediaController controllerFwk = activity.getMediaController();"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
@@ -277,8 +277,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.session.MediaControllerCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.session.MediaControllerCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" MediaSession.Token sessionTokenFwk = controllerFwk.getSessionToken();"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
@@ -288,85 +288,85 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class android.support.v4.media.session.MediaControllerCompat.MediaControllerImplApi21 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class android.support.v4.media.session.MediaControllerCompat.MediaControllerImplApi21 is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mSessionInfo = mControllerFwk.getSessionInfo();"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="2264"
+ line="2265"
column="47"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class android.support.v4.media.session.MediaControllerCompat.TransportControlsApi21 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class android.support.v4.media.session.MediaControllerCompat.TransportControlsApi21 is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mControlsFwk.prepare();"
errorLine2=" ~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="2388"
+ line="2389"
column="30"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class android.support.v4.media.session.MediaControllerCompat.TransportControlsApi21 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class android.support.v4.media.session.MediaControllerCompat.TransportControlsApi21 is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mControlsFwk.prepareFromMediaId(mediaId, extras);"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="2397"
+ line="2398"
column="30"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class android.support.v4.media.session.MediaControllerCompat.TransportControlsApi21 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class android.support.v4.media.session.MediaControllerCompat.TransportControlsApi21 is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mControlsFwk.prepareFromSearch(query, extras);"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="2409"
+ line="2410"
column="30"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class android.support.v4.media.session.MediaControllerCompat.TransportControlsApi21 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class android.support.v4.media.session.MediaControllerCompat.TransportControlsApi21 is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mControlsFwk.prepareFromUri(uri, extras);"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="2421"
+ line="2422"
column="30"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class android.support.v4.media.session.MediaControllerCompat.TransportControlsApi21 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class android.support.v4.media.session.MediaControllerCompat.TransportControlsApi21 is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mControlsFwk.setPlaybackSpeed(speed);"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="2489"
+ line="2490"
column="30"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class android.support.v4.media.session.MediaControllerCompat.TransportControlsApi21 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class android.support.v4.media.session.MediaControllerCompat.TransportControlsApi21 is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mControlsFwk.playFromUri(uri, extras);"
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="2531"
+ line="2532"
column="30"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.MediaDescriptionCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.MediaDescriptionCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" MediaDescription.Builder bob = new MediaDescription.Builder();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -376,8 +376,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.MediaDescriptionCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.MediaDescriptionCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" bob.setMediaId(mMediaId);"
errorLine2=" ~~~~~~~~~~">
<location
@@ -387,8 +387,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.MediaDescriptionCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.MediaDescriptionCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" bob.setTitle(mTitle);"
errorLine2=" ~~~~~~~~">
<location
@@ -398,8 +398,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.MediaDescriptionCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.MediaDescriptionCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" bob.setSubtitle(mSubtitle);"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -409,8 +409,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.MediaDescriptionCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.MediaDescriptionCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" bob.setDescription(mDescription);"
errorLine2=" ~~~~~~~~~~~~~~">
<location
@@ -420,8 +420,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.MediaDescriptionCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.MediaDescriptionCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" bob.setIconBitmap(mIcon);"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -431,8 +431,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.MediaDescriptionCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.MediaDescriptionCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" bob.setIconUri(mIconUri);"
errorLine2=" ~~~~~~~~~~">
<location
@@ -442,8 +442,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.MediaDescriptionCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.MediaDescriptionCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" bob.setExtras(extras);"
errorLine2=" ~~~~~~~~~">
<location
@@ -453,8 +453,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class android.support.v4.media.MediaDescriptionCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class android.support.v4.media.MediaDescriptionCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" bob.setMediaUri(mMediaUri);"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -464,8 +464,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.MediaDescriptionCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.MediaDescriptionCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mDescriptionFwk = bob.build();"
errorLine2=" ~~~~~">
<location
@@ -475,8 +475,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.MediaDescriptionCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.MediaDescriptionCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" bob.setMediaId(description.getMediaId());"
errorLine2=" ~~~~~~~~~~">
<location
@@ -486,8 +486,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.MediaDescriptionCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.MediaDescriptionCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" bob.setTitle(description.getTitle());"
errorLine2=" ~~~~~~~~">
<location
@@ -497,8 +497,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.MediaDescriptionCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.MediaDescriptionCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" bob.setSubtitle(description.getSubtitle());"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -508,8 +508,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.MediaDescriptionCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.MediaDescriptionCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" bob.setDescription(description.getDescription());"
errorLine2=" ~~~~~~~~~~~~~~">
<location
@@ -519,8 +519,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.MediaDescriptionCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.MediaDescriptionCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" bob.setIconBitmap(description.getIconBitmap());"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -530,8 +530,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.MediaDescriptionCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.MediaDescriptionCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" bob.setIconUri(description.getIconUri());"
errorLine2=" ~~~~~~~~~~">
<location
@@ -541,8 +541,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.MediaDescriptionCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.MediaDescriptionCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" Bundle extras = description.getExtras();"
errorLine2=" ~~~~~~~~~">
<location
@@ -552,8 +552,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class android.support.v4.media.MediaDescriptionCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class android.support.v4.media.MediaDescriptionCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" bob.setMediaUri(description.getMediaUri());"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -563,74 +563,74 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class android.support.v4.media.session.MediaSessionCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class android.support.v4.media.session.MediaSessionCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return new MediaSession(context, tag, sessionInfo);"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="603"
+ line="604"
column="20"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.session.MediaSessionCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.session.MediaSessionCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return new MediaSession(context, tag);"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="605"
+ line="606"
column="20"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.session.MediaSessionCompat.QueueItem 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.session.MediaSessionCompat.QueueItem is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mItemFwk = new MediaSession.QueueItem("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="2220"
+ line="2222"
column="24"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.session.MediaSessionCompat.QueueItem 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.session.MediaSessionCompat.QueueItem is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" Object descriptionObj = queueItemObj.getDescription();"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="2241"
+ line="2243"
column="50"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.session.MediaSessionCompat.QueueItem 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.session.MediaSessionCompat.QueueItem is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" long id = queueItemObj.getQueueId();"
errorLine2=" ~~~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="2244"
+ line="2246"
column="36"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 22, the call containing class android.support.v4.media.session.MediaSessionCompat.MediaSessionImplApi21 is not annotated with @RequiresApi(x) where x is at least 22. Either annotate the containing class with at least @RequiresApi(22) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(22)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 22; however, the containing class android.support.v4.media.session.MediaSessionCompat.MediaSessionImplApi21 is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mSessionFwk.setRatingType(type);"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="3963"
+ line="3965"
column="29"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.media.app.NotificationCompat.MediaStyle 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.media.app.NotificationCompat.MediaStyle is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" builder.getBuilder().setStyle("
errorLine2=" ~~~~~~~~">
<location
@@ -640,8 +640,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.media.app.NotificationCompat.MediaStyle 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.media.app.NotificationCompat.MediaStyle is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" fillInMediaStyle(new Notification.MediaStyle()));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -651,8 +651,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.media.app.NotificationCompat.MediaStyle 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.media.app.NotificationCompat.MediaStyle is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" style.setShowActionsInCompactView(mActionsToShowInCompact);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -662,8 +662,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.media.app.NotificationCompat.MediaStyle 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.media.app.NotificationCompat.MediaStyle is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" style.setMediaSession((MediaSession.Token) mToken.getToken());"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
@@ -673,8 +673,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 15, the call containing class androidx.media.app.NotificationCompat.MediaStyle is not annotated with @RequiresApi(x) where x is at least 15. Either annotate the containing class with at least @RequiresApi(15) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(15)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 15; however, the containing class androidx.media.app.NotificationCompat.MediaStyle is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" button.setContentDescription(R.id.action0, action.getTitle());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -684,8 +684,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.media.app.NotificationCompat.DecoratedMediaCustomViewStyle 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.media.app.NotificationCompat.DecoratedMediaCustomViewStyle is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" builder.getBuilder().setStyle("
errorLine2=" ~~~~~~~~">
<location
@@ -695,8 +695,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.media.app.NotificationCompat.DecoratedMediaCustomViewStyle 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.media.app.NotificationCompat.DecoratedMediaCustomViewStyle is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" fillInMediaStyle(new Notification.DecoratedMediaCustomViewStyle()));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -706,8 +706,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.session.PlaybackStateCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.session.PlaybackStateCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" List<PlaybackState.CustomAction> customActionFwks = stateFwk.getCustomActions();"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -717,8 +717,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 22, the call containing class android.support.v4.media.session.PlaybackStateCompat is not annotated with @RequiresApi(x) where x is at least 22. Either annotate the containing class with at least @RequiresApi(22) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(22)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 22; however, the containing class android.support.v4.media.session.PlaybackStateCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" extras = stateFwk.getExtras();"
errorLine2=" ~~~~~~~~~">
<location
@@ -728,8 +728,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.session.PlaybackStateCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.session.PlaybackStateCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" stateFwk.getState(),"
errorLine2=" ~~~~~~~~">
<location
@@ -739,8 +739,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.session.PlaybackStateCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.session.PlaybackStateCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" stateFwk.getPosition(),"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -750,8 +750,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.session.PlaybackStateCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.session.PlaybackStateCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" stateFwk.getBufferedPosition(),"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
@@ -761,8 +761,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.session.PlaybackStateCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.session.PlaybackStateCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" stateFwk.getPlaybackSpeed(),"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -772,8 +772,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.session.PlaybackStateCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.session.PlaybackStateCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" stateFwk.getActions(),"
errorLine2=" ~~~~~~~~~~">
<location
@@ -783,8 +783,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.session.PlaybackStateCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.session.PlaybackStateCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" stateFwk.getErrorMessage(),"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
@@ -794,8 +794,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.session.PlaybackStateCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.session.PlaybackStateCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" stateFwk.getLastPositionUpdateTime(),"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -805,8 +805,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.session.PlaybackStateCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.session.PlaybackStateCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" stateFwk.getActiveQueueItemId(),"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
@@ -816,8 +816,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.session.PlaybackStateCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.session.PlaybackStateCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" PlaybackState.Builder builder = new PlaybackState.Builder();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -827,8 +827,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.session.PlaybackStateCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.session.PlaybackStateCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" builder.setState(mState, mPosition, mSpeed, mUpdateTime);"
errorLine2=" ~~~~~~~~">
<location
@@ -838,8 +838,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.session.PlaybackStateCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.session.PlaybackStateCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" builder.setBufferedPosition(mBufferedPosition);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
@@ -849,8 +849,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.session.PlaybackStateCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.session.PlaybackStateCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" builder.setActions(mActions);"
errorLine2=" ~~~~~~~~~~">
<location
@@ -860,8 +860,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.session.PlaybackStateCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.session.PlaybackStateCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" builder.setErrorMessage(mErrorMessage);"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
@@ -871,8 +871,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.session.PlaybackStateCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.session.PlaybackStateCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" builder.addCustomAction("
errorLine2=" ~~~~~~~~~~~~~~~">
<location
@@ -882,8 +882,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.session.PlaybackStateCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.session.PlaybackStateCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" builder.setActiveQueueItemId(mActiveItemId);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
@@ -893,8 +893,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 22, the call containing class android.support.v4.media.session.PlaybackStateCompat is not annotated with @RequiresApi(x) where x is at least 22. Either annotate the containing class with at least @RequiresApi(22) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(22)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 22; however, the containing class android.support.v4.media.session.PlaybackStateCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" builder.setExtras(mExtras);"
errorLine2=" ~~~~~~~~~">
<location
@@ -904,8 +904,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.session.PlaybackStateCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.session.PlaybackStateCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mStateFwk = builder.build();"
errorLine2=" ~~~~~">
<location
@@ -915,8 +915,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.session.PlaybackStateCompat.CustomAction 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.session.PlaybackStateCompat.CustomAction is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" Bundle extras = customActionFwk.getExtras();"
errorLine2=" ~~~~~~~~~">
<location
@@ -926,8 +926,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.session.PlaybackStateCompat.CustomAction 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.session.PlaybackStateCompat.CustomAction is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" customActionFwk.getAction(),"
errorLine2=" ~~~~~~~~~">
<location
@@ -937,8 +937,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.session.PlaybackStateCompat.CustomAction 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.session.PlaybackStateCompat.CustomAction is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" customActionFwk.getName(),"
errorLine2=" ~~~~~~~">
<location
@@ -948,8 +948,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.session.PlaybackStateCompat.CustomAction 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.session.PlaybackStateCompat.CustomAction is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" customActionFwk.getIcon(),"
errorLine2=" ~~~~~~~">
<location
@@ -959,8 +959,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.session.PlaybackStateCompat.CustomAction 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.session.PlaybackStateCompat.CustomAction is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" PlaybackState.CustomAction.Builder builder = new PlaybackState.CustomAction.Builder("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -970,8 +970,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.session.PlaybackStateCompat.CustomAction 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.session.PlaybackStateCompat.CustomAction is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" builder.setExtras(mExtras);"
errorLine2=" ~~~~~~~~~">
<location
@@ -981,8 +981,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class android.support.v4.media.session.PlaybackStateCompat.CustomAction 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class android.support.v4.media.session.PlaybackStateCompat.CustomAction is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return builder.build();"
errorLine2=" ~~~~~">
<location
@@ -992,8 +992,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class android.support.v4.media.RatingCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class android.support.v4.media.RatingCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" final int ratingStyle = ((Rating) ratingObj).getRatingStyle();"
errorLine2=" ~~~~~~~~~~~~~~">
<location
@@ -1003,8 +1003,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class android.support.v4.media.RatingCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class android.support.v4.media.RatingCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (((Rating) ratingObj).isRated()) {"
errorLine2=" ~~~~~~~">
<location
@@ -1014,8 +1014,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class android.support.v4.media.RatingCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class android.support.v4.media.RatingCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" rating = newHeartRating(((Rating) ratingObj).hasHeart());"
errorLine2=" ~~~~~~~~">
<location
@@ -1025,8 +1025,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class android.support.v4.media.RatingCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class android.support.v4.media.RatingCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" rating = newThumbRating(((Rating) ratingObj).isThumbUp());"
errorLine2=" ~~~~~~~~~">
<location
@@ -1036,8 +1036,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class android.support.v4.media.RatingCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class android.support.v4.media.RatingCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" ((Rating) ratingObj).getStarRating());"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -1047,8 +1047,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class android.support.v4.media.RatingCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class android.support.v4.media.RatingCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" ((Rating) ratingObj).getPercentRating());"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -1058,8 +1058,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class android.support.v4.media.RatingCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class android.support.v4.media.RatingCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mRatingObj = Rating.newHeartRating(hasHeart());"
errorLine2=" ~~~~~~~~~~~~~~">
<location
@@ -1069,8 +1069,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class android.support.v4.media.RatingCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class android.support.v4.media.RatingCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mRatingObj = Rating.newThumbRating(isThumbUp());"
errorLine2=" ~~~~~~~~~~~~~~">
<location
@@ -1080,8 +1080,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class android.support.v4.media.RatingCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class android.support.v4.media.RatingCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mRatingObj = Rating.newStarRating(mRatingStyle,"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -1091,8 +1091,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class android.support.v4.media.RatingCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class android.support.v4.media.RatingCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mRatingObj = Rating.newPercentageRating(getPercentRating());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
@@ -1102,8 +1102,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class android.support.v4.media.RatingCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class android.support.v4.media.RatingCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mRatingObj = Rating.newUnratedRating(mRatingStyle);"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -1113,8 +1113,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.media.VolumeProviderCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.media.VolumeProviderCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" volumeProviderFwk.setCurrentVolume(currentVolume);"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -1533,39 +1533,6 @@
<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 sendResult(T result) {"
- errorLine2=" ~">
- <location
- file="src/main/java/androidx/media/MediaBrowserServiceCompat.java"
- line="848"
- column="32"/>
- </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 sendProgressUpdate(Bundle extras) {"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/media/MediaBrowserServiceCompat.java"
- line="863"
- column="40"/>
- </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 sendError(Bundle extras) {"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/media/MediaBrowserServiceCompat.java"
- line="878"
- column="31"/>
- </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 attachToBaseContext(Context base) {"
errorLine2=" ~~~~~~~">
<location
@@ -2186,7 +2153,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="821"
+ line="822"
column="16"/>
</issue>
@@ -2197,7 +2164,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="1168"
+ line="1169"
column="49"/>
</issue>
@@ -2208,7 +2175,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="1168"
+ line="1169"
column="65"/>
</issue>
@@ -2219,7 +2186,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="1180"
+ line="1181"
column="48"/>
</issue>
@@ -2230,7 +2197,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="1180"
+ line="1181"
column="62"/>
</issue>
@@ -2241,7 +2208,7 @@
errorLine2=" ~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="1191"
+ line="1192"
column="45"/>
</issue>
@@ -2252,7 +2219,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="1191"
+ line="1192"
column="54"/>
</issue>
@@ -2263,7 +2230,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="1205"
+ line="1206"
column="46"/>
</issue>
@@ -2274,7 +2241,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="1205"
+ line="1206"
column="62"/>
</issue>
@@ -2285,7 +2252,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="1216"
+ line="1217"
column="45"/>
</issue>
@@ -2296,7 +2263,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="1216"
+ line="1217"
column="59"/>
</issue>
@@ -2307,7 +2274,7 @@
errorLine2=" ~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="1225"
+ line="1226"
column="42"/>
</issue>
@@ -2318,7 +2285,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="1225"
+ line="1226"
column="51"/>
</issue>
@@ -2329,7 +2296,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="1281"
+ line="1282"
column="40"/>
</issue>
@@ -2340,7 +2307,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="1295"
+ line="1296"
column="40"/>
</issue>
@@ -2351,7 +2318,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="1295"
+ line="1296"
column="61"/>
</issue>
@@ -2362,7 +2329,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="1341"
+ line="1342"
column="47"/>
</issue>
@@ -2373,7 +2340,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="1342"
+ line="1343"
column="17"/>
</issue>
@@ -2384,7 +2351,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="1360"
+ line="1361"
column="47"/>
</issue>
@@ -2395,7 +2362,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="1360"
+ line="1361"
column="62"/>
</issue>
@@ -2923,7 +2890,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="619"
+ line="620"
column="29"/>
</issue>
@@ -2934,7 +2901,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="635"
+ line="636"
column="29"/>
</issue>
@@ -2945,7 +2912,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="635"
+ line="636"
column="48"/>
</issue>
@@ -2956,7 +2923,7 @@
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="651"
+ line="652"
column="36"/>
</issue>
@@ -2967,7 +2934,7 @@
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="668"
+ line="669"
column="40"/>
</issue>
@@ -2978,7 +2945,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="710"
+ line="711"
column="37"/>
</issue>
@@ -2989,7 +2956,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="754"
+ line="755"
column="34"/>
</issue>
@@ -3000,7 +2967,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="754"
+ line="755"
column="48"/>
</issue>
@@ -3011,7 +2978,7 @@
errorLine2=" ~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="784"
+ line="785"
column="12"/>
</issue>
@@ -3022,7 +2989,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="794"
+ line="795"
column="12"/>
</issue>
@@ -3033,7 +3000,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="803"
+ line="804"
column="34"/>
</issue>
@@ -3044,7 +3011,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="815"
+ line="816"
column="29"/>
</issue>
@@ -3055,7 +3022,7 @@
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="831"
+ line="832"
column="26"/>
</issue>
@@ -3066,7 +3033,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="855"
+ line="856"
column="31"/>
</issue>
@@ -3077,7 +3044,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="924"
+ line="925"
column="27"/>
</issue>
@@ -3088,7 +3055,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="938"
+ line="939"
column="12"/>
</issue>
@@ -3099,7 +3066,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="952"
+ line="953"
column="12"/>
</issue>
@@ -3110,7 +3077,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="988"
+ line="989"
column="12"/>
</issue>
@@ -3121,7 +3088,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="999"
+ line="1000"
column="43"/>
</issue>
@@ -3132,7 +3099,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1012"
+ line="1013"
column="46"/>
</issue>
@@ -3143,7 +3110,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1035"
+ line="1036"
column="19"/>
</issue>
@@ -3154,7 +3121,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1035"
+ line="1036"
column="55"/>
</issue>
@@ -3165,7 +3132,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1035"
+ line="1036"
column="72"/>
</issue>
@@ -3176,7 +3143,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1168"
+ line="1169"
column="31"/>
</issue>
@@ -3187,7 +3154,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1168"
+ line="1169"
column="47"/>
</issue>
@@ -3198,7 +3165,7 @@
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1168"
+ line="1169"
column="62"/>
</issue>
@@ -3209,7 +3176,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1182"
+ line="1183"
column="43"/>
</issue>
@@ -3220,7 +3187,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1275"
+ line="1276"
column="42"/>
</issue>
@@ -3231,7 +3198,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1275"
+ line="1276"
column="58"/>
</issue>
@@ -3242,7 +3209,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1285"
+ line="1286"
column="41"/>
</issue>
@@ -3253,7 +3220,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1285"
+ line="1286"
column="55"/>
</issue>
@@ -3264,7 +3231,7 @@
errorLine2=" ~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1293"
+ line="1294"
column="38"/>
</issue>
@@ -3275,7 +3242,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1293"
+ line="1294"
column="47"/>
</issue>
@@ -3286,7 +3253,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1306"
+ line="1307"
column="39"/>
</issue>
@@ -3297,7 +3264,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1306"
+ line="1307"
column="55"/>
</issue>
@@ -3308,7 +3275,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1315"
+ line="1316"
column="38"/>
</issue>
@@ -3319,7 +3286,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1315"
+ line="1316"
column="52"/>
</issue>
@@ -3330,7 +3297,7 @@
errorLine2=" ~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1321"
+ line="1322"
column="35"/>
</issue>
@@ -3341,7 +3308,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1321"
+ line="1322"
column="44"/>
</issue>
@@ -3352,7 +3319,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1380"
+ line="1381"
column="33"/>
</issue>
@@ -3363,7 +3330,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1389"
+ line="1390"
column="33"/>
</issue>
@@ -3374,7 +3341,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1389"
+ line="1390"
column="54"/>
</issue>
@@ -3385,7 +3352,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1460"
+ line="1461"
column="36"/>
</issue>
@@ -3396,7 +3363,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1460"
+ line="1461"
column="51"/>
</issue>
@@ -3407,7 +3374,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1470"
+ line="1471"
column="36"/>
</issue>
@@ -3418,7 +3385,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1482"
+ line="1483"
column="36"/>
</issue>
@@ -3429,7 +3396,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1493"
+ line="1494"
column="39"/>
</issue>
@@ -3440,7 +3407,7 @@
errorLine2=" ~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1953"
+ line="1955"
column="23"/>
</issue>
@@ -3451,7 +3418,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1953"
+ line="1955"
column="39"/>
</issue>
@@ -3462,7 +3429,7 @@
errorLine2=" ~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1971"
+ line="1973"
column="23"/>
</issue>
@@ -3473,7 +3440,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1971"
+ line="1973"
column="39"/>
</issue>
@@ -3484,7 +3451,7 @@
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1971"
+ line="1973"
column="53"/>
</issue>
@@ -3495,7 +3462,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1988"
+ line="1990"
column="35"/>
</issue>
@@ -3506,7 +3473,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="2032"
+ line="2034"
column="16"/>
</issue>
@@ -3517,7 +3484,7 @@
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="2040"
+ line="2042"
column="16"/>
</issue>
@@ -3528,7 +3495,7 @@
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="2050"
+ line="2052"
column="36"/>
</issue>
@@ -3539,7 +3506,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="2060"
+ line="2062"
column="16"/>
</issue>
@@ -3550,7 +3517,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="2070"
+ line="2072"
column="38"/>
</issue>
@@ -3561,7 +3528,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="2080"
+ line="2082"
column="16"/>
</issue>
@@ -3572,7 +3539,7 @@
errorLine2=" ~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="2102"
+ line="2104"
column="23"/>
</issue>
@@ -3583,7 +3550,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="2102"
+ line="2104"
column="40"/>
</issue>
@@ -3594,7 +3561,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="2157"
+ line="2159"
column="26"/>
</issue>
@@ -3605,7 +3572,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="2184"
+ line="2186"
column="16"/>
</issue>
@@ -3616,7 +3583,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="2196"
+ line="2198"
column="35"/>
</issue>
@@ -3627,7 +3594,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="2216"
+ line="2218"
column="16"/>
</issue>
@@ -3638,7 +3605,7 @@
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="2236"
+ line="2238"
column="23"/>
</issue>
@@ -3649,7 +3616,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="2236"
+ line="2238"
column="47"/>
</issue>
@@ -3660,7 +3627,7 @@
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="2258"
+ line="2260"
column="23"/>
</issue>
@@ -3671,7 +3638,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="2258"
+ line="2260"
column="57"/>
</issue>
diff --git a/media/media/src/main/java/androidx/media/utils/MediaConstants.java b/media/media/src/main/java/androidx/media/utils/MediaConstants.java
index f8750ee..8d81004 100644
--- a/media/media/src/main/java/androidx/media/utils/MediaConstants.java
+++ b/media/media/src/main/java/androidx/media/utils/MediaConstants.java
@@ -125,11 +125,13 @@
"androidx.media.MediaMetadatCompat.METADATA_KEY_CONTENT_ID";
/**
- * Bundle key used for next episode's media content id in {@link MediaMetadataCompat metadata},
- * should contain the same ID provided to Media Actions Catalog in reference to the next episode
- * of the current title episode. Google uses this information to allow users to resume watching
- * the next episode of this title on your app once the current episode ends in the TV's play
- * next row.
+ * Bundle key used for next episode's media content ID in {@link MediaMetadataCompat metadata},
+ * following the same ID and format provided to
+ * <a href="https://developers.google.com/actions/media">Media Actions Catalog</a> in reference
+ * to the next episode of the current title episode. Google uses this information to allow users
+ * to resume watching the next episode of this title on your app once the current episode ends
+ * across the supported surfaces (e.g., Android TV's Play Next row). This can be left blank for
+ * movies.
*
* <p>TYPE: String
*
diff --git a/media/version-compat-tests/current/client/lint-baseline.xml b/media/version-compat-tests/current/client/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/media/version-compat-tests/current/client/lint-baseline.xml
+++ b/media/version-compat-tests/current/client/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/media/version-compat-tests/current/service/lint-baseline.xml b/media/version-compat-tests/current/service/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/media/version-compat-tests/current/service/lint-baseline.xml
+++ b/media/version-compat-tests/current/service/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/media/version-compat-tests/lib/lint-baseline.xml b/media/version-compat-tests/lib/lint-baseline.xml
index bf2fbe4..01c5c6f 100644
--- a/media/version-compat-tests/lib/lint-baseline.xml
+++ b/media/version-compat-tests/lib/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="UnknownNullness"
diff --git a/media/version-compat-tests/previous/client/lint-baseline.xml b/media/version-compat-tests/previous/client/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/media/version-compat-tests/previous/client/lint-baseline.xml
+++ b/media/version-compat-tests/previous/client/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/media/version-compat-tests/previous/service/lint-baseline.xml b/media/version-compat-tests/previous/service/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/media/version-compat-tests/previous/service/lint-baseline.xml
+++ b/media/version-compat-tests/previous/service/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/media2/integration-tests/testapp/lint-baseline.xml b/media2/integration-tests/testapp/lint-baseline.xml
index e20fbbb..290fbc9 100644
--- a/media2/integration-tests/testapp/lint-baseline.xml
+++ b/media2/integration-tests/testapp/lint-baseline.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.media2.integration.testapp.VideoSelectorActivity 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.media2.integration.testapp.VideoSelectorActivity is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (checkSelfPermission(Manifest.permission.READ_EXTERNAL_STORAGE)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
@@ -13,8 +13,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.media2.integration.testapp.VideoSelectorActivity 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.media2.integration.testapp.VideoSelectorActivity is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" requestPermissions(new String[] {Manifest.permission.READ_EXTERNAL_STORAGE},"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
diff --git a/media2/media2-common/lint-baseline.xml b/media2/media2-common/lint-baseline.xml
index d6cc293..990d3cb 100644
--- a/media2/media2-common/lint-baseline.xml
+++ b/media2/media2-common/lint-baseline.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.media2.common.MediaMetadata.BitmapEntry 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.media2.common.MediaMetadata.BitmapEntry is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return bitmap.getAllocationByteCount();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
diff --git a/media2/media2-exoplayer/lint-baseline.xml b/media2/media2-exoplayer/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/media2/media2-exoplayer/lint-baseline.xml
+++ b/media2/media2-exoplayer/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/media2/media2-player/lint-baseline.xml b/media2/media2-player/lint-baseline.xml
index b03e7a8..65b02c9 100644
--- a/media2/media2-player/lint-baseline.xml
+++ b/media2/media2-player/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="BanSynchronizedMethods"
@@ -79,8 +79,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.media2.player.ExoPlayerWrapper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.media2.player.ExoPlayerWrapper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" PersistableBundle bundle = new PersistableBundle();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -90,8 +90,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.media2.player.ExoPlayerWrapper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.media2.player.ExoPlayerWrapper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" bundle.putString(MediaPlayer2.MetricsConstants.MIME_TYPE_VIDEO, primaryVideoMimeType);"
errorLine2=" ~~~~~~~~~">
<location
@@ -101,8 +101,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.media2.player.ExoPlayerWrapper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.media2.player.ExoPlayerWrapper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" bundle.putString(MediaPlayer2.MetricsConstants.MIME_TYPE_AUDIO, primaryAudioMimeType);"
errorLine2=" ~~~~~~~~~">
<location
@@ -112,8 +112,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.media2.player.ExoPlayerWrapper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.media2.player.ExoPlayerWrapper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" bundle.putLong(MediaPlayer2.MetricsConstants.DURATION,"
errorLine2=" ~~~~~~~">
<location
@@ -123,8 +123,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.media2.player.ExoPlayerWrapper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.media2.player.ExoPlayerWrapper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" bundle.putLong(MediaPlayer2.MetricsConstants.PLAYING, playingTimeMs);"
errorLine2=" ~~~~~~~">
<location
@@ -134,8 +134,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.media2.player.FileDescriptorUtil 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.media2.player.FileDescriptorUtil is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return Os.dup(fileDescriptor);"
errorLine2=" ~~~">
<location
@@ -145,8 +145,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.media2.player.FileDescriptorUtil 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.media2.player.FileDescriptorUtil is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" Os.lseek(fileDescriptor, position, /* whence= */ OsConstants.SEEK_SET);"
errorLine2=" ~~~~~">
<location
@@ -156,8 +156,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.media2.player.FileDescriptorUtil 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.media2.player.FileDescriptorUtil is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" Os.close(fileDescriptor);"
errorLine2=" ~~~~~">
<location
@@ -167,8 +167,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.media2.player.MediaTimestamp 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.media2.player.MediaTimestamp is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mMediaTimeUs = timestamp.getAnchorMediaTimeUs();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
@@ -178,8 +178,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.media2.player.MediaTimestamp 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.media2.player.MediaTimestamp is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mNanoTime = timestamp.getAnchorSytemNanoTime();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -189,8 +189,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.media2.player.MediaTimestamp 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.media2.player.MediaTimestamp is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mClockRate = timestamp.getMediaClockRate();"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -200,8 +200,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.media2.player.PlaybackParams 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.media2.player.PlaybackParams is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return mPlaybackParams.getAudioFallbackMode();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
@@ -211,8 +211,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.media2.player.PlaybackParams 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.media2.player.PlaybackParams is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return mPlaybackParams.getPitch();"
errorLine2=" ~~~~~~~~">
<location
@@ -222,8 +222,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.media2.player.PlaybackParams 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.media2.player.PlaybackParams is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return mPlaybackParams.getSpeed();"
errorLine2=" ~~~~~~~~">
<location
@@ -233,8 +233,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.media2.player.PlaybackParams.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.media2.player.PlaybackParams.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mPlaybackParams = new android.media.PlaybackParams();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -244,8 +244,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.media2.player.PlaybackParams.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.media2.player.PlaybackParams.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mPlaybackParams.setAudioFallbackMode(audioFallbackMode);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
@@ -255,8 +255,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.media2.player.PlaybackParams.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.media2.player.PlaybackParams.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mPlaybackParams.setPitch(pitch);"
errorLine2=" ~~~~~~~~">
<location
@@ -266,8 +266,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.media2.player.PlaybackParams.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.media2.player.PlaybackParams.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mPlaybackParams.setSpeed(speed);"
errorLine2=" ~~~~~~~~">
<location
@@ -277,8 +277,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.media2.player.TimedMetaData 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.media2.player.TimedMetaData is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mTimestampUs = timedMetaData.getTimestamp();"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -288,8 +288,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.media2.player.TimedMetaData 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.media2.player.TimedMetaData is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mMetaData = timedMetaData.getMetaData();"
errorLine2=" ~~~~~~~~~~~">
<location
diff --git a/media2/media2-session/lint-baseline.xml b/media2/media2-session/lint-baseline.xml
index 55357ba..6b6fddb 100644
--- a/media2/media2-session/lint-baseline.xml
+++ b/media2/media2-session/lint-baseline.xml
@@ -1,20 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.media2.session.MediaControllerImplLegacy 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.media2.session.MediaControllerImplLegacy is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mHandlerThread.quitSafely();"
errorLine2=" ~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/session/MediaControllerImplLegacy.java"
- line="199"
+ line="208"
column="32"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.media2.session.MediaNotificationHandler 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.media2.session.MediaNotificationHandler is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return PendingIntent.getForegroundService("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
@@ -24,8 +24,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.media2.session.MediaNotificationHandler 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.media2.session.MediaNotificationHandler is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" || mNotificationManager.getNotificationChannel(NOTIFICATION_CHANNEL_ID) != null) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -35,8 +35,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.media2.session.MediaNotificationHandler 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.media2.session.MediaNotificationHandler is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" NotificationChannel channel = new NotificationChannel(NOTIFICATION_CHANNEL_ID,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -46,8 +46,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.media2.session.MediaNotificationHandler 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.media2.session.MediaNotificationHandler is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mNotificationManager.createNotificationChannel(channel);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -57,41 +57,41 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.media2.session.MediaSessionImplBase 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.media2.session.MediaSessionImplBase is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mMediaButtonIntent = PendingIntent.getForegroundService(mContext, 0, intent, 0);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/session/MediaSessionImplBase.java"
- line="222"
+ line="210"
column="52"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.media2.session.MediaSessionImplBase 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.media2.session.MediaSessionImplBase is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (Build.VERSION.SDK_INT >= 21 && mAudioManager.isVolumeFixed()) {"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/session/MediaSessionImplBase.java"
- line="317"
+ line="262"
column="62"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.media2.session.MediaSessionImplBase 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.media2.session.MediaSessionImplBase is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mHandlerThread.quitSafely();"
errorLine2=" ~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/session/MediaSessionImplBase.java"
- line="386"
+ line="313"
column="32"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.media2.session.SessionToken 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.media2.session.SessionToken is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" thread.quitSafely();"
errorLine2=" ~~~~~~~~~~">
<location
@@ -107,7 +107,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/media2/session/MediaController.java"
- line="1313"
+ line="1368"
column="29"/>
</issue>
@@ -118,7 +118,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/media2/session/MediaLibraryService.java"
- line="483"
+ line="505"
column="12"/>
</issue>
@@ -151,7 +151,7 @@
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/media2/session/MediaUtils.java"
- line="284"
+ line="286"
column="19"/>
</issue>
@@ -162,7 +162,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/session/MediaUtils.java"
- line="284"
+ line="286"
column="48"/>
</issue>
@@ -173,7 +173,7 @@
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/media2/session/MediaUtils.java"
- line="298"
+ line="300"
column="19"/>
</issue>
@@ -184,51 +184,7 @@
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/media2/session/MediaUtils.java"
- line="298"
- column="48"/>
- </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 MediaItem convertToMediaItem(MediaMetadataCompat metadataCompat) {"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/media2/session/MediaUtils.java"
- line="314"
- 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 MediaItem convertToMediaItem(MediaMetadataCompat metadataCompat) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/media2/session/MediaUtils.java"
- line="314"
- column="48"/>
- </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 MediaItem convertToMediaItem(MediaDescriptionCompat descriptionCompat) {"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/media2/session/MediaUtils.java"
- line="349"
- 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 MediaItem convertToMediaItem(MediaDescriptionCompat descriptionCompat) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/media2/session/MediaUtils.java"
- line="349"
+ line="300"
column="48"/>
</issue>
@@ -239,7 +195,7 @@
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/session/MediaUtils.java"
- line="360"
+ line="367"
column="19"/>
</issue>
@@ -250,7 +206,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/session/MediaUtils.java"
- line="361"
+ line="368"
column="13"/>
</issue>
@@ -261,7 +217,7 @@
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/session/MediaUtils.java"
- line="375"
+ line="382"
column="19"/>
</issue>
@@ -272,7 +228,7 @@
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/session/MediaUtils.java"
- line="375"
+ line="382"
column="71"/>
</issue>
@@ -283,7 +239,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/session/MediaUtils.java"
- line="392"
+ line="399"
column="19"/>
</issue>
@@ -294,7 +250,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/media2/session/MediaUtils.java"
- line="392"
+ line="399"
column="71"/>
</issue>
@@ -305,7 +261,7 @@
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/session/MediaUtils.java"
- line="403"
+ line="410"
column="19"/>
</issue>
@@ -316,7 +272,7 @@
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/session/MediaUtils.java"
- line="403"
+ line="410"
column="58"/>
</issue>
@@ -327,7 +283,7 @@
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/session/MediaUtils.java"
- line="437"
+ line="444"
column="19"/>
</issue>
@@ -338,7 +294,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/session/MediaUtils.java"
- line="438"
+ line="445"
column="13"/>
</issue>
@@ -349,7 +305,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/media2/session/MediaUtils.java"
- line="458"
+ line="465"
column="42"/>
</issue>
@@ -360,7 +316,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/media2/session/MediaUtils.java"
- line="458"
+ line="465"
column="75"/>
</issue>
@@ -371,7 +327,7 @@
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/session/MediaUtils.java"
- line="553"
+ line="560"
column="19"/>
</issue>
@@ -382,7 +338,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/session/MediaUtils.java"
- line="553"
+ line="560"
column="56"/>
</issue>
@@ -393,7 +349,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/session/MediaUtils.java"
- line="570"
+ line="577"
column="19"/>
</issue>
@@ -404,7 +360,7 @@
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/session/MediaUtils.java"
- line="570"
+ line="577"
column="68"/>
</issue>
@@ -415,7 +371,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/media2/session/MediaUtils.java"
- line="605"
+ line="612"
column="19"/>
</issue>
@@ -426,7 +382,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/session/MediaUtils.java"
- line="605"
+ line="612"
column="42"/>
</issue>
@@ -437,7 +393,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/session/MediaUtils.java"
- line="641"
+ line="648"
column="19"/>
</issue>
@@ -448,7 +404,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/media2/session/MediaUtils.java"
- line="641"
+ line="648"
column="54"/>
</issue>
@@ -459,7 +415,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/session/MediaUtils.java"
- line="671"
+ line="678"
column="19"/>
</issue>
@@ -470,7 +426,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/session/MediaUtils.java"
- line="672"
+ line="679"
column="13"/>
</issue>
@@ -481,7 +437,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/session/MediaUtils.java"
- line="687"
+ line="694"
column="19"/>
</issue>
@@ -492,7 +448,7 @@
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/session/MediaUtils.java"
- line="688"
+ line="695"
column="13"/>
</issue>
@@ -503,7 +459,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/session/MediaUtils.java"
- line="729"
+ line="736"
column="44"/>
</issue>
@@ -514,7 +470,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/session/MediaUtils.java"
- line="773"
+ line="780"
column="19"/>
</issue>
@@ -525,7 +481,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/session/MediaUtils.java"
- line="774"
+ line="781"
column="13"/>
</issue>
@@ -536,7 +492,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/media2/session/MediaUtils.java"
- line="784"
+ line="791"
column="48"/>
</issue>
@@ -547,7 +503,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/session/MediaUtils.java"
- line="800"
+ line="807"
column="58"/>
</issue>
diff --git a/media2/media2-session/src/main/java/androidx/media2/session/MediaConstants.java b/media2/media2-session/src/main/java/androidx/media2/session/MediaConstants.java
index de98490..5310734 100644
--- a/media2/media2-session/src/main/java/androidx/media2/session/MediaConstants.java
+++ b/media2/media2-session/src/main/java/androidx/media2/session/MediaConstants.java
@@ -17,7 +17,6 @@
package androidx.media2.session;
import android.net.Uri;
-import android.os.Bundle;
/**
* Media constants for sharing constants between media provider and consumer apps
@@ -26,14 +25,16 @@
/**
* A {@link android.net.Uri} scheme used in a media Uri.
*
- * See {@link MediaSession.SessionCallback#onSetMediaUri} for more details.
+ * See {@link MediaController#setMediaUri} and
+ * {@link MediaSession.SessionCallback#onSetMediaUri} for more details.
*/
public static final String MEDIA_URI_SCHEME = "androidx";
/**
* A {@link android.net.Uri} authority used in a media Uri.
*
- * See {@link MediaSession.SessionCallback#onSetMediaUri} for more details.
+ * See {@link MediaController#setMediaUri} and
+ * {@link MediaSession.SessionCallback#onSetMediaUri} for more details.
*/
public static final String MEDIA_URI_AUTHORITY = "media2-session";
@@ -41,7 +42,8 @@
* A {@link android.net.Uri} path used by {@link android.support.v4.media.session
* .MediaControllerCompat.TransportControls#playFromMediaId}
*
- * See {@link MediaSession.SessionCallback#onSetMediaUri} for more details.
+ * See {@link MediaController#setMediaUri} and
+ * {@link MediaSession.SessionCallback#onSetMediaUri} for more details.
*/
public static final String MEDIA_URI_PATH_PLAY_FROM_MEDIA_ID = "playFromMediaId";
@@ -49,7 +51,8 @@
* A {@link android.net.Uri} path used by {@link android.support.v4.media.session
* .MediaControllerCompat.TransportControls#playFromSearch}
*
- * See {@link MediaSession.SessionCallback#onSetMediaUri} for more details.
+ * See {@link MediaController#setMediaUri} and
+ * {@link MediaSession.SessionCallback#onSetMediaUri} for more details.
*/
public static final String MEDIA_URI_PATH_PLAY_FROM_SEARCH = "playFromSearch";
@@ -57,7 +60,8 @@
* A {@link android.net.Uri} path used by {@link android.support.v4.media.session
* .MediaControllerCompat.TransportControls#prepareFromMediaId}
*
- * See {@link MediaSession.SessionCallback#onSetMediaUri} for more details.
+ * See {@link MediaController#setMediaUri} and
+ * {@link MediaSession.SessionCallback#onSetMediaUri} for more details.
*/
public static final String MEDIA_URI_PATH_PREPARE_FROM_MEDIA_ID = "prepareFromMediaId";
@@ -65,15 +69,16 @@
* A {@link android.net.Uri} path used by {@link android.support.v4.media.session
* .MediaControllerCompat.TransportControls#prepareFromSearch}
*
- * See {@link MediaSession.SessionCallback#onSetMediaUri} for more details.
+ * See {@link MediaController#setMediaUri} and
+ * {@link MediaSession.SessionCallback#onSetMediaUri} for more details.
*/
public static final String MEDIA_URI_PATH_PREPARE_FROM_SEARCH = "prepareFromSearch";
/**
- * A {@link android.net.Uri} path used by {@link MediaController#setMediaUri(Uri, Bundle)} to
- * indicate that the Uri will be specially handled for interoperability.
+ * A {@link android.net.Uri} path for encoding how the Uri will be translated when connected
+ * to {@link android.support.v4.media.session.MediaSessionCompat}.
*
- * @see MediaController#setMediaUri
+ * See {@link MediaController#setMediaUri} for more details.
*/
public static final String MEDIA_URI_PATH_SET_MEDIA_URI = "setMediaUri";
diff --git a/media2/media2-session/src/main/java/androidx/media2/session/MediaController.java b/media2/media2-session/src/main/java/androidx/media2/session/MediaController.java
index dbf3cbc..6019bef 100644
--- a/media2/media2-session/src/main/java/androidx/media2/session/MediaController.java
+++ b/media2/media2-session/src/main/java/androidx/media2/session/MediaController.java
@@ -884,6 +884,15 @@
* @see #setPlaylist
* @see ControllerCallback#onCurrentMediaItemChanged
* @see ControllerCallback#onPlaylistChanged
+ * @see MediaConstants#MEDIA_URI_AUTHORITY
+ * @see MediaConstants#MEDIA_URI_PATH_PREPARE_FROM_MEDIA_ID
+ * @see MediaConstants#MEDIA_URI_PATH_PLAY_FROM_MEDIA_ID
+ * @see MediaConstants#MEDIA_URI_PATH_PREPARE_FROM_SEARCH
+ * @see MediaConstants#MEDIA_URI_PATH_PLAY_FROM_SEARCH
+ * @see MediaConstants#MEDIA_URI_PATH_SET_MEDIA_URI
+ * @see MediaConstants#MEDIA_URI_QUERY_ID
+ * @see MediaConstants#MEDIA_URI_QUERY_QUERY
+ * @see MediaConstants#MEDIA_URI_QUERY_URI
*/
@NonNull
public ListenableFuture<SessionResult> setMediaUri(@NonNull Uri uri, @Nullable Bundle extras) {
diff --git a/media2/media2-session/version-compat-tests/common/lint-baseline.xml b/media2/media2-session/version-compat-tests/common/lint-baseline.xml
index 6e61595..c2fe66b 100644
--- a/media2/media2-session/version-compat-tests/common/lint-baseline.xml
+++ b/media2/media2-session/version-compat-tests/common/lint-baseline.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.media2.test.common.TestUtils 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.media2.test.common.TestUtils is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return Objects.equals(a, b);"
errorLine2=" ~~~~~~">
<location
diff --git a/media2/media2-session/version-compat-tests/current/client/lint-baseline.xml b/media2/media2-session/version-compat-tests/current/client/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/media2/media2-session/version-compat-tests/current/client/lint-baseline.xml
+++ b/media2/media2-session/version-compat-tests/current/client/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/media2/media2-session/version-compat-tests/current/service/lint-baseline.xml b/media2/media2-session/version-compat-tests/current/service/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/media2/media2-session/version-compat-tests/current/service/lint-baseline.xml
+++ b/media2/media2-session/version-compat-tests/current/service/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/media2/media2-session/version-compat-tests/previous/client/lint-baseline.xml b/media2/media2-session/version-compat-tests/previous/client/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/media2/media2-session/version-compat-tests/previous/client/lint-baseline.xml
+++ b/media2/media2-session/version-compat-tests/previous/client/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/media2/media2-session/version-compat-tests/previous/service/lint-baseline.xml b/media2/media2-session/version-compat-tests/previous/service/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/media2/media2-session/version-compat-tests/previous/service/lint-baseline.xml
+++ b/media2/media2-session/version-compat-tests/previous/service/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/media2/media2-widget/lint-baseline.xml b/media2/media2-widget/lint-baseline.xml
index 03729b2..d7399b1 100644
--- a/media2/media2-widget/lint-baseline.xml
+++ b/media2/media2-widget/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="BanSynchronizedMethods"
@@ -57,19 +57,8 @@
</issue>
<issue
- id="PrivateConstructorForUtilityClass"
- message="Utility class with non private constructor"
- errorLine1=" static class MediaFormatUtil {"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/media2/widget/SubtitleController.java"
- line="275"
- column="18"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.media2.widget.CaptionStyle 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.media2.widget.CaptionStyle is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" captionStyle.getTypeface());"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -79,8 +68,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.media2.widget.Cea708CaptionRenderer.Cea708CCWidget.CCWindowLayout 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.media2.widget.Cea708CaptionRenderer.Cea708CCWidget.CCWindowLayout is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mFontScale = captioningManager.getFontScale();"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -90,8 +79,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.media2.widget.Cea708CaptionRenderer.Cea708CCWidget.CCWindowLayout 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.media2.widget.Cea708CaptionRenderer.Cea708CCWidget.CCWindowLayout is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" setCaptionStyle(new CaptionStyle(captioningManager.getUserStyle()));"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -101,8 +90,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.media2.widget.ClosedCaptionWidget 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.media2.widget.ClosedCaptionWidget is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mCaptionStyle = new CaptionStyle(mManager.getUserStyle());"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -112,8 +101,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.media2.widget.ClosedCaptionWidget 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.media2.widget.ClosedCaptionWidget is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" fontScale = mManager.getFontScale();"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -123,8 +112,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.media2.widget.ClosedCaptionWidget 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.media2.widget.ClosedCaptionWidget is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" final boolean needsListener = isAttachedToWindow() && getVisibility() == View.VISIBLE;"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
@@ -134,8 +123,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.media2.widget.ClosedCaptionWidget 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.media2.widget.ClosedCaptionWidget is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mManager.addCaptioningChangeListener(mCaptioningListener);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -145,8 +134,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.media2.widget.ClosedCaptionWidget 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.media2.widget.ClosedCaptionWidget is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mManager.removeCaptioningChangeListener(mCaptioningListener);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -156,8 +145,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.media2.widget.SelectiveLayout 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.media2.widget.SelectiveLayout is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" final Drawable drawable = getForeground();"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -167,8 +156,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.media2.widget.SubtitleController 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.media2.widget.SubtitleController is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mCaptioningManager.removeCaptioningChangeListener("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -178,8 +167,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.media2.widget.SubtitleController 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.media2.widget.SubtitleController is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" Locale selectedLocale = VERSION.SDK_INT >= 19 ? mCaptioningManager.getLocale() : null;"
errorLine2=" ~~~~~~~~~">
<location
@@ -189,8 +178,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.media2.widget.SubtitleController 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.media2.widget.SubtitleController is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" boolean selectForced = VERSION.SDK_INT >= 19 ? !mCaptioningManager.isEnabled() : true;"
errorLine2=" ~~~~~~~~~">
<location
@@ -200,8 +189,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.media2.widget.SubtitleController 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.media2.widget.SubtitleController is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" VERSION.SDK_INT >= 19 ? mCaptioningManager.isEnabled() : false;"
errorLine2=" ~~~~~~~~~">
<location
@@ -211,8 +200,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.media2.widget.SubtitleController 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.media2.widget.SubtitleController is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mCaptioningManager.removeCaptioningChangeListener("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -222,8 +211,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.media2.widget.SubtitleController 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.media2.widget.SubtitleController is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mCaptioningManager.addCaptioningChangeListener("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -233,8 +222,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.media2.widget.SubtitleView 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.media2.widget.SubtitleView is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" StaticLayout.Builder.obtain(mText, 0, mText.length(), mTextPaint, maxWidth)"
errorLine2=" ~~~~~~">
<location
@@ -244,8 +233,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.media2.widget.SubtitleView 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.media2.widget.SubtitleView is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setAlignment(mAlignment)"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -255,8 +244,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.media2.widget.SubtitleView 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.media2.widget.SubtitleView is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setLineSpacing(mSpacingAdd, mSpacingMult);"
errorLine2=" ~~~~~~~~~~~~~~">
<location
@@ -266,8 +255,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.media2.widget.SubtitleView 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.media2.widget.SubtitleView is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" builder.setUseLineSpacingFromFallbacks(true);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -277,8 +266,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.media2.widget.SubtitleView 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.media2.widget.SubtitleView is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mLayout = builder.build();"
errorLine2=" ~~~~~">
<location
@@ -288,6 +277,17 @@
</issue>
<issue
+ id="PrivateConstructorForUtilityClass"
+ message="Utility class with non private constructor"
+ errorLine1=" static class MediaFormatUtil {"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/media2/widget/SubtitleController.java"
+ line="275"
+ column="18"/>
+ </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 CharSequence getAccessibilityClassName() {"
diff --git a/mediarouter/mediarouter/lint-baseline.xml b/mediarouter/mediarouter/lint-baseline.xml
index c150d99..f7b1c26 100644
--- a/mediarouter/mediarouter/lint-baseline.xml
+++ b/mediarouter/mediarouter/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="BanUncheckedReflection"
@@ -46,43 +46,32 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.mediarouter.app.MediaRouteDynamicControllerDialog 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.mediarouter.app.MediaRouteDynamicControllerDialog is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" ScriptIntrinsicBlur blurScript = ScriptIntrinsicBlur.create(rs, Element.U8_4(rs));"
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/mediarouter/app/MediaRouteDynamicControllerDialog.java"
- line="661"
+ line="662"
column="62"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.mediarouter.app.MediaRouteDynamicControllerDialog 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.mediarouter.app.MediaRouteDynamicControllerDialog is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" blurScript.setRadius(radius);"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/mediarouter/app/MediaRouteDynamicControllerDialog.java"
- line="662"
- column="20"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.mediarouter.app.MediaRouteDynamicControllerDialog 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=" blurScript.setInput(allocation);"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/mediarouter/app/MediaRouteDynamicControllerDialog.java"
line="663"
column="20"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.mediarouter.app.MediaRouteDynamicControllerDialog 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=" blurScript.forEach(blurAllocation);"
- errorLine2=" ~~~~~~~">
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.mediarouter.app.MediaRouteDynamicControllerDialog is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" blurScript.setInput(allocation);"
+ errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/mediarouter/app/MediaRouteDynamicControllerDialog.java"
line="664"
@@ -90,8 +79,19 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.mediarouter.media.MediaRouterApi24.RouteInfo 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.mediarouter.app.MediaRouteDynamicControllerDialog is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" blurScript.forEach(blurAllocation);"
+ errorLine2=" ~~~~~~~">
+ <location
+ file="src/main/java/androidx/mediarouter/app/MediaRouteDynamicControllerDialog.java"
+ line="665"
+ column="20"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.mediarouter.media.MediaRouterApi24.RouteInfo is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return ((android.media.MediaRouter.RouteInfo)routeObj).getDeviceType();"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -101,8 +101,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.mediarouter.media.MediaRouterJellybean.RouteInfo 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.mediarouter.media.MediaRouterJellybean.RouteInfo is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return ((android.media.MediaRouter.RouteInfo)routeObj).getName(context);"
errorLine2=" ~~~~~~~">
<location
@@ -112,8 +112,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.mediarouter.media.MediaRouterJellybean.RouteInfo 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.mediarouter.media.MediaRouterJellybean.RouteInfo is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return ((android.media.MediaRouter.RouteInfo)routeObj).getStatus();"
errorLine2=" ~~~~~~~~~">
<location
@@ -123,8 +123,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.mediarouter.media.MediaRouterJellybean.RouteInfo 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.mediarouter.media.MediaRouterJellybean.RouteInfo is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return ((android.media.MediaRouter.RouteInfo)routeObj).getSupportedTypes();"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -134,8 +134,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.mediarouter.media.MediaRouterJellybean.RouteInfo 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.mediarouter.media.MediaRouterJellybean.RouteInfo is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return ((android.media.MediaRouter.RouteInfo)routeObj).getCategory();"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -145,8 +145,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.mediarouter.media.MediaRouterJellybean.RouteInfo 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.mediarouter.media.MediaRouterJellybean.RouteInfo is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return ((android.media.MediaRouter.RouteInfo)routeObj).getIconDrawable();"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
@@ -156,8 +156,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.mediarouter.media.MediaRouterJellybean.RouteInfo 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.mediarouter.media.MediaRouterJellybean.RouteInfo is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return ((android.media.MediaRouter.RouteInfo)routeObj).getPlaybackType();"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
@@ -167,8 +167,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.mediarouter.media.MediaRouterJellybean.RouteInfo 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.mediarouter.media.MediaRouterJellybean.RouteInfo is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return ((android.media.MediaRouter.RouteInfo)routeObj).getPlaybackStream();"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -178,8 +178,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.mediarouter.media.MediaRouterJellybean.RouteInfo 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.mediarouter.media.MediaRouterJellybean.RouteInfo is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return ((android.media.MediaRouter.RouteInfo)routeObj).getVolume();"
errorLine2=" ~~~~~~~~~">
<location
@@ -189,8 +189,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.mediarouter.media.MediaRouterJellybean.RouteInfo 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.mediarouter.media.MediaRouterJellybean.RouteInfo is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return ((android.media.MediaRouter.RouteInfo)routeObj).getVolumeMax();"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -200,8 +200,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.mediarouter.media.MediaRouterJellybean.RouteInfo 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.mediarouter.media.MediaRouterJellybean.RouteInfo is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return ((android.media.MediaRouter.RouteInfo)routeObj).getVolumeHandling();"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -211,8 +211,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.mediarouter.media.MediaRouterJellybean.RouteInfo 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.mediarouter.media.MediaRouterJellybean.RouteInfo is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return ((android.media.MediaRouter.RouteInfo)routeObj).getTag();"
errorLine2=" ~~~~~~">
<location
@@ -222,8 +222,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.mediarouter.media.MediaRouterJellybean.RouteInfo 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.mediarouter.media.MediaRouterJellybean.RouteInfo is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" ((android.media.MediaRouter.RouteInfo)routeObj).setTag(tag);"
errorLine2=" ~~~~~~">
<location
@@ -233,8 +233,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.mediarouter.media.MediaRouterJellybean.RouteInfo 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.mediarouter.media.MediaRouterJellybean.RouteInfo is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" ((android.media.MediaRouter.RouteInfo)routeObj).requestSetVolume(volume);"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -244,8 +244,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.mediarouter.media.MediaRouterJellybean.RouteInfo 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.mediarouter.media.MediaRouterJellybean.RouteInfo is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" ((android.media.MediaRouter.RouteInfo)routeObj).requestUpdateVolume(direction);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
@@ -255,8 +255,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.mediarouter.media.MediaRouterJellybean.RouteInfo 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.mediarouter.media.MediaRouterJellybean.RouteInfo is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return ((android.media.MediaRouter.RouteInfo)routeObj).getGroup();"
errorLine2=" ~~~~~~~~">
<location
@@ -266,8 +266,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.mediarouter.media.MediaRouterJellybean.RouteGroup 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.mediarouter.media.MediaRouterJellybean.RouteGroup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" final int count = group.getRouteCount();"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -277,8 +277,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.mediarouter.media.MediaRouterJellybean.RouteGroup 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.mediarouter.media.MediaRouterJellybean.RouteGroup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" out.add(group.getRouteAt(i));"
errorLine2=" ~~~~~~~~~~">
<location
@@ -288,8 +288,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.mediarouter.media.MediaRouterJellybean.UserRouteInfo 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.mediarouter.media.MediaRouterJellybean.UserRouteInfo is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" ((android.media.MediaRouter.UserRouteInfo)routeObj).setName(name);"
errorLine2=" ~~~~~~~">
<location
@@ -299,8 +299,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.mediarouter.media.MediaRouterJellybean.UserRouteInfo 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.mediarouter.media.MediaRouterJellybean.UserRouteInfo is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" ((android.media.MediaRouter.UserRouteInfo)routeObj).setStatus(status);"
errorLine2=" ~~~~~~~~~">
<location
@@ -310,8 +310,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.mediarouter.media.MediaRouterJellybean.UserRouteInfo 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.mediarouter.media.MediaRouterJellybean.UserRouteInfo is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" ((android.media.MediaRouter.UserRouteInfo)routeObj).setIconDrawable(icon);"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
@@ -321,8 +321,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.mediarouter.media.MediaRouterJellybean.UserRouteInfo 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.mediarouter.media.MediaRouterJellybean.UserRouteInfo is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" ((android.media.MediaRouter.UserRouteInfo)routeObj).setPlaybackType(type);"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
@@ -332,8 +332,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.mediarouter.media.MediaRouterJellybean.UserRouteInfo 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.mediarouter.media.MediaRouterJellybean.UserRouteInfo is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" ((android.media.MediaRouter.UserRouteInfo)routeObj).setPlaybackStream(stream);"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -343,8 +343,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.mediarouter.media.MediaRouterJellybean.UserRouteInfo 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.mediarouter.media.MediaRouterJellybean.UserRouteInfo is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" ((android.media.MediaRouter.UserRouteInfo)routeObj).setVolume(volume);"
errorLine2=" ~~~~~~~~~">
<location
@@ -354,8 +354,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.mediarouter.media.MediaRouterJellybean.UserRouteInfo 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.mediarouter.media.MediaRouterJellybean.UserRouteInfo is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" ((android.media.MediaRouter.UserRouteInfo)routeObj).setVolumeMax(volumeMax);"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -365,8 +365,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.mediarouter.media.MediaRouterJellybean.UserRouteInfo 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.mediarouter.media.MediaRouterJellybean.UserRouteInfo is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" ((android.media.MediaRouter.UserRouteInfo)routeObj).setVolumeHandling(volumeHandling);"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -376,8 +376,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.mediarouter.media.MediaRouterJellybean.UserRouteInfo 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.mediarouter.media.MediaRouterJellybean.UserRouteInfo is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" ((android.media.MediaRouter.UserRouteInfo)routeObj).setVolumeCallback("
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -387,8 +387,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.mediarouter.media.MediaRouterJellybean.UserRouteInfo 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.mediarouter.media.MediaRouterJellybean.UserRouteInfo is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" ((android.media.MediaRouter.UserRouteInfo)routeObj).setRemoteControlClient("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -398,8 +398,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.mediarouter.media.MediaRouterJellybean.RouteCategory 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.mediarouter.media.MediaRouterJellybean.RouteCategory is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return ((android.media.MediaRouter.RouteCategory)categoryObj).getName(context);"
errorLine2=" ~~~~~~~">
<location
@@ -409,8 +409,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.mediarouter.media.MediaRouterJellybean.RouteCategory 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.mediarouter.media.MediaRouterJellybean.RouteCategory is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" ((android.media.MediaRouter.RouteCategory)categoryObj).getRoutes(out);"
errorLine2=" ~~~~~~~~~">
<location
@@ -420,8 +420,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.mediarouter.media.MediaRouterJellybean.RouteCategory 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.mediarouter.media.MediaRouterJellybean.RouteCategory is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return ((android.media.MediaRouter.RouteCategory)categoryObj).getSupportedTypes();"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -431,8 +431,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.mediarouter.media.MediaRouterJellybean.RouteCategory 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.mediarouter.media.MediaRouterJellybean.RouteCategory is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return ((android.media.MediaRouter.RouteCategory)categoryObj).isGroupable();"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -442,8 +442,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.mediarouter.media.MediaRouterJellybean.SelectRouteWorkaround 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.mediarouter.media.MediaRouterJellybean.SelectRouteWorkaround is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" int routeTypes = route.getSupportedTypes();"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -453,8 +453,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.mediarouter.media.MediaRouterJellybean.SelectRouteWorkaround 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.mediarouter.media.MediaRouterJellybean.SelectRouteWorkaround is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" router.selectRoute(types, route);"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -464,8 +464,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.mediarouter.media.MediaRouterJellybean.GetDefaultRouteWorkaround 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.mediarouter.media.MediaRouterJellybean.GetDefaultRouteWorkaround is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return router.getRouteAt(0);"
errorLine2=" ~~~~~~~~~~">
<location
@@ -475,8 +475,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.mediarouter.media.MediaRouterJellybeanMr1.RouteInfo 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.mediarouter.media.MediaRouterJellybeanMr1.RouteInfo is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return ((android.media.MediaRouter.RouteInfo)routeObj).isEnabled();"
errorLine2=" ~~~~~~~~~">
<location
@@ -486,8 +486,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.mediarouter.media.MediaRouterJellybeanMr1.RouteInfo 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.mediarouter.media.MediaRouterJellybeanMr1.RouteInfo is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return ((android.media.MediaRouter.RouteInfo)routeObj).getPresentationDisplay();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -497,8 +497,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.mediarouter.media.MediaRouterJellybeanMr2.RouteInfo 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.mediarouter.media.MediaRouterJellybeanMr2.RouteInfo is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return ((android.media.MediaRouter.RouteInfo)routeObj).getDescription();"
errorLine2=" ~~~~~~~~~~~~~~">
<location
@@ -508,8 +508,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.mediarouter.media.MediaRouterJellybeanMr2.RouteInfo 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.mediarouter.media.MediaRouterJellybeanMr2.RouteInfo is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return ((android.media.MediaRouter.RouteInfo)routeObj).isConnecting();"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -519,8 +519,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.mediarouter.media.MediaRouterJellybeanMr2.UserRouteInfo 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.mediarouter.media.MediaRouterJellybeanMr2.UserRouteInfo is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" ((android.media.MediaRouter.UserRouteInfo)routeObj).setDescription(description);"
errorLine2=" ~~~~~~~~~~~~~~">
<location
diff --git a/navigation/benchmark/lint-baseline.xml b/navigation/benchmark/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/navigation/benchmark/lint-baseline.xml
+++ b/navigation/benchmark/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/navigation/integration-tests/testapp/lint-baseline.xml b/navigation/integration-tests/testapp/lint-baseline.xml
index 32125ea..ba442a5 100644
--- a/navigation/integration-tests/testapp/lint-baseline.xml
+++ b/navigation/integration-tests/testapp/lint-baseline.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.navigation.testapp.AndroidFragment 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.navigation.testapp.AndroidFragment is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" notificationManager.createNotificationChannel("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -13,8 +13,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.navigation.testapp.AndroidFragment 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.navigation.testapp.AndroidFragment is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" NotificationChannel("
errorLine2=" ^">
<location
@@ -24,8 +24,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.navigation.testapp.HelpActivity 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.navigation.testapp.HelpActivity is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" val fade = Fade()"
errorLine2=" ~~~~~~">
<location
@@ -35,8 +35,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.navigation.testapp.HelpActivity 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.navigation.testapp.HelpActivity is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" fade.excludeTarget(android.R.id.statusBarBackground, true)"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -46,8 +46,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.navigation.testapp.HelpActivity 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.navigation.testapp.HelpActivity is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" fade.excludeTarget(android.R.id.navigationBarBackground, true)"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -57,8 +57,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.navigation.testapp.HelpActivity 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.navigation.testapp.HelpActivity is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" window.exitTransition = fade"
errorLine2=" ~~~~~~~~~~~~~~">
<location
@@ -68,8 +68,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.navigation.testapp.HelpActivity 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.navigation.testapp.HelpActivity is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" window.enterTransition = fade"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
diff --git a/navigation/navigation-common-ktx/lint-baseline.xml b/navigation/navigation-common-ktx/lint-baseline.xml
index 2914d7f..aaebb86 100644
--- a/navigation/navigation-common-ktx/lint-baseline.xml
+++ b/navigation/navigation-common-ktx/lint-baseline.xml
@@ -1,15 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
-
- <issue
- id="BanUncheckedReflection"
- message="Calling Method.invoke without an SDK check"
- errorLine1=" args = method.invoke(null, arguments) as Args"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/navigation/NavArgsLazy.kt"
- line="52"
- column="24"/>
- </issue>
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/navigation/navigation-common/api/current.txt b/navigation/navigation-common/api/current.txt
index 1e27bd97..ea02b21 100644
--- a/navigation/navigation-common/api/current.txt
+++ b/navigation/navigation-common/api/current.txt
@@ -411,10 +411,15 @@
public abstract class Navigator<D extends androidx.navigation.NavDestination> {
ctor public Navigator();
method public abstract D createDestination();
+ method protected final androidx.navigation.NavigatorState getState();
+ method public final boolean isAttached();
method public abstract androidx.navigation.NavDestination? navigate(D destination, android.os.Bundle? args, androidx.navigation.NavOptions? navOptions, androidx.navigation.Navigator.Extras? navigatorExtras);
+ method @CallSuper public void onAttach(androidx.navigation.NavigatorState state);
method public void onRestoreState(android.os.Bundle savedState);
method public android.os.Bundle? onSaveState();
method public abstract boolean popBackStack();
+ property public final boolean isAttached;
+ property protected final androidx.navigation.NavigatorState state;
}
public static interface Navigator.Extras {
@@ -440,6 +445,15 @@
method public static inline operator androidx.navigation.Navigator<? extends androidx.navigation.NavDestination>? set(androidx.navigation.NavigatorProvider, String name, androidx.navigation.Navigator<? extends androidx.navigation.NavDestination> navigator);
}
+ public abstract class NavigatorState {
+ ctor public NavigatorState();
+ method public void add(androidx.navigation.NavBackStackEntry backStackEntry);
+ method public abstract androidx.navigation.NavBackStackEntry createBackStackEntry(androidx.navigation.NavDestination destination, android.os.Bundle? arguments);
+ method public final kotlinx.coroutines.flow.StateFlow<java.util.List<androidx.navigation.NavBackStackEntry>> getBackStack();
+ method public void pop(androidx.navigation.NavBackStackEntry popUpTo, boolean saveState);
+ property public final kotlinx.coroutines.flow.StateFlow<java.util.List<androidx.navigation.NavBackStackEntry>> backStack;
+ }
+
@androidx.navigation.NavOptionsDsl public final class PopUpToBuilder {
ctor public PopUpToBuilder();
method public boolean getInclusive();
diff --git a/navigation/navigation-common/api/public_plus_experimental_current.txt b/navigation/navigation-common/api/public_plus_experimental_current.txt
index 65a692d..43b16bd 100644
--- a/navigation/navigation-common/api/public_plus_experimental_current.txt
+++ b/navigation/navigation-common/api/public_plus_experimental_current.txt
@@ -460,10 +460,15 @@
public abstract class Navigator<D extends androidx.navigation.NavDestination> {
ctor public Navigator();
method public abstract D createDestination();
+ method protected final androidx.navigation.NavigatorState getState();
+ method public final boolean isAttached();
method public abstract androidx.navigation.NavDestination? navigate(D destination, android.os.Bundle? args, androidx.navigation.NavOptions? navOptions, androidx.navigation.Navigator.Extras? navigatorExtras);
+ method @CallSuper public void onAttach(androidx.navigation.NavigatorState state);
method public void onRestoreState(android.os.Bundle savedState);
method public android.os.Bundle? onSaveState();
method public abstract boolean popBackStack();
+ property public final boolean isAttached;
+ property protected final androidx.navigation.NavigatorState state;
}
public static interface Navigator.Extras {
@@ -491,6 +496,15 @@
method public static inline operator androidx.navigation.Navigator<? extends androidx.navigation.NavDestination>? set(androidx.navigation.NavigatorProvider, String name, androidx.navigation.Navigator<? extends androidx.navigation.NavDestination> navigator);
}
+ public abstract class NavigatorState {
+ ctor public NavigatorState();
+ method public void add(androidx.navigation.NavBackStackEntry backStackEntry);
+ method public abstract androidx.navigation.NavBackStackEntry createBackStackEntry(androidx.navigation.NavDestination destination, android.os.Bundle? arguments);
+ method public final kotlinx.coroutines.flow.StateFlow<java.util.List<androidx.navigation.NavBackStackEntry>> getBackStack();
+ method public void pop(androidx.navigation.NavBackStackEntry popUpTo, boolean saveState);
+ property public final kotlinx.coroutines.flow.StateFlow<java.util.List<androidx.navigation.NavBackStackEntry>> backStack;
+ }
+
@androidx.navigation.NavOptionsDsl public final class PopUpToBuilder {
ctor public PopUpToBuilder();
method public boolean getInclusive();
diff --git a/navigation/navigation-common/api/restricted_current.txt b/navigation/navigation-common/api/restricted_current.txt
index 1e27bd97..ea02b21 100644
--- a/navigation/navigation-common/api/restricted_current.txt
+++ b/navigation/navigation-common/api/restricted_current.txt
@@ -411,10 +411,15 @@
public abstract class Navigator<D extends androidx.navigation.NavDestination> {
ctor public Navigator();
method public abstract D createDestination();
+ method protected final androidx.navigation.NavigatorState getState();
+ method public final boolean isAttached();
method public abstract androidx.navigation.NavDestination? navigate(D destination, android.os.Bundle? args, androidx.navigation.NavOptions? navOptions, androidx.navigation.Navigator.Extras? navigatorExtras);
+ method @CallSuper public void onAttach(androidx.navigation.NavigatorState state);
method public void onRestoreState(android.os.Bundle savedState);
method public android.os.Bundle? onSaveState();
method public abstract boolean popBackStack();
+ property public final boolean isAttached;
+ property protected final androidx.navigation.NavigatorState state;
}
public static interface Navigator.Extras {
@@ -440,6 +445,15 @@
method public static inline operator androidx.navigation.Navigator<? extends androidx.navigation.NavDestination>? set(androidx.navigation.NavigatorProvider, String name, androidx.navigation.Navigator<? extends androidx.navigation.NavDestination> navigator);
}
+ public abstract class NavigatorState {
+ ctor public NavigatorState();
+ method public void add(androidx.navigation.NavBackStackEntry backStackEntry);
+ method public abstract androidx.navigation.NavBackStackEntry createBackStackEntry(androidx.navigation.NavDestination destination, android.os.Bundle? arguments);
+ method public final kotlinx.coroutines.flow.StateFlow<java.util.List<androidx.navigation.NavBackStackEntry>> getBackStack();
+ method public void pop(androidx.navigation.NavBackStackEntry popUpTo, boolean saveState);
+ property public final kotlinx.coroutines.flow.StateFlow<java.util.List<androidx.navigation.NavBackStackEntry>> backStack;
+ }
+
@androidx.navigation.NavOptionsDsl public final class PopUpToBuilder {
ctor public PopUpToBuilder();
method public boolean getInclusive();
diff --git a/navigation/navigation-common/lint-baseline.xml b/navigation/navigation-common/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/navigation/navigation-common/lint-baseline.xml
+++ b/navigation/navigation-common/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/navigation/navigation-common/src/main/java/androidx/navigation/NavBackStackEntry.kt b/navigation/navigation-common/src/main/java/androidx/navigation/NavBackStackEntry.kt
index 357b810..a0e13a8 100644
--- a/navigation/navigation-common/src/main/java/androidx/navigation/NavBackStackEntry.kt
+++ b/navigation/navigation-common/src/main/java/androidx/navigation/NavBackStackEntry.kt
@@ -43,7 +43,7 @@
* will no longer be saved, and ViewModels will be cleared.
*/
public class NavBackStackEntry private constructor(
- private val context: Context,
+ private val context: Context?,
/**
* Gets the destination associated with this entry
* @return The destination that is currently visible to users
@@ -76,7 +76,7 @@
*/
@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
public fun create(
- context: Context,
+ context: Context?,
destination: NavDestination,
arguments: Bundle? = null,
navControllerLifecycleOwner: LifecycleOwner? = null,
@@ -93,7 +93,7 @@
private val savedStateRegistryController = SavedStateRegistryController.create(this)
private var hostLifecycleState = Lifecycle.State.CREATED
private val defaultFactory by lazy {
- SavedStateViewModelFactory((context.applicationContext as Application), this, arguments)
+ SavedStateViewModelFactory((context?.applicationContext as? Application), this, arguments)
}
/**
diff --git a/navigation/navigation-common/src/main/java/androidx/navigation/Navigator.kt b/navigation/navigation-common/src/main/java/androidx/navigation/Navigator.kt
index dc89e1d..e148247 100644
--- a/navigation/navigation-common/src/main/java/androidx/navigation/Navigator.kt
+++ b/navigation/navigation-common/src/main/java/androidx/navigation/Navigator.kt
@@ -16,6 +16,7 @@
package androidx.navigation
import android.os.Bundle
+import androidx.annotation.CallSuper
import androidx.navigation.Navigator.Name
/**
@@ -51,6 +52,41 @@
@Target(AnnotationTarget.ANNOTATION_CLASS, AnnotationTarget.CLASS)
public annotation class Name(val value: String)
+ private var _state: NavigatorState? = null
+
+ /**
+ * The state of the Navigator is the communication conduit between the Navigator
+ * and the [NavController] that has called [onAttach].
+ *
+ * It is the responsibility of the Navigator to call [NavigatorState.add]
+ * and [NavigatorState.pop] to in order to update the [NavigatorState.backStack] at
+ * the appropriate times.
+ *
+ * @throws IllegalStateException if [isAttached] is `false`
+ */
+ protected val state: NavigatorState
+ get() = checkNotNull(_state) {
+ "You cannot access the Navigator's state until the Navigator is attached"
+ }
+
+ /**
+ * Whether this Navigator is actively being used by a [NavController].
+ *
+ * This is set to `true` when [onAttach] is called.
+ */
+ public var isAttached: Boolean = false
+ private set
+
+ /**
+ * Indicator that this Navigator is actively being used by a [NavController]. This
+ * is called when the NavController's state is ready to be restored.
+ */
+ @CallSuper
+ public open fun onAttach(state: NavigatorState) {
+ _state = state
+ isAttached = true
+ }
+
/**
* Construct a new NavDestination associated with this Navigator.
*
diff --git a/navigation/navigation-common/src/main/java/androidx/navigation/NavigatorProvider.kt b/navigation/navigation-common/src/main/java/androidx/navigation/NavigatorProvider.kt
index d59a4e3..1d91ff0 100644
--- a/navigation/navigation-common/src/main/java/androidx/navigation/NavigatorProvider.kt
+++ b/navigation/navigation-common/src/main/java/androidx/navigation/NavigatorProvider.kt
@@ -102,6 +102,13 @@
navigator: Navigator<out NavDestination>
): Navigator<out NavDestination>? {
require(validateName(name)) { "navigator name cannot be an empty string" }
+ val previousNavigator = _navigators[name]
+ check(previousNavigator?.isAttached != true) {
+ "Navigator $navigator is replacing an already attached $previousNavigator"
+ }
+ check(!navigator.isAttached) {
+ "Navigator $navigator is already attached to another NavController"
+ }
return _navigators.put(name, navigator)
}
diff --git a/navigation/navigation-common/src/main/java/androidx/navigation/NavigatorState.kt b/navigation/navigation-common/src/main/java/androidx/navigation/NavigatorState.kt
new file mode 100644
index 0000000..949fa58
--- /dev/null
+++ b/navigation/navigation-common/src/main/java/androidx/navigation/NavigatorState.kt
@@ -0,0 +1,69 @@
+/*
+ * Copyright 2021 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package androidx.navigation
+
+import android.os.Bundle
+import kotlinx.coroutines.flow.MutableStateFlow
+import kotlinx.coroutines.flow.StateFlow
+import kotlinx.coroutines.flow.asStateFlow
+import java.util.concurrent.locks.ReentrantLock
+import kotlin.concurrent.withLock
+
+/**
+ * The NavigatorState encapsulates the state shared between the [Navigator] and the
+ * [NavController].
+ */
+public abstract class NavigatorState {
+ private val backStackLock = ReentrantLock(true)
+ private val _backStack: MutableStateFlow<List<NavBackStackEntry>> = MutableStateFlow(listOf())
+
+ /**
+ * While the [NavController] is responsible for the combined back stack across all
+ * Navigators, this back stack is specifically the set of destinations associated
+ * with this Navigator.
+ *
+ * Changing the back stack must be done via [add] and [pop].
+ */
+ public val backStack: StateFlow<List<NavBackStackEntry>> = _backStack.asStateFlow()
+
+ /**
+ * Adds the given [backStackEntry] to the [backStack].
+ */
+ public open fun add(backStackEntry: NavBackStackEntry) {
+ backStackLock.withLock {
+ _backStack.value = _backStack.value + backStackEntry
+ }
+ }
+
+ /**
+ * Create a new [NavBackStackEntry] from a given [destination] and [arguments].
+ */
+ public abstract fun createBackStackEntry(
+ destination: NavDestination,
+ arguments: Bundle?
+ ): NavBackStackEntry
+
+ /**
+ * Pop all destinations up to and including [popUpTo]. This will remove those
+ * destinations from the [backStack], saving their state if [saveState] is `true`.
+ */
+ public open fun pop(popUpTo: NavBackStackEntry, saveState: Boolean) {
+ backStackLock.withLock {
+ _backStack.value = _backStack.value.takeWhile { it != popUpTo }
+ }
+ }
+}
diff --git a/navigation/navigation-dynamic-features-fragment/lint-baseline.xml b/navigation/navigation-dynamic-features-fragment/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/navigation/navigation-dynamic-features-fragment/lint-baseline.xml
+++ b/navigation/navigation-dynamic-features-fragment/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/navigation/navigation-dynamic-features-runtime/lint-baseline.xml b/navigation/navigation-dynamic-features-runtime/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/navigation/navigation-dynamic-features-runtime/lint-baseline.xml
+++ b/navigation/navigation-dynamic-features-runtime/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/navigation/navigation-fragment-ktx/lint-baseline.xml b/navigation/navigation-fragment-ktx/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/navigation/navigation-fragment-ktx/lint-baseline.xml
+++ b/navigation/navigation-fragment-ktx/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/navigation/navigation-fragment/lint-baseline.xml b/navigation/navigation-fragment/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/navigation/navigation-fragment/lint-baseline.xml
+++ b/navigation/navigation-fragment/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/navigation/navigation-fragment/src/androidTest/java/androidx/navigation/fragment/BaseNavControllerTest.kt b/navigation/navigation-fragment/src/androidTest/java/androidx/navigation/fragment/BaseNavControllerTest.kt
index c087737..ff2e791f2 100644
--- a/navigation/navigation-fragment/src/androidTest/java/androidx/navigation/fragment/BaseNavControllerTest.kt
+++ b/navigation/navigation-fragment/src/androidTest/java/androidx/navigation/fragment/BaseNavControllerTest.kt
@@ -108,7 +108,7 @@
// Test that the deep link Intent was passed through even though we don't pass in any args
- val deepLinkIntent = navigator.current.second?.getParcelable<Intent>(
+ val deepLinkIntent = navigator.current.arguments?.getParcelable<Intent>(
NavController.KEY_DEEP_LINK_INTENT
)
assertNotNull(deepLinkIntent)
@@ -159,10 +159,10 @@
val navigator = navController.navigatorProvider[TestNavigator::class]
assertEquals(expectedStackSize, navigator.backStack.size)
- assertEquals(TEST_ARG_VALUE, navigator.current.second?.getString(TEST_ARG))
+ assertEquals(TEST_ARG_VALUE, navigator.current.arguments?.getString(TEST_ARG))
// Test that the deep link Intent was passed in alongside our args
- val deepLinkIntent = navigator.current.second?.getParcelable<Intent>(
+ val deepLinkIntent = navigator.current.arguments?.getParcelable<Intent>(
NavController.KEY_DEEP_LINK_INTENT
)
assertNotNull(deepLinkIntent)
@@ -238,10 +238,10 @@
assertEquals(destId, navController.currentDestination?.id ?: 0)
val navigator = navController.navigatorProvider[TestNavigator::class]
assertEquals(expectedStackSize, navigator.backStack.size)
- assertEquals(expectedValue, navigator.current.second?.getString(TEST_ARG))
+ assertEquals(expectedValue, navigator.current.arguments?.getString(TEST_ARG))
// Test that the deep link Intent was passed in alongside our args
- val deepLinkIntent = navigator.current.second?.getParcelable<Intent>(
+ val deepLinkIntent = navigator.current.arguments?.getParcelable<Intent>(
NavController.KEY_DEEP_LINK_INTENT
)
assertNotNull(deepLinkIntent)
diff --git a/navigation/navigation-fragment/src/main/java/androidx/navigation/fragment/DialogFragmentNavigator.kt b/navigation/navigation-fragment/src/main/java/androidx/navigation/fragment/DialogFragmentNavigator.kt
index 5f19485..f64bdbf 100644
--- a/navigation/navigation-fragment/src/main/java/androidx/navigation/fragment/DialogFragmentNavigator.kt
+++ b/navigation/navigation-fragment/src/main/java/androidx/navigation/fragment/DialogFragmentNavigator.kt
@@ -29,6 +29,7 @@
import androidx.navigation.NavDestination
import androidx.navigation.NavOptions
import androidx.navigation.Navigator
+import androidx.navigation.NavigatorState
import androidx.navigation.NavigatorProvider
import androidx.navigation.fragment.DialogFragmentNavigator.Destination
@@ -121,7 +122,8 @@
}
}
- init {
+ override fun onAttach(state: NavigatorState) {
+ super.onAttach(state)
fragmentManager.addFragmentOnAttachListener { _, childFragment ->
val needToAddObserver = restoredTagsAwaitingAttach.remove(childFragment.tag)
if (needToAddObserver) {
diff --git a/navigation/navigation-runtime-ktx/lint-baseline.xml b/navigation/navigation-runtime-ktx/lint-baseline.xml
index cb22724..aaebb86 100644
--- a/navigation/navigation-runtime-ktx/lint-baseline.xml
+++ b/navigation/navigation-runtime-ktx/lint-baseline.xml
@@ -1,26 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
-
- <issue
- id="IllegalExperimentalApiUsage"
- message="`Experimental`/`OptIn` APIs should only be used from within the same library or libraries within the same requireSameVersion group"
- errorLine1="public val NavController.currentBackStackEntryFlow: Flow<NavBackStackEntry> get() = callbackFlow {"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/navigation/NavController.kt"
- line="40"
- column="85"/>
- </issue>
-
- <issue
- id="IllegalExperimentalApiUsage"
- message="`Experimental`/`OptIn` APIs should only be used from within the same library or libraries within the same requireSameVersion group"
- errorLine1=" awaitClose {"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/navigation/NavController.kt"
- line="46"
- column="5"/>
- </issue>
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/navigation/navigation-runtime-truth/lint-baseline.xml b/navigation/navigation-runtime-truth/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/navigation/navigation-runtime-truth/lint-baseline.xml
+++ b/navigation/navigation-runtime-truth/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/navigation/navigation-runtime/lint-baseline.xml b/navigation/navigation-runtime/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/navigation/navigation-runtime/lint-baseline.xml
+++ b/navigation/navigation-runtime/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/navigation/navigation-runtime/src/androidTest/java/androidx/navigation/NavControllerTest.kt b/navigation/navigation-runtime/src/androidTest/java/androidx/navigation/NavControllerTest.kt
index 39f3446..747ff2f 100644
--- a/navigation/navigation-runtime/src/androidTest/java/androidx/navigation/NavControllerTest.kt
+++ b/navigation/navigation-runtime/src/androidTest/java/androidx/navigation/NavControllerTest.kt
@@ -156,7 +156,7 @@
val navigator = navController.navigatorProvider[TestNavigator::class]
assertThat(navController.currentDestination?.id ?: 0).isEqualTo(R.id.start_test)
assertThat(navigator.backStack.size).isEqualTo(1)
- val foundArgs = navigator.current.second
+ val foundArgs = navigator.current.arguments
assertThat(foundArgs).isNotNull()
assertThat(foundArgs?.getString(TEST_ARG)).isEqualTo(TEST_ARG_VALUE)
}
@@ -188,7 +188,7 @@
val navigator = navController.navigatorProvider[TestNavigator::class]
assertThat(navController.currentDestination?.id ?: 0).isEqualTo(R.id.start_test)
assertThat(navigator.backStack.size).isEqualTo(1)
- val foundArgs = navigator.current.second
+ val foundArgs = navigator.current.arguments
assertThat(foundArgs).isNotNull()
assertThat(foundArgs?.getString(TEST_ARG)).isEqualTo(TEST_ARG_VALUE)
}
@@ -350,7 +350,7 @@
navController.navigate(deepLink)
assertThat(navController.currentDestination?.id ?: 0).isEqualTo(R.id.second_test)
assertThat(navigator.backStack.size).isEqualTo(2)
- val intent = navigator.current.second?.getParcelable<Intent>(
+ val intent = navigator.current.arguments?.getParcelable<Intent>(
NavController.KEY_DEEP_LINK_INTENT
)
assertThat(intent?.data).isEqualTo(deepLink)
@@ -385,7 +385,7 @@
navController.navigate(deepLink)
assertThat(navController.currentDestination?.id ?: 0).isEqualTo(R.id.second_test)
assertThat(navigator.backStack.size).isEqualTo(2)
- val intent = navigator.current.second?.getParcelable<Intent>(
+ val intent = navigator.current.arguments?.getParcelable<Intent>(
NavController.KEY_DEEP_LINK_INTENT
)
assertThat(intent?.action).isEqualTo(action)
@@ -429,7 +429,7 @@
navController.navigate(deepLink)
assertThat(navController.currentDestination?.id ?: 0).isEqualTo(R.id.forth_test)
assertThat(navigator.backStack.size).isEqualTo(2)
- val intent = navigator.current.second?.getParcelable<Intent>(
+ val intent = navigator.current.arguments?.getParcelable<Intent>(
NavController.KEY_DEEP_LINK_INTENT
)
assertThat(intent?.type).isEqualTo(mimeType)
@@ -660,13 +660,14 @@
fun testSaveRestoreStateXml() {
val context = ApplicationProvider.getApplicationContext() as Context
var navController = NavController(context)
- val navigator = SaveStateTestNavigator()
+ var navigator = SaveStateTestNavigator()
navController.navigatorProvider.addNavigator(navigator)
navController.setGraph(R.navigation.nav_simple)
navController.navigate(R.id.second_test)
val savedState = navController.saveState()
navController = NavController(context)
+ navigator = SaveStateTestNavigator()
navController.navigatorProvider.addNavigator(navigator)
// Restore state doesn't recreate any graph
@@ -686,13 +687,14 @@
fun testSaveRestoreStateDestinationChanged() {
val context = ApplicationProvider.getApplicationContext() as Context
var navController = NavController(context)
- val navigator = SaveStateTestNavigator()
+ var navigator = SaveStateTestNavigator()
navController.navigatorProvider.addNavigator(navigator)
navController.setGraph(R.navigation.nav_simple)
val savedState = navController.saveState()
navController = NavController(context)
+ navigator = SaveStateTestNavigator()
navController.navigatorProvider.addNavigator(navigator)
// Restore state doesn't recreate any graph
@@ -718,7 +720,7 @@
fun testSaveRestoreStateProgrammatic() {
val context = ApplicationProvider.getApplicationContext() as Context
var navController = NavController(context)
- val navigator = TestNavigator()
+ var navigator = TestNavigator()
navController.navigatorProvider.addNavigator(navigator)
val graph = NavInflater(context, navController.navigatorProvider)
.inflate(R.navigation.nav_simple)
@@ -727,6 +729,7 @@
val savedState = navController.saveState()
navController = NavController(context)
+ navigator = TestNavigator()
navController.navigatorProvider.addNavigator(navigator)
// Restore state doesn't recreate any graph
@@ -744,7 +747,7 @@
fun testSaveRestoreStateBundleParceled() {
val context = ApplicationProvider.getApplicationContext() as Context
var navController = NavController(context)
- val navigator = SaveStateTestNavigator()
+ var navigator = SaveStateTestNavigator()
navController.navigatorProvider.addNavigator(navigator)
navController.setGraph(R.navigation.nav_simple)
@@ -759,6 +762,7 @@
val restoredState = Bundle.CREATOR.createFromParcel(parcel)
navController = NavController(context)
+ navigator = SaveStateTestNavigator()
navController.navigatorProvider.addNavigator(navigator)
navController.restoreState(restoredState)
@@ -773,7 +777,7 @@
fun testSaveRestoreAfterNavigateToDifferentNavGraph() {
val context = ApplicationProvider.getApplicationContext() as Context
var navController = NavController(context)
- val navigator = SaveStateTestNavigator()
+ var navigator = SaveStateTestNavigator()
navController.navigatorProvider.addNavigator(navigator)
navController.setGraph(R.navigation.nav_multiple_navigation)
assertThat(navController.currentDestination?.id ?: 0)
@@ -794,6 +798,7 @@
val savedState = navController.saveState()
navController = NavController(context)
+ navigator = SaveStateTestNavigator()
navController.navigatorProvider.addNavigator(navigator)
// Restore state doesn't recreate any graph
@@ -814,7 +819,7 @@
fun testBackstackArgsBundleParceled() {
val context = ApplicationProvider.getApplicationContext() as Context
var navController = NavController(context)
- val navigator = SaveStateTestNavigator()
+ var navigator = SaveStateTestNavigator()
navController.navigatorProvider.addNavigator(navigator)
val backStackArg1 = Bundle()
@@ -831,6 +836,7 @@
val restoredState = Bundle.CREATOR.createFromParcel(parcel)
navController = NavController(context)
+ navigator = SaveStateTestNavigator()
navController.navigatorProvider.addNavigator(navigator)
navController.restoreState(restoredState)
@@ -849,7 +855,7 @@
navController.setGraph(R.navigation.nav_arguments)
val navigator = navController.navigatorProvider.getNavigator(TestNavigator::class.java)
- val returnedArgs = navigator.current.second
+ val returnedArgs = navigator.current.arguments
assertThat(returnedArgs).isNotNull()
assertThat(returnedArgs!!["test_start_default"])
.isEqualTo("default")
@@ -909,7 +915,7 @@
navController.navigate(R.id.second_test, args)
val navigator = navController.navigatorProvider.getNavigator(TestNavigator::class.java)
- val returnedArgs = navigator.current.second
+ val returnedArgs = navigator.current.arguments
assertThat(returnedArgs).isNotNull()
return returnedArgs!!
@@ -1143,7 +1149,7 @@
assertThat(navController.currentDestination?.id ?: 0).isEqualTo(R.id.second_test)
assertThat(navigator.backStack.size).isEqualTo(2)
- val returnedArgs = navigator.current.second
+ val returnedArgs = navigator.current.arguments
assertThat(returnedArgs?.getString(testKey)).isEqualTo(testValue)
assertThat(destinationListenerExecuted).isTrue()
}
@@ -1156,7 +1162,7 @@
assertThat(navController.currentDestination?.id ?: 0).isEqualTo(R.id.start_test)
val navigator = navController.navigatorProvider.getNavigator(TestNavigator::class.java)
assertThat(navigator.backStack.size).isEqualTo(1)
- assertThat(navigator.current.second).isNull()
+ assertThat(navigator.current.arguments).isNull()
val args = Bundle()
val testKey = "testKey"
@@ -1181,7 +1187,7 @@
assertThat(navController.currentDestination?.id ?: 0).isEqualTo(R.id.start_test)
assertThat(navigator.backStack.size).isEqualTo(1)
- val returnedArgs = navigator.current.second
+ val returnedArgs = navigator.current.arguments
assertThat(returnedArgs?.getString(testKey)).isEqualTo(testValue)
assertThat(destinationListenerExecuted).isTrue()
}
@@ -1196,8 +1202,8 @@
.isEqualTo(R.id.start_test_with_default_arg)
val navigator = navController.navigatorProvider.getNavigator(TestNavigator::class.java)
assertThat(navigator.backStack.size).isEqualTo(2)
- assertThat(navigator.current.second).isNotNull()
- assertThat(navigator.current.second?.getBoolean("defaultArg", false)).isTrue()
+ assertThat(navigator.current.arguments).isNotNull()
+ assertThat(navigator.current.arguments?.getBoolean("defaultArg", false)).isTrue()
val args = Bundle()
val testKey = "testKey"
@@ -1224,7 +1230,7 @@
.isEqualTo(R.id.start_test_with_default_arg)
assertThat(navigator.backStack.size).isEqualTo(2)
- val returnedArgs = navigator.current.second
+ val returnedArgs = navigator.current.arguments
assertThat(returnedArgs?.getString(testKey)).isEqualTo(testValue)
assertThat(returnedArgs?.getBoolean("defaultArg", false)).isTrue()
assertThat(destinationListenerExecuted).isTrue()
@@ -1258,7 +1264,7 @@
assertThat(navController.currentDestination?.id ?: 0).isEqualTo(R.id.second_test)
assertThat(navigator.backStack.size).isEqualTo(2)
- val returnedArgs = navigator.current.second
+ val returnedArgs = navigator.current.arguments
assertThat(returnedArgs?.getString(testKey)).isEqualTo(testValue)
assertThat(destinationListenerExecuted).isTrue()
}
@@ -1339,7 +1345,7 @@
navController.navigate(R.id.second, args)
val navigator = navController.navigatorProvider.getNavigator(TestNavigator::class.java)
- val returnedArgs = navigator.current.second
+ val returnedArgs = navigator.current.arguments
assertThat(returnedArgs).isNotNull()
// Test that arguments without a default value aren't passed through at all
@@ -1721,15 +1727,16 @@
var saveStateCount = 0
var customParcel: CustomTestParcelable? = null
- override fun onSaveState(): Bundle? {
+ override fun onSaveState(): Bundle {
saveStateCount += 1
- val state = Bundle()
+ val state = super.onSaveState() ?: Bundle()
state.putInt(STATE_SAVED_COUNT, saveStateCount)
state.putParcelable(TEST_PARCEL, customParcel)
return state
}
override fun onRestoreState(savedState: Bundle) {
+ super.onRestoreState(savedState)
saveStateCount = savedState.getInt(STATE_SAVED_COUNT)
customParcel = savedState.getParcelable(TEST_PARCEL)
}
diff --git a/navigation/navigation-runtime/src/main/java/androidx/navigation/NavController.kt b/navigation/navigation-runtime/src/main/java/androidx/navigation/NavController.kt
index 803d6c6..092f18a 100644
--- a/navigation/navigation-runtime/src/main/java/androidx/navigation/NavController.kt
+++ b/navigation/navigation-runtime/src/main/java/androidx/navigation/NavController.kt
@@ -179,6 +179,30 @@
_navigatorProvider = navigatorProvider
}
+ private val navigatorState = mutableMapOf<Navigator<out NavDestination>, NavigatorState>()
+
+ private inner class NavControllerNavigatorState(
+ val navigator: Navigator<out NavDestination>
+ ) : NavigatorState() {
+ override fun add(backStackEntry: NavBackStackEntry) {
+ val destinationNavigator: Navigator<out NavDestination> =
+ _navigatorProvider[backStackEntry.destination.navigatorName]
+ if (destinationNavigator == navigator) {
+ super.add(backStackEntry)
+ } else {
+ navigatorState[destinationNavigator]!!.add(backStackEntry)
+ }
+ }
+
+ override fun createBackStackEntry(
+ destination: NavDestination,
+ arguments: Bundle?
+ ) = NavBackStackEntry.create(
+ context, destination, arguments,
+ lifecycleOwner, viewModel
+ )
+ }
+
/**
* Constructs a new controller for a given [Context]. Controllers should not be
* used outside of their context and retain a hard reference to the context supplied.
@@ -615,6 +639,10 @@
if (navigatorNames != null) {
for (name in navigatorNames) {
val navigator = _navigatorProvider.getNavigator<Navigator<*>>(name)
+ val navigatorBackStack = navigatorState.getOrPut(navigator) {
+ NavControllerNavigatorState(navigator)
+ }
+ navigator.onAttach(navigatorBackStack)
val bundle = navigatorStateToRestore.getBundle(name)
if (bundle != null) {
navigator.onRestoreState(bundle)
@@ -622,6 +650,13 @@
}
}
}
+ // Mark all other Navigators as attached
+ _navigatorProvider.navigators.values.filterNot { it.isAttached }.forEach { navigator ->
+ val navigatorBackStack = navigatorState.getOrPut(navigator) {
+ NavControllerNavigatorState(navigator)
+ }
+ navigator.onAttach(navigatorBackStack)
+ }
backStackToRestore?.let { backStackToRestore ->
for (parcelable in backStackToRestore) {
val state = parcelable as NavBackStackEntryState
@@ -637,7 +672,12 @@
)
}
val entry = state.instantiate(context, node, lifecycleOwner, viewModel)
+ val navigator = _navigatorProvider.getNavigator<Navigator<*>>(node.navigatorName)
+ val navigatorBackStack = checkNotNull(navigatorState[navigator]) {
+ "NavigatorBackStack for ${node.navigatorName} should already be created"
+ }
backQueue.add(entry)
+ navigatorBackStack.add(entry)
}
updateOnBackPressedCallbackEnabled()
this.backStackToRestore = null
diff --git a/navigation/navigation-safe-args-generator/lint-baseline.xml b/navigation/navigation-safe-args-generator/lint-baseline.xml
index 297ae16..8794ae8 100644
--- a/navigation/navigation-safe-args-generator/lint-baseline.xml
+++ b/navigation/navigation-safe-args-generator/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
</issues>
diff --git a/navigation/navigation-safe-args-gradle-plugin/lint-baseline.xml b/navigation/navigation-safe-args-gradle-plugin/lint-baseline.xml
index 297ae16..8794ae8 100644
--- a/navigation/navigation-safe-args-gradle-plugin/lint-baseline.xml
+++ b/navigation/navigation-safe-args-gradle-plugin/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
</issues>
diff --git a/navigation/navigation-testing/api/current.txt b/navigation/navigation-testing/api/current.txt
index 9e8e4f8..f9ce0d4 100644
--- a/navigation/navigation-testing/api/current.txt
+++ b/navigation/navigation-testing/api/current.txt
@@ -9,5 +9,10 @@
property public final java.util.List<androidx.navigation.NavBackStackEntry> backStack;
}
+ public final class TestNavigatorState extends androidx.navigation.NavigatorState {
+ ctor public TestNavigatorState(optional android.content.Context? context);
+ method public androidx.navigation.NavBackStackEntry createBackStackEntry(androidx.navigation.NavDestination destination, android.os.Bundle? arguments);
+ }
+
}
diff --git a/navigation/navigation-testing/api/public_plus_experimental_current.txt b/navigation/navigation-testing/api/public_plus_experimental_current.txt
index 9e8e4f8..f9ce0d4 100644
--- a/navigation/navigation-testing/api/public_plus_experimental_current.txt
+++ b/navigation/navigation-testing/api/public_plus_experimental_current.txt
@@ -9,5 +9,10 @@
property public final java.util.List<androidx.navigation.NavBackStackEntry> backStack;
}
+ public final class TestNavigatorState extends androidx.navigation.NavigatorState {
+ ctor public TestNavigatorState(optional android.content.Context? context);
+ method public androidx.navigation.NavBackStackEntry createBackStackEntry(androidx.navigation.NavDestination destination, android.os.Bundle? arguments);
+ }
+
}
diff --git a/navigation/navigation-testing/api/restricted_current.txt b/navigation/navigation-testing/api/restricted_current.txt
index 9e8e4f8..f9ce0d4 100644
--- a/navigation/navigation-testing/api/restricted_current.txt
+++ b/navigation/navigation-testing/api/restricted_current.txt
@@ -9,5 +9,10 @@
property public final java.util.List<androidx.navigation.NavBackStackEntry> backStack;
}
+ public final class TestNavigatorState extends androidx.navigation.NavigatorState {
+ ctor public TestNavigatorState(optional android.content.Context? context);
+ method public androidx.navigation.NavBackStackEntry createBackStackEntry(androidx.navigation.NavDestination destination, android.os.Bundle? arguments);
+ }
+
}
diff --git a/navigation/navigation-testing/build.gradle b/navigation/navigation-testing/build.gradle
index fb8d4a05..139c664 100644
--- a/navigation/navigation-testing/build.gradle
+++ b/navigation/navigation-testing/build.gradle
@@ -29,6 +29,7 @@
dependencies {
api(project(":navigation:navigation-runtime"))
+ api("androidx.lifecycle:lifecycle-runtime-testing:2.3.1")
androidTestImplementation(project(":internal-testutils-navigation"), {
exclude group: "androidx.navigation", module: "navigation-common"
diff --git a/navigation/navigation-testing/lint-baseline.xml b/navigation/navigation-testing/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/navigation/navigation-testing/lint-baseline.xml
+++ b/navigation/navigation-testing/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/navigation/navigation-testing/src/main/java/androidx/navigation/testing/TestNavigatorState.kt b/navigation/navigation-testing/src/main/java/androidx/navigation/testing/TestNavigatorState.kt
new file mode 100644
index 0000000..d91c6d2
--- /dev/null
+++ b/navigation/navigation-testing/src/main/java/androidx/navigation/testing/TestNavigatorState.kt
@@ -0,0 +1,61 @@
+/*
+ * Copyright 2021 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package androidx.navigation.testing
+
+import android.content.Context
+import android.os.Bundle
+import androidx.lifecycle.Lifecycle
+import androidx.lifecycle.LifecycleOwner
+import androidx.lifecycle.ViewModelStore
+import androidx.lifecycle.testing.TestLifecycleOwner
+import androidx.navigation.NavBackStackEntry
+import androidx.navigation.NavDestination
+import androidx.navigation.NavViewModelStoreProvider
+import androidx.navigation.NavigatorState
+import java.util.UUID
+
+/**
+ * An implementation of [NavigatorState] that allows testing a
+ * [androidx.navigation.Navigator] in isolation (i.e., without requiring a
+ * [androidx.navigation.NavController]).
+ *
+ * An optional [context] can be provided to allow for the usages of
+ * [androidx.lifecycle.AndroidViewModel] within the created [NavBackStackEntry]
+ * instances.
+ */
+public class TestNavigatorState @JvmOverloads constructor(
+ private val context: Context? = null
+) : NavigatorState() {
+
+ private val lifecycleOwner: LifecycleOwner = TestLifecycleOwner(Lifecycle.State.RESUMED)
+
+ private val viewModelStoreProvider = object : NavViewModelStoreProvider {
+ private val viewModelStores = mutableMapOf<UUID, ViewModelStore>()
+ override fun getViewModelStore(
+ backStackEntryUUID: UUID
+ ) = viewModelStores.getOrPut(backStackEntryUUID) {
+ ViewModelStore()
+ }
+ }
+
+ override fun createBackStackEntry(
+ destination: NavDestination,
+ arguments: Bundle?
+ ): NavBackStackEntry = NavBackStackEntry.create(
+ context, destination, arguments, lifecycleOwner, viewModelStoreProvider
+ )
+}
diff --git a/navigation/navigation-ui-ktx/lint-baseline.xml b/navigation/navigation-ui-ktx/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/navigation/navigation-ui-ktx/lint-baseline.xml
+++ b/navigation/navigation-ui-ktx/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/navigation/navigation-ui/lint-baseline.xml b/navigation/navigation-ui/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/navigation/navigation-ui/lint-baseline.xml
+++ b/navigation/navigation-ui/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/paging/common/ktx/lint-baseline.xml b/paging/common/ktx/lint-baseline.xml
index 297ae16..8794ae8 100644
--- a/paging/common/ktx/lint-baseline.xml
+++ b/paging/common/ktx/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
</issues>
diff --git a/paging/guava/lint-baseline.xml b/paging/guava/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/paging/guava/lint-baseline.xml
+++ b/paging/guava/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/paging/integration-tests/testapp/lint-baseline.xml b/paging/integration-tests/testapp/lint-baseline.xml
index 3deda18..db0a0a1 100644
--- a/paging/integration-tests/testapp/lint-baseline.xml
+++ b/paging/integration-tests/testapp/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="UnusedResources"
diff --git a/paging/runtime/ktx/lint-baseline.xml b/paging/runtime/ktx/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/paging/runtime/ktx/lint-baseline.xml
+++ b/paging/runtime/ktx/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/paging/runtime/lint-baseline.xml b/paging/runtime/lint-baseline.xml
index 28704b3..d8e022b 100644
--- a/paging/runtime/lint-baseline.xml
+++ b/paging/runtime/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="RestrictedApi"
diff --git a/paging/rxjava2/ktx/lint-baseline.xml b/paging/rxjava2/ktx/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/paging/rxjava2/ktx/lint-baseline.xml
+++ b/paging/rxjava2/ktx/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/paging/rxjava2/lint-baseline.xml b/paging/rxjava2/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/paging/rxjava2/lint-baseline.xml
+++ b/paging/rxjava2/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/paging/rxjava3/lint-baseline.xml b/paging/rxjava3/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/paging/rxjava3/lint-baseline.xml
+++ b/paging/rxjava3/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/paging/samples/lint-baseline.xml b/paging/samples/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/paging/samples/lint-baseline.xml
+++ b/paging/samples/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/palette/palette-ktx/lint-baseline.xml b/palette/palette-ktx/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/palette/palette-ktx/lint-baseline.xml
+++ b/palette/palette-ktx/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/palette/palette/lint-baseline.xml b/palette/palette/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/palette/palette/lint-baseline.xml
+++ b/palette/palette/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/percentlayout/percentlayout/lint-baseline.xml b/percentlayout/percentlayout/lint-baseline.xml
index 957bf3c..358f41a 100644
--- a/percentlayout/percentlayout/lint-baseline.xml
+++ b/percentlayout/percentlayout/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="UnknownNullness"
diff --git a/preference/preference-ktx/lint-baseline.xml b/preference/preference-ktx/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/preference/preference-ktx/lint-baseline.xml
+++ b/preference/preference-ktx/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/preference/preference/lint-baseline.xml b/preference/preference/lint-baseline.xml
index 99fcd2a..244ddad2 100644
--- a/preference/preference/lint-baseline.xml
+++ b/preference/preference/lint-baseline.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.preference.PreferenceCategory 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.preference.PreferenceCategory is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" holder.itemView.setAccessibilityHeading(true);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -679,7 +679,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/preference/EditTextPreferenceDialogFragmentCompat.java"
- line="36"
+ line="48"
column="19"/>
</issue>
@@ -690,7 +690,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/preference/EditTextPreferenceDialogFragmentCompat.java"
- line="36"
+ line="48"
column="70"/>
</issue>
@@ -701,7 +701,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/preference/EditTextPreferenceDialogFragmentCompat.java"
- line="46"
+ line="58"
column="26"/>
</issue>
@@ -712,7 +712,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/preference/EditTextPreferenceDialogFragmentCompat.java"
- line="62"
+ line="74"
column="37"/>
</issue>
@@ -2318,7 +2318,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/preference/PreferenceDialogFragment.java"
- line="256"
+ line="255"
column="15"/>
</issue>
@@ -2329,7 +2329,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/preference/PreferenceDialogFragment.java"
- line="256"
+ line="255"
column="39"/>
</issue>
@@ -2340,7 +2340,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/preference/PreferenceDialogFragment.java"
- line="276"
+ line="275"
column="37"/>
</issue>
@@ -2351,7 +2351,7 @@
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/preference/PreferenceDialogFragment.java"
- line="302"
+ line="301"
column="25"/>
</issue>
@@ -2362,7 +2362,7 @@
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/preference/PreferenceDialogFragment.java"
- line="307"
+ line="306"
column="27"/>
</issue>
@@ -2373,7 +2373,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/preference/PreferenceDialogFragmentCompat.java"
- line="79"
+ line="78"
column="26"/>
</issue>
@@ -2384,7 +2384,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/preference/PreferenceDialogFragmentCompat.java"
- line="140"
+ line="139"
column="27"/>
</issue>
@@ -2395,7 +2395,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/preference/PreferenceDialogFragmentCompat.java"
- line="174"
+ line="173"
column="12"/>
</issue>
@@ -2406,7 +2406,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/preference/PreferenceDialogFragmentCompat.java"
- line="190"
+ line="189"
column="43"/>
</issue>
@@ -2417,7 +2417,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/preference/PreferenceDialogFragmentCompat.java"
- line="233"
+ line="242"
column="15"/>
</issue>
@@ -2428,7 +2428,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/preference/PreferenceDialogFragmentCompat.java"
- line="233"
+ line="242"
column="39"/>
</issue>
@@ -2439,7 +2439,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/preference/PreferenceDialogFragmentCompat.java"
- line="249"
+ line="258"
column="37"/>
</issue>
@@ -2450,7 +2450,7 @@
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/preference/PreferenceDialogFragmentCompat.java"
- line="271"
+ line="280"
column="25"/>
</issue>
diff --git a/print/print/lint-baseline.xml b/print/print/lint-baseline.xml
index 0e14fa8..9f73e72 100644
--- a/print/print/lint-baseline.xml
+++ b/print/print/lint-baseline.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.print.PrintHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.print.PrintHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" PrintAttributes attr = new PrintAttributes.Builder()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -13,8 +13,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.print.PrintHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.print.PrintHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setMediaSize(mediaSize)"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -24,8 +24,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.print.PrintHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.print.PrintHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setColorMode(mColorMode)"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -35,8 +35,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.print.PrintHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.print.PrintHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .build();"
errorLine2=" ~~~~~">
<location
@@ -46,8 +46,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.print.PrintHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.print.PrintHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" printManager.print(jobName,"
errorLine2=" ~~~~~">
<location
@@ -57,8 +57,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.print.PrintHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.print.PrintHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" PrintAttributes.Builder builder = new PrintAttributes.Builder();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -68,8 +68,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.print.PrintHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.print.PrintHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" builder.setColorMode(mColorMode);"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -79,8 +79,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.print.PrintHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.print.PrintHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" builder.setMediaSize(PrintAttributes.MediaSize.UNKNOWN_LANDSCAPE);"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -90,8 +90,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.print.PrintHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.print.PrintHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" builder.setMediaSize(PrintAttributes.MediaSize.UNKNOWN_PORTRAIT);"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -101,8 +101,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.print.PrintHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.print.PrintHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" PrintAttributes attr = builder.build();"
errorLine2=" ~~~~~">
<location
@@ -112,8 +112,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.print.PrintHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.print.PrintHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" printManager.print(jobName, printDocumentAdapter, attr);"
errorLine2=" ~~~~~">
<location
@@ -123,8 +123,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" cancellationSignal.setOnCancelListener("
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
@@ -134,8 +134,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mediaSize = mAttributes.getMediaSize();"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -145,8 +145,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (mediaSize.isPortrait() != isPortrait(bitmap)) {"
errorLine2=" ~~~~~~~~~~">
<location
@@ -156,8 +156,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" PrintDocumentInfo info = new PrintDocumentInfo.Builder(mJobName)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -167,8 +167,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setContentType(PrintDocumentInfo.CONTENT_TYPE_PHOTO)"
errorLine2=" ~~~~~~~~~~~~~~">
<location
@@ -178,8 +178,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setPageCount(1)"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -189,8 +189,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .build();"
errorLine2=" ~~~~~">
<location
@@ -200,8 +200,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" layoutResultCallback.onLayoutFinished(info, changed);"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -211,8 +211,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" layoutResultCallback.onLayoutFailed(null);"
errorLine2=" ~~~~~~~~~~~~~~">
<location
@@ -222,8 +222,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" layoutResultCallback.onLayoutCancelled();"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -233,8 +233,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.print.PrintHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.print.PrintHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" PrintAttributes.Builder b = new PrintAttributes.Builder()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -244,8 +244,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.print.PrintHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.print.PrintHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setMediaSize(other.getMediaSize())"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -255,8 +255,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.print.PrintHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.print.PrintHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setMediaSize(other.getMediaSize())"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -266,8 +266,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.print.PrintHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.print.PrintHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setResolution(other.getResolution())"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -277,8 +277,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.print.PrintHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.print.PrintHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setResolution(other.getResolution())"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -288,8 +288,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.print.PrintHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.print.PrintHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setMinMargins(other.getMinMargins());"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -299,8 +299,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.print.PrintHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.print.PrintHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setMinMargins(other.getMinMargins());"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -310,8 +310,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.print.PrintHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.print.PrintHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (other.getColorMode() != 0) {"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -321,8 +321,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.print.PrintHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.print.PrintHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" b.setColorMode(other.getColorMode());"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -332,8 +332,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.print.PrintHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.print.PrintHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" b.setColorMode(other.getColorMode());"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -343,8 +343,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.print.PrintHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.print.PrintHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (other.getDuplexMode() != 0) {"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -354,8 +354,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.print.PrintHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.print.PrintHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" b.setDuplexMode(other.getDuplexMode());"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -365,8 +365,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.print.PrintHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.print.PrintHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" b.setDuplexMode(other.getDuplexMode());"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -376,8 +376,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.print.PrintHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.print.PrintHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setMinMargins(new PrintAttributes.Margins(0, 0, 0, 0)).build();"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -387,8 +387,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.print.PrintHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.print.PrintHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setMinMargins(new PrintAttributes.Margins(0, 0, 0, 0)).build();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -398,8 +398,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.print.PrintHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.print.PrintHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setMinMargins(new PrintAttributes.Margins(0, 0, 0, 0)).build();"
errorLine2=" ~~~~~">
<location
@@ -409,8 +409,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (cancellationSignal.isCanceled()) {"
errorLine2=" ~~~~~~~~~~">
<location
@@ -420,8 +420,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" PrintedPdfDocument pdfDocument = new PrintedPdfDocument(mContext,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -431,8 +431,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" pdfAttributes.getColorMode());"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -442,8 +442,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (cancellationSignal.isCanceled()) {"
errorLine2=" ~~~~~~~~~~">
<location
@@ -453,8 +453,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" PdfDocument.Page page = pdfDocument.startPage(1);"
errorLine2=" ~~~~~~~~~">
<location
@@ -464,8 +464,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" contentRect = new RectF(page.getInfo().getContentRect());"
errorLine2=" ~~~~~~~">
<location
@@ -475,8 +475,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" contentRect = new RectF(page.getInfo().getContentRect());"
errorLine2=" ~~~~~~~~~~~~~~">
<location
@@ -486,8 +486,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" PrintedPdfDocument dummyDocument = new PrintedPdfDocument(mContext,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -497,8 +497,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" PdfDocument.Page dummyPage = dummyDocument.startPage(1);"
errorLine2=" ~~~~~~~~~">
<location
@@ -508,8 +508,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" contentRect = new RectF(dummyPage.getInfo().getContentRect());"
errorLine2=" ~~~~~~~">
<location
@@ -519,8 +519,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" contentRect = new RectF(dummyPage.getInfo().getContentRect());"
errorLine2=" ~~~~~~~~~~~~~~">
<location
@@ -530,8 +530,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" dummyDocument.finishPage(dummyPage);"
errorLine2=" ~~~~~~~~~~">
<location
@@ -541,8 +541,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" dummyDocument.close();"
errorLine2=" ~~~~~">
<location
@@ -552,8 +552,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" page.getCanvas().clipRect(contentRect);"
errorLine2=" ~~~~~~~~~">
<location
@@ -563,8 +563,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" page.getCanvas().drawBitmap(maybeGrayscale, matrix, null);"
errorLine2=" ~~~~~~~~~">
<location
@@ -574,8 +574,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" pdfDocument.finishPage(page);"
errorLine2=" ~~~~~~~~~~">
<location
@@ -585,8 +585,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (cancellationSignal.isCanceled()) {"
errorLine2=" ~~~~~~~~~~">
<location
@@ -596,8 +596,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" pdfDocument.writeTo("
errorLine2=" ~~~~~~~">
<location
@@ -607,8 +607,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" pdfDocument.close();"
errorLine2=" ~~~~~">
<location
@@ -618,8 +618,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (cancellationSignal.isCanceled()) {"
errorLine2=" ~~~~~~~~~~">
<location
@@ -629,8 +629,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" writeResultCallback.onWriteCancelled();"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -640,8 +640,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" writeResultCallback.onWriteFinished("
errorLine2=" ~~~~~~~~~~~~~~~">
<location
@@ -651,8 +651,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" writeResultCallback.onWriteFailed(null);"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -662,8 +662,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.print.PrintHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.print.PrintHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mDecodeOptions.inPreferredColorSpace = ColorSpace.get(ColorSpace.Named.SRGB);"
errorLine2=" ~~~">
<location
diff --git a/profileinstaller/OWNERS b/profileinstaller/OWNERS
new file mode 100644
index 0000000..465cf95
--- /dev/null
+++ b/profileinstaller/OWNERS
@@ -0,0 +1,2 @@
+seanmcq@google.com
+lelandr@google.com
diff --git a/profileinstaller/profileinstaller/api/current.txt b/profileinstaller/profileinstaller/api/current.txt
new file mode 100644
index 0000000..e6f50d0
--- /dev/null
+++ b/profileinstaller/profileinstaller/api/current.txt
@@ -0,0 +1 @@
+// Signature format: 4.0
diff --git a/profileinstaller/profileinstaller/api/public_plus_experimental_current.txt b/profileinstaller/profileinstaller/api/public_plus_experimental_current.txt
new file mode 100644
index 0000000..e6f50d0
--- /dev/null
+++ b/profileinstaller/profileinstaller/api/public_plus_experimental_current.txt
@@ -0,0 +1 @@
+// Signature format: 4.0
diff --git a/profileinstaller/profileinstaller/api/res-current.txt b/profileinstaller/profileinstaller/api/res-current.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/profileinstaller/profileinstaller/api/res-current.txt
diff --git a/profileinstaller/profileinstaller/api/restricted_current.txt b/profileinstaller/profileinstaller/api/restricted_current.txt
new file mode 100644
index 0000000..e6f50d0
--- /dev/null
+++ b/profileinstaller/profileinstaller/api/restricted_current.txt
@@ -0,0 +1 @@
+// Signature format: 4.0
diff --git a/profileinstaller/profileinstaller/build.gradle b/profileinstaller/profileinstaller/build.gradle
new file mode 100644
index 0000000..496a2d2
--- /dev/null
+++ b/profileinstaller/profileinstaller/build.gradle
@@ -0,0 +1,39 @@
+/*
+ * Copyright (C) 2021 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+import static androidx.build.dependencies.DependenciesKt.*
+import androidx.build.LibraryGroups
+import androidx.build.LibraryType
+import androidx.build.LibraryVersions
+
+plugins {
+ id("AndroidXPlugin")
+ id("com.android.library")
+}
+
+dependencies {
+ annotationProcessor(NULLAWAY)
+ // Add dependencies here
+}
+
+androidx {
+ name = "androidx.profile-installer:profile-installer"
+ type = LibraryType.PUBLISHED_LIBRARY
+ mavenVersion = LibraryVersions.PROFILEINSTALLER
+ mavenGroup = LibraryGroups.PROFILEINSTALLER
+ inceptionYear = "2021"
+ description = "Allows libraries to preopoulate ahead of time compilation traces to be read by" +
+ " ART"
+}
diff --git a/profileinstaller/profileinstaller/src/androidTest/AndroidManifest.xml b/profileinstaller/profileinstaller/src/androidTest/AndroidManifest.xml
new file mode 100644
index 0000000..43fa506
--- /dev/null
+++ b/profileinstaller/profileinstaller/src/androidTest/AndroidManifest.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright 2021 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="androidx.profileinstaller.test">
+
+</manifest>
diff --git a/profileinstaller/profileinstaller/src/main/AndroidManifest.xml b/profileinstaller/profileinstaller/src/main/AndroidManifest.xml
new file mode 100644
index 0000000..b1fcdcd
--- /dev/null
+++ b/profileinstaller/profileinstaller/src/main/AndroidManifest.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright 2021 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="androidx.profileinstaller">
+
+</manifest>
\ No newline at end of file
diff --git a/profileinstaller/profileinstaller/src/main/java/androidx/profileinstaller/package-info.java b/profileinstaller/profileinstaller/src/main/java/androidx/profileinstaller/package-info.java
new file mode 100644
index 0000000..83076bf
--- /dev/null
+++ b/profileinstaller/profileinstaller/src/main/java/androidx/profileinstaller/package-info.java
@@ -0,0 +1,24 @@
+/*
+ * Copyright (C) 2021 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * Small runtime library to install profile traces that are bundled in an APK such that art may
+ * use them to ahead of time compile libraries.
+ *
+ * This allows unbundled libraries to achieve similar performance as bundled code without waiting
+ * for just in time compilation.
+ */
+package androidx.profileinstaller;
diff --git a/recommendation/recommendation/lint-baseline.xml b/recommendation/recommendation/lint-baseline.xml
index 1ef835f..9106d21 100644
--- a/recommendation/recommendation/lint-baseline.xml
+++ b/recommendation/recommendation/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="UnknownNullness"
diff --git a/recyclerview/recyclerview-benchmark/lint-baseline.xml b/recyclerview/recyclerview-benchmark/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/recyclerview/recyclerview-benchmark/lint-baseline.xml
+++ b/recyclerview/recyclerview-benchmark/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/recyclerview/recyclerview-lint/lint-baseline.xml b/recyclerview/recyclerview-lint/lint-baseline.xml
index 297ae16..8794ae8 100644
--- a/recyclerview/recyclerview-lint/lint-baseline.xml
+++ b/recyclerview/recyclerview-lint/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
</issues>
diff --git a/recyclerview/recyclerview-selection/lint-baseline.xml b/recyclerview/recyclerview-selection/lint-baseline.xml
index 15af4d4..b0dc212 100644
--- a/recyclerview/recyclerview-selection/lint-baseline.xml
+++ b/recyclerview/recyclerview-selection/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="BanSynchronizedMethods"
diff --git a/recyclerview/recyclerview/lint-baseline.xml b/recyclerview/recyclerview/lint-baseline.xml
index 09b78bd..fe668a0 100644
--- a/recyclerview/recyclerview/lint-baseline.xml
+++ b/recyclerview/recyclerview/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="BanSynchronizedMethods"
@@ -63,7 +63,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="7412"
+ line="7406"
column="30"/>
</issue>
@@ -74,7 +74,7 @@
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="11779"
+ line="11773"
column="27"/>
</issue>
@@ -2153,7 +2153,7 @@
errorLine2=" ~~~~~~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="5931"
+ line="5921"
column="37"/>
</issue>
@@ -2164,7 +2164,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="8151"
+ line="8145"
column="42"/>
</issue>
@@ -2175,7 +2175,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="8175"
+ line="8169"
column="44"/>
</issue>
@@ -2186,7 +2186,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="8211"
+ line="8205"
column="47"/>
</issue>
@@ -2197,7 +2197,7 @@
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="8390"
+ line="8384"
column="70"/>
</issue>
@@ -2208,7 +2208,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="8391"
+ line="8385"
column="17"/>
</issue>
@@ -2219,7 +2219,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="8419"
+ line="8413"
column="17"/>
</issue>
@@ -2230,7 +2230,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="8452"
+ line="8446"
column="37"/>
</issue>
@@ -2241,7 +2241,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="8470"
+ line="8464"
column="40"/>
</issue>
@@ -2252,7 +2252,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="8491"
+ line="8485"
column="40"/>
</issue>
@@ -2263,7 +2263,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="8498"
+ line="8492"
column="42"/>
</issue>
@@ -2274,7 +2274,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="8525"
+ line="8519"
column="42"/>
</issue>
@@ -2285,7 +2285,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="8525"
+ line="8519"
column="61"/>
</issue>
@@ -2296,7 +2296,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="8589"
+ line="8583"
column="38"/>
</issue>
@@ -2307,7 +2307,7 @@
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="8589"
+ line="8583"
column="57"/>
</issue>
@@ -2318,7 +2318,7 @@
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="8604"
+ line="8598"
column="39"/>
</issue>
@@ -2329,7 +2329,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="8622"
+ line="8616"
column="25"/>
</issue>
@@ -2340,7 +2340,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="8634"
+ line="8628"
column="42"/>
</issue>
@@ -2351,7 +2351,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="8651"
+ line="8645"
column="16"/>
</issue>
@@ -2362,7 +2362,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="8651"
+ line="8645"
column="50"/>
</issue>
@@ -2373,7 +2373,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="8675"
+ line="8669"
column="16"/>
</issue>
@@ -2384,7 +2384,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="8675"
+ line="8669"
column="50"/>
</issue>
@@ -2395,7 +2395,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="8675"
+ line="8669"
column="61"/>
</issue>
@@ -2406,7 +2406,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="8692"
+ line="8686"
column="49"/>
</issue>
@@ -2417,7 +2417,7 @@
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="8692"
+ line="8686"
column="68"/>
</issue>
@@ -2428,7 +2428,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="8709"
+ line="8703"
column="47"/>
</issue>
@@ -2439,7 +2439,7 @@
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="8709"
+ line="8703"
column="66"/>
</issue>
@@ -2450,7 +2450,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="8756"
+ line="8750"
column="44"/>
</issue>
@@ -2461,7 +2461,7 @@
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="8756"
+ line="8750"
column="71"/>
</issue>
@@ -2472,7 +2472,7 @@
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="8771"
+ line="8765"
column="39"/>
</issue>
@@ -2483,7 +2483,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="8805"
+ line="8799"
column="34"/>
</issue>
@@ -2494,7 +2494,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="8824"
+ line="8818"
column="41"/>
</issue>
@@ -2505,7 +2505,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="8842"
+ line="8836"
column="41"/>
</issue>
@@ -2516,7 +2516,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="8853"
+ line="8847"
column="29"/>
</issue>
@@ -2527,7 +2527,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="8865"
+ line="8859"
column="29"/>
</issue>
@@ -2538,7 +2538,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="8931"
+ line="8925"
column="32"/>
</issue>
@@ -2549,7 +2549,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="9108"
+ line="9102"
column="64"/>
</issue>
@@ -2560,7 +2560,7 @@
errorLine2=" ~~~~~~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="10590"
+ line="10584"
column="44"/>
</issue>
@@ -2571,7 +2571,7 @@
errorLine2=" ~~~~~~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="10908"
+ line="10902"
column="23"/>
</issue>
@@ -2582,7 +2582,7 @@
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="11933"
+ line="11927"
column="31"/>
</issue>
@@ -2593,7 +2593,7 @@
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="11940"
+ line="11934"
column="31"/>
</issue>
@@ -2604,7 +2604,7 @@
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="11947"
+ line="11941"
column="31"/>
</issue>
@@ -2615,7 +2615,7 @@
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="11953"
+ line="11947"
column="60"/>
</issue>
@@ -2626,7 +2626,7 @@
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="11953"
+ line="11947"
column="76"/>
</issue>
@@ -2637,7 +2637,7 @@
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="11958"
+ line="11952"
column="60"/>
</issue>
@@ -2648,7 +2648,7 @@
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="11958"
+ line="11952"
column="76"/>
</issue>
@@ -2659,7 +2659,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="11989"
+ line="11983"
column="29"/>
</issue>
@@ -2670,7 +2670,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="11989"
+ line="11983"
column="40"/>
</issue>
@@ -2681,7 +2681,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="11997"
+ line="11991"
column="29"/>
</issue>
@@ -2692,7 +2692,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="12001"
+ line="11995"
column="29"/>
</issue>
@@ -2703,7 +2703,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="12005"
+ line="11999"
column="29"/>
</issue>
@@ -2714,7 +2714,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="12359"
+ line="12353"
column="37"/>
</issue>
@@ -2725,7 +2725,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="12373"
+ line="12367"
column="16"/>
</issue>
@@ -2736,7 +2736,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="12386"
+ line="12380"
column="48"/>
</issue>
@@ -2747,7 +2747,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="12738"
+ line="12732"
column="35"/>
</issue>
@@ -2758,7 +2758,7 @@
errorLine2=" ~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="12951"
+ line="12945"
column="20"/>
</issue>
@@ -2769,7 +2769,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"
- line="12966"
+ line="12960"
column="41"/>
</issue>
diff --git a/remotecallback/processor/lint-baseline.xml b/remotecallback/processor/lint-baseline.xml
index afb7aad..2b20e46 100644
--- a/remotecallback/processor/lint-baseline.xml
+++ b/remotecallback/processor/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
<issue
id="BanSynchronizedMethods"
diff --git a/remotecallback/remotecallback/lint-baseline.xml b/remotecallback/remotecallback/lint-baseline.xml
index 801e281..0f06786 100644
--- a/remotecallback/remotecallback/lint-baseline.xml
+++ b/remotecallback/remotecallback/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="LambdaLast"
diff --git a/resourceinspection/resourceinspection-processor/lint-baseline.xml b/resourceinspection/resourceinspection-processor/lint-baseline.xml
index 297ae16..8794ae8 100644
--- a/resourceinspection/resourceinspection-processor/lint-baseline.xml
+++ b/resourceinspection/resourceinspection-processor/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
</issues>
diff --git a/room/benchmark/lint-baseline.xml b/room/benchmark/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/room/benchmark/lint-baseline.xml
+++ b/room/benchmark/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/room/common/lint-baseline.xml b/room/common/lint-baseline.xml
index 2d192b4..dbe3c4a 100644
--- a/room/common/lint-baseline.xml
+++ b/room/common/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
<issue
id="UnknownNullness"
diff --git a/room/compiler-processing-testing/lint-baseline.xml b/room/compiler-processing-testing/lint-baseline.xml
index 297ae16..8794ae8 100644
--- a/room/compiler-processing-testing/lint-baseline.xml
+++ b/room/compiler-processing-testing/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
</issues>
diff --git a/room/compiler-processing/lint-baseline.xml b/room/compiler-processing/lint-baseline.xml
index 297ae16..8794ae8 100644
--- a/room/compiler-processing/lint-baseline.xml
+++ b/room/compiler-processing/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
</issues>
diff --git a/room/compiler/lint-baseline.xml b/room/compiler/lint-baseline.xml
index 297ae16..8794ae8 100644
--- a/room/compiler/lint-baseline.xml
+++ b/room/compiler/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
</issues>
diff --git a/room/guava/lint-baseline.xml b/room/guava/lint-baseline.xml
index 0e379ad..0da24db 100644
--- a/room/guava/lint-baseline.xml
+++ b/room/guava/lint-baseline.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" cancellationSignal.cancel();"
errorLine2=" ~~~~~~">
<location
diff --git a/room/integration-tests/autovaluetestapp/lint-baseline.xml b/room/integration-tests/autovaluetestapp/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/room/integration-tests/autovaluetestapp/lint-baseline.xml
+++ b/room/integration-tests/autovaluetestapp/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/room/integration-tests/incremental-annotation-processing/lint-baseline.xml b/room/integration-tests/incremental-annotation-processing/lint-baseline.xml
index 297ae16..8794ae8 100644
--- a/room/integration-tests/incremental-annotation-processing/lint-baseline.xml
+++ b/room/integration-tests/incremental-annotation-processing/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
</issues>
diff --git a/room/integration-tests/kotlintestapp/lint-baseline.xml b/room/integration-tests/kotlintestapp/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/room/integration-tests/kotlintestapp/lint-baseline.xml
+++ b/room/integration-tests/kotlintestapp/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/room/integration-tests/noappcompattestapp/lint-baseline.xml b/room/integration-tests/noappcompattestapp/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/room/integration-tests/noappcompattestapp/lint-baseline.xml
+++ b/room/integration-tests/noappcompattestapp/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/room/integration-tests/testapp/lint-baseline.xml b/room/integration-tests/testapp/lint-baseline.xml
index 63245b8..9d71701 100644
--- a/room/integration-tests/testapp/lint-baseline.xml
+++ b/room/integration-tests/testapp/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="SyntheticAccessor"
diff --git a/room/ktx/lint-baseline.xml b/room/ktx/lint-baseline.xml
index ec57c82..3a6ad8b 100644
--- a/room/ktx/lint-baseline.xml
+++ b/room/ktx/lint-baseline.xml
@@ -1,25 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.room.CoroutinesRoom 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.room.CoroutinesRoom is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" cancellationSignal.cancel()"
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/room/CoroutinesRoom.kt"
- line="91"
+ line="93"
column="44"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.room.CoroutinesRoom.Companion 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.room.CoroutinesRoom.Companion is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" cancellationSignal.cancel()"
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/room/CoroutinesRoom.kt"
- line="91"
+ line="93"
column="44"/>
</issue>
diff --git a/room/migration/lint-baseline.xml b/room/migration/lint-baseline.xml
index dd34c17..5ee09e3 100644
--- a/room/migration/lint-baseline.xml
+++ b/room/migration/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
<issue
id="UnknownNullness"
@@ -866,7 +866,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/room/migration/bundle/IndexBundle.java"
- line="43"
+ line="44"
column="24"/>
</issue>
@@ -877,7 +877,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/room/migration/bundle/IndexBundle.java"
- line="43"
+ line="44"
column="53"/>
</issue>
@@ -888,7 +888,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/room/migration/bundle/IndexBundle.java"
- line="44"
+ line="45"
column="13"/>
</issue>
@@ -899,7 +899,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/room/migration/bundle/IndexBundle.java"
- line="51"
+ line="52"
column="12"/>
</issue>
@@ -910,41 +910,41 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/room/migration/bundle/IndexBundle.java"
- line="59"
+ line="60"
column="12"/>
</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 String create(String tableName) {"
+ errorLine1=" public String getCreateSql(String tableName) {"
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/room/migration/bundle/IndexBundle.java"
- line="67"
+ line="68"
column="12"/>
</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 String create(String tableName) {"
- errorLine2=" ~~~~~~">
+ errorLine1=" public String getCreateSql(String tableName) {"
+ errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/room/migration/bundle/IndexBundle.java"
- line="67"
- column="26"/>
+ line="68"
+ column="32"/>
</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 boolean isSchemaEqual(IndexBundle other) {"
- errorLine2=" ~~~~~~~~~~~">
+ errorLine1=" public String create(@NonNull String tableName) {"
+ errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/room/migration/bundle/IndexBundle.java"
- line="72"
- column="34"/>
+ line="76"
+ column="12"/>
</issue>
<issue
diff --git a/room/runtime/build.gradle b/room/runtime/build.gradle
index 53f0fc8..a20e760 100644
--- a/room/runtime/build.gradle
+++ b/room/runtime/build.gradle
@@ -73,7 +73,7 @@
project.tasks.create(name: "jar${suffix}", type: Jar){
dependsOn(variant.javaCompileProvider.get())
from(variant.javaCompileProvider.get().destinationDir)
- destinationDir(new File(project.buildDir, "libJar"))
+ destinationDirectory.fileValue(new File(project.buildDir, "libJar"))
}
}
diff --git a/room/runtime/lint-baseline.xml b/room/runtime/lint-baseline.xml
index 2a629e8..e2490e3 100644
--- a/room/runtime/lint-baseline.xml
+++ b/room/runtime/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="BanSynchronizedMethods"
@@ -57,19 +57,52 @@
</issue>
<issue
- id="PrivateConstructorForUtilityClass"
- message="Utility class with non private constructor"
- errorLine1="public class Room {"
- errorLine2=" ~~~~">
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.room.AutoClosingRoomOpenHelper.KeepAliveCursor is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mDelegate.setNotificationUris(cr, uris);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/androidx/room/Room.java"
- line="27"
- column="14"/>
+ file="src/main/java/androidx/room/AutoClosingRoomOpenHelper.java"
+ line="706"
+ column="23"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.room.util.DBUtil 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.room.AutoClosingRoomOpenHelper.KeepAliveCursor is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mDelegate.getNotificationUri();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/room/AutoClosingRoomOpenHelper.java"
+ line="713"
+ column="30"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.room.AutoClosingRoomOpenHelper.KeepAliveCursor is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" return mDelegate.getNotificationUris();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/room/AutoClosingRoomOpenHelper.java"
+ line="721"
+ column="30"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.room.AutoClosingRoomOpenHelper.KeepAliveCursor is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mDelegate.setExtras(extras);"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/room/AutoClosingRoomOpenHelper.java"
+ line="733"
+ column="23"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.room.util.DBUtil is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return new CancellationSignal();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -79,17 +112,28 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.room.RoomDatabase.JournalMode 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.room.RoomDatabase.JournalMode is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return activityManager.isLowRamDevice();"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/room/RoomDatabase.java"
- line="673"
+ line="726"
column="40"/>
</issue>
<issue
+ id="PrivateConstructorForUtilityClass"
+ message="Utility class with non private constructor"
+ errorLine1="public class Room {"
+ errorLine2=" ~~~~">
+ <location
+ file="src/main/java/androidx/room/Room.java"
+ line="27"
+ column="14"/>
+ </issue>
+
+ <issue
id="LambdaLast"
message="Functional interface parameters (such as parameter 3, "sqliteOpenHelperFactory", in androidx.room.DatabaseConfiguration.DatabaseConfiguration) should be last to improve Kotlin interoperability; see https://kotlinlang.org/docs/reference/java-interop.html#sam-conversions"
errorLine1=" @Nullable Set<Integer> migrationNotRequiredFrom) {"
@@ -741,94 +785,6 @@
<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=" protected LimitOffsetDataSource(RoomDatabase db, SupportSQLiteQuery query,"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/room/paging/LimitOffsetDataSource.java"
- line="56"
- column="37"/>
- </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=" protected LimitOffsetDataSource(RoomDatabase db, SupportSQLiteQuery query,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/room/paging/LimitOffsetDataSource.java"
- line="56"
- column="54"/>
- </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=" boolean inTransaction, String... tables) {"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/room/paging/LimitOffsetDataSource.java"
- line="57"
- column="36"/>
- </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=" protected LimitOffsetDataSource(RoomDatabase db, RoomSQLiteQuery query,"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/room/paging/LimitOffsetDataSource.java"
- line="61"
- column="37"/>
- </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=" protected LimitOffsetDataSource(RoomDatabase db, RoomSQLiteQuery query,"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/room/paging/LimitOffsetDataSource.java"
- line="61"
- column="54"/>
- </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=" boolean inTransaction, String... tables) {"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/room/paging/LimitOffsetDataSource.java"
- line="62"
- column="36"/>
- </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=" protected abstract List<T> convertRows(Cursor cursor);"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/room/paging/LimitOffsetDataSource.java"
- line="106"
- column="24"/>
- </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=" protected abstract List<T> convertRows(Cursor cursor);"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/room/paging/LimitOffsetDataSource.java"
- line="106"
- column="44"/>
- </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 IBinder onBind(Intent intent) {"
errorLine2=" ~~~~~~">
<location
@@ -844,7 +800,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/room/RoomDatabase.java"
- line="86"
+ line="87"
column="24"/>
</issue>
@@ -855,7 +811,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/room/RoomDatabase.java"
- line="298"
+ line="351"
column="65"/>
</issue>
@@ -866,7 +822,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/room/RoomDatabase.java"
- line="456"
+ line="509"
column="12"/>
</issue>
@@ -877,7 +833,7 @@
errorLine2=" ~">
<location
file="src/main/java/androidx/room/RoomDatabase.java"
- line="574"
+ line="627"
column="16"/>
</issue>
@@ -888,7 +844,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/room/RoomDatabase.java"
- line="1142"
+ line="1195"
column="62"/>
</issue>
@@ -1306,7 +1262,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/room/util/TableInfo.java"
- line="390"
+ line="391"
column="23"/>
</issue>
@@ -1317,7 +1273,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/room/util/TableInfo.java"
- line="390"
+ line="391"
column="36"/>
</issue>
@@ -1328,7 +1284,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/room/util/TableInfo.java"
- line="395"
+ line="396"
column="23"/>
</issue>
@@ -1339,7 +1295,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/room/util/TableInfo.java"
- line="395"
+ line="396"
column="36"/>
</issue>
@@ -1350,7 +1306,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/room/util/TableInfo.java"
- line="396"
+ line="397"
column="17"/>
</issue>
@@ -1361,7 +1317,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/room/util/TableInfo.java"
- line="618"
+ line="672"
column="22"/>
</issue>
@@ -1372,7 +1328,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/room/util/TableInfo.java"
- line="618"
+ line="672"
column="51"/>
</issue>
diff --git a/room/rxjava2/lint-baseline.xml b/room/rxjava2/lint-baseline.xml
index 18e25fc..9eaac4a 100644
--- a/room/rxjava2/lint-baseline.xml
+++ b/room/rxjava2/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="PrivateConstructorForUtilityClass"
diff --git a/room/rxjava3/lint-baseline.xml b/room/rxjava3/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/room/rxjava3/lint-baseline.xml
+++ b/room/rxjava3/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/room/testing/lint-baseline.xml b/room/testing/lint-baseline.xml
index a2b25c6..2f1c2e0 100644
--- a/room/testing/lint-baseline.xml
+++ b/room/testing/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="UnknownNullness"
diff --git a/samples/Support4Demos/lint-baseline.xml b/samples/Support4Demos/lint-baseline.xml
index 9d520d6..721010f 100644
--- a/samples/Support4Demos/lint-baseline.xml
+++ b/samples/Support4Demos/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="WifiManagerLeak"
@@ -68,6 +68,72 @@
</issue>
<issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class com.example.android.supportv4.media.MediaNotificationManager is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" notificationManager.createNotificationChannel("
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/android/supportv4/media/MediaNotificationManager.java"
+ line="117"
+ column="37"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class com.example.android.supportv4.media.MediaNotificationManager is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" new NotificationChannel(NOTIFICATION_CHANNEL_ID, TAG,"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/android/supportv4/media/MediaNotificationManager.java"
+ line="118"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class com.example.android.supportv4.media.MediaNotificationManager is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" notificationManager.deleteNotificationChannel(NOTIFICATION_CHANNEL_ID);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/android/supportv4/media/MediaNotificationManager.java"
+ line="161"
+ column="37"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class com.example.android.supportv4.widget.SlidingPaneLayoutActivity.FirstLayoutListener is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mSlidingLayout.getViewTreeObserver().removeOnGlobalLayoutListener(this);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/android/supportv4/widget/SlidingPaneLayoutActivity.java"
+ line="190"
+ column="54"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class com.example.android.supportv4.view.WindowInsetsPlayground is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" getWindow().setStatusBarColor(0x80000000);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/android/supportv4/view/WindowInsetsPlayground.java"
+ line="72"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class com.example.android.supportv4.view.WindowInsetsPlayground is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" getWindow().setNavigationBarColor(0x80000000);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/android/supportv4/view/WindowInsetsPlayground.java"
+ line="73"
+ column="25"/>
+ </issue>
+
+ <issue
id="MetadataTagInsideApplicationTag"
message="Detected <application>-level meta-data tag."
errorLine1=" <meta-data android:name="com.google.android.gms.car.notification.SmallIcon""
@@ -90,72 +156,6 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class com.example.android.supportv4.media.MediaNotificationManager 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=" notificationManager.createNotificationChannel("
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/supportv4/media/MediaNotificationManager.java"
- line="117"
- column="37"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class com.example.android.supportv4.media.MediaNotificationManager 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 NotificationChannel(NOTIFICATION_CHANNEL_ID, TAG,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/supportv4/media/MediaNotificationManager.java"
- line="118"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class com.example.android.supportv4.media.MediaNotificationManager 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=" notificationManager.deleteNotificationChannel(NOTIFICATION_CHANNEL_ID);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/supportv4/media/MediaNotificationManager.java"
- line="161"
- column="37"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class com.example.android.supportv4.widget.SlidingPaneLayoutActivity.FirstLayoutListener 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=" mSlidingLayout.getViewTreeObserver().removeOnGlobalLayoutListener(this);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/supportv4/widget/SlidingPaneLayoutActivity.java"
- line="150"
- column="54"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class com.example.android.supportv4.view.WindowInsetsPlayground 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=" getWindow().setStatusBarColor(0x80000000);"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/supportv4/view/WindowInsetsPlayground.java"
- line="72"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class com.example.android.supportv4.view.WindowInsetsPlayground 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=" getWindow().setNavigationBarColor(0x80000000);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/supportv4/view/WindowInsetsPlayground.java"
- line="73"
- column="25"/>
- </issue>
-
- <issue
id="ObsoleteSdkInt"
message="This folder configuration (`v11`) is unnecessary; `minSdkVersion` is 14. Merge all the resources in this folder into `values`.">
<location
@@ -503,7 +503,7 @@
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/BrowseFragment.java"
- line="138"
+ line="139"
column="56"/>
</issue>
@@ -514,7 +514,7 @@
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/BrowseFragment.java"
- line="140"
+ line="141"
column="17"/>
</issue>
@@ -525,7 +525,7 @@
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/BrowseFragment.java"
- line="144"
+ line="145"
column="21"/>
</issue>
@@ -536,7 +536,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/BrowseFragment.java"
- line="147"
+ line="148"
column="17"/>
</issue>
@@ -547,7 +547,7 @@
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/BrowseFragment.java"
- line="148"
+ line="149"
column="28"/>
</issue>
@@ -558,7 +558,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/BrowseFragment.java"
- line="148"
+ line="149"
column="17"/>
</issue>
@@ -569,7 +569,7 @@
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/BrowseFragment.java"
- line="151"
+ line="152"
column="17"/>
</issue>
@@ -580,7 +580,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/BrowseFragment.java"
- line="152"
+ line="153"
column="17"/>
</issue>
@@ -591,7 +591,7 @@
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/BrowseFragment.java"
- line="191"
+ line="192"
column="53"/>
</issue>
@@ -602,7 +602,7 @@
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/BrowseFragment.java"
- line="212"
+ line="213"
column="21"/>
</issue>
@@ -613,7 +613,7 @@
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/BrowseFragment.java"
- line="213"
+ line="214"
column="21"/>
</issue>
@@ -624,7 +624,7 @@
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/BrowseFragment.java"
- line="214"
+ line="215"
column="31"/>
</issue>
@@ -635,7 +635,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/BrowseFragment.java"
- line="214"
+ line="215"
column="21"/>
</issue>
@@ -2164,7 +2164,7 @@
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/MediaNotificationManager.java"
- line="233"
+ line="234"
column="13"/>
</issue>
@@ -2175,7 +2175,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/MediaNotificationManager.java"
- line="235"
+ line="236"
column="41"/>
</issue>
@@ -2186,7 +2186,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/MediaNotificationManager.java"
- line="237"
+ line="238"
column="17"/>
</issue>
@@ -2197,7 +2197,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/MediaNotificationManager.java"
- line="245"
+ line="246"
column="13"/>
</issue>
@@ -2208,7 +2208,7 @@
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/MediaNotificationManager.java"
- line="358"
+ line="360"
column="21"/>
</issue>
@@ -2219,7 +2219,7 @@
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/MediaNotificationManager.java"
- line="358"
+ line="360"
column="42"/>
</issue>
@@ -2230,7 +2230,7 @@
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/MediaNotificationManager.java"
- line="359"
+ line="361"
column="35"/>
</issue>
@@ -2241,7 +2241,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/MediaNotificationManager.java"
- line="363"
+ line="365"
column="21"/>
</issue>
@@ -2296,7 +2296,7 @@
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/QueueFragment.java"
- line="62"
+ line="63"
column="56"/>
</issue>
@@ -2307,7 +2307,7 @@
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/QueueFragment.java"
- line="64"
+ line="65"
column="17"/>
</issue>
@@ -2318,7 +2318,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/QueueFragment.java"
- line="68"
+ line="69"
column="13"/>
</issue>
@@ -2329,7 +2329,7 @@
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/QueueFragment.java"
- line="69"
+ line="70"
column="21"/>
</issue>
@@ -2340,7 +2340,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/QueueFragment.java"
- line="70"
+ line="71"
column="34"/>
</issue>
@@ -2351,7 +2351,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/QueueFragment.java"
- line="70"
+ line="71"
column="13"/>
</issue>
@@ -2362,7 +2362,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/QueueFragment.java"
- line="71"
+ line="72"
column="13"/>
</issue>
@@ -2373,7 +2373,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/QueueFragment.java"
- line="71"
+ line="72"
column="47"/>
</issue>
@@ -2384,7 +2384,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/QueueFragment.java"
- line="73"
+ line="74"
column="70"/>
</issue>
@@ -2395,7 +2395,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/QueueFragment.java"
- line="74"
+ line="75"
column="30"/>
</issue>
@@ -2406,7 +2406,7 @@
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/QueueFragment.java"
- line="74"
+ line="75"
column="13"/>
</issue>
@@ -2417,7 +2417,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/QueueFragment.java"
- line="76"
+ line="77"
column="56"/>
</issue>
@@ -2428,17 +2428,6 @@
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/QueueFragment.java"
- line="78"
- column="17"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mQueueAdapter` of class `QueueFragment` requires synthetic accessor"
- errorLine1=" mQueueAdapter.notifyDataSetInvalidated();"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/supportv4/media/QueueFragment.java"
line="79"
column="17"/>
</issue>
@@ -2446,7 +2435,7 @@
<issue
id="SyntheticAccessor"
message="Access to `private` field `mQueueAdapter` of class `QueueFragment` requires synthetic accessor"
- errorLine1=" mQueueAdapter.addAll(queue);"
+ errorLine1=" mQueueAdapter.notifyDataSetInvalidated();"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/QueueFragment.java"
@@ -2457,7 +2446,7 @@
<issue
id="SyntheticAccessor"
message="Access to `private` field `mQueueAdapter` of class `QueueFragment` requires synthetic accessor"
- errorLine1=" mQueueAdapter.notifyDataSetChanged();"
+ errorLine1=" mQueueAdapter.addAll(queue);"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/QueueFragment.java"
@@ -2467,12 +2456,23 @@
<issue
id="SyntheticAccessor"
+ message="Access to `private` field `mQueueAdapter` of class `QueueFragment` requires synthetic accessor"
+ errorLine1=" mQueueAdapter.notifyDataSetChanged();"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/android/supportv4/media/QueueFragment.java"
+ line="82"
+ column="17"/>
+ </issue>
+
+ <issue
+ id="SyntheticAccessor"
message="Access to `private` field `mPlaybackState` of class `QueueFragment` requires synthetic accessor"
errorLine1=" onPlaybackStateChanged(mPlaybackState);"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/QueueFragment.java"
- line="83"
+ line="84"
column="36"/>
</issue>
@@ -2483,7 +2483,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/QueueFragment.java"
- line="83"
+ line="84"
column="13"/>
</issue>
@@ -2494,7 +2494,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/QueueFragment.java"
- line="94"
+ line="95"
column="13"/>
</issue>
@@ -2505,7 +2505,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/QueueFragment.java"
- line="94"
+ line="95"
column="49"/>
</issue>
@@ -2516,7 +2516,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/QueueFragment.java"
- line="95"
+ line="96"
column="13"/>
</issue>
@@ -2527,7 +2527,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/QueueFragment.java"
- line="96"
+ line="97"
column="13"/>
</issue>
@@ -2538,7 +2538,7 @@
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/QueueFragment.java"
- line="116"
+ line="117"
column="13"/>
</issue>
@@ -2549,7 +2549,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/QueueFragment.java"
- line="117"
+ line="118"
column="13"/>
</issue>
@@ -2560,7 +2560,7 @@
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/QueueFragment.java"
- line="124"
+ line="125"
column="17"/>
</issue>
@@ -2571,7 +2571,7 @@
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/QueueFragment.java"
- line="125"
+ line="126"
column="17"/>
</issue>
@@ -2582,7 +2582,7 @@
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/QueueFragment.java"
- line="126"
+ line="127"
column="17"/>
</issue>
@@ -2593,7 +2593,7 @@
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/QueueFragment.java"
- line="127"
+ line="128"
column="17"/>
</issue>
@@ -2604,7 +2604,7 @@
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/QueueFragment.java"
- line="161"
+ line="162"
column="53"/>
</issue>
@@ -2615,7 +2615,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/QueueFragment.java"
- line="162"
+ line="163"
column="17"/>
</issue>
@@ -2626,7 +2626,7 @@
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/QueueFragment.java"
- line="254"
+ line="256"
column="31"/>
</issue>
@@ -2637,7 +2637,7 @@
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/QueueFragment.java"
- line="255"
+ line="257"
column="54"/>
</issue>
@@ -2648,7 +2648,7 @@
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/QueueFragment.java"
- line="262"
+ line="264"
column="25"/>
</issue>
@@ -2659,7 +2659,7 @@
errorLine2=" ~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/QueueFragment.java"
- line="264"
+ line="266"
column="25"/>
</issue>
@@ -2670,7 +2670,7 @@
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/QueueFragment.java"
- line="269"
+ line="271"
column="21"/>
</issue>
@@ -2681,7 +2681,7 @@
errorLine2=" ~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/QueueFragment.java"
- line="272"
+ line="274"
column="21"/>
</issue>
@@ -2698,160 +2698,6 @@
<issue
id="SyntheticAccessor"
- message="Access to `private` member of class `SliderListener` requires synthetic accessor"
- errorLine1=" mSlidingLayout.setPanelSlideListener(new SliderListener());"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/supportv4/widget/SlidingPaneLayoutActivity.java"
- line="83"
- column="46"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` member of class `ListItemClickListener` requires synthetic accessor"
- errorLine1=" mList.setOnItemClickListener(new ListItemClickListener());"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/supportv4/widget/SlidingPaneLayoutActivity.java"
- line="88"
- column="38"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` member of class `FirstLayoutListener` requires synthetic accessor"
- errorLine1=" mSlidingLayout.getViewTreeObserver().addOnGlobalLayoutListener(new FirstLayoutListener());"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/supportv4/widget/SlidingPaneLayoutActivity.java"
- line="93"
- column="72"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mContent` of class `SlidingPaneLayoutActivity` requires synthetic accessor"
- errorLine1=" mContent.setText(LoremIpsum.DIALOGUE[position]);"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/com/example/android/supportv4/widget/SlidingPaneLayoutActivity.java"
- line="117"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mActionBar` of class `SlidingPaneLayoutActivity` requires synthetic accessor"
- errorLine1=" mActionBar.setTitle(LoremIpsum.TITLES[position]);"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/supportv4/widget/SlidingPaneLayoutActivity.java"
- line="118"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mSlidingLayout` of class `SlidingPaneLayoutActivity` requires synthetic accessor"
- errorLine1=" mSlidingLayout.closePane();"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/supportv4/widget/SlidingPaneLayoutActivity.java"
- line="119"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mActionBar` of class `SlidingPaneLayoutActivity` requires synthetic accessor"
- errorLine1=" mActionBar.onPanelOpened();"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/supportv4/widget/SlidingPaneLayoutActivity.java"
- line="129"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mActionBar` of class `SlidingPaneLayoutActivity` requires synthetic accessor"
- errorLine1=" mActionBar.onPanelClosed();"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/supportv4/widget/SlidingPaneLayoutActivity.java"
- line="134"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mActionBar` of class `SlidingPaneLayoutActivity` requires synthetic accessor"
- errorLine1=" mActionBar.onFirstLayout();"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/supportv4/widget/SlidingPaneLayoutActivity.java"
- line="148"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mSlidingLayout` of class `SlidingPaneLayoutActivity` requires synthetic accessor"
- errorLine1=" mSlidingLayout.getViewTreeObserver().removeOnGlobalLayoutListener(this);"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/supportv4/widget/SlidingPaneLayoutActivity.java"
- line="150"
- column="17"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mSlidingLayout` of class `SlidingPaneLayoutActivity` requires synthetic accessor"
- errorLine1=" mSlidingLayout.getViewTreeObserver().removeGlobalOnLayoutListener(this);"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/supportv4/widget/SlidingPaneLayoutActivity.java"
- line="152"
- column="17"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` member of class `ActionBarHelper` requires synthetic accessor"
- errorLine1=" return new ActionBarHelper();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/supportv4/widget/SlidingPaneLayoutActivity.java"
- line="164"
- column="20"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mSlidingLayout` of class `SlidingPaneLayoutActivity` requires synthetic accessor"
- errorLine1=" if (mSlidingLayout.isSlideable() && !mSlidingLayout.isOpen()) {"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/supportv4/widget/SlidingPaneLayoutActivity.java"
- line="216"
- column="17"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mSlidingLayout` of class `SlidingPaneLayoutActivity` requires synthetic accessor"
- errorLine1=" if (mSlidingLayout.isSlideable() && !mSlidingLayout.isOpen()) {"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/supportv4/widget/SlidingPaneLayoutActivity.java"
- line="216"
- column="50"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
message="Access to `private` member of class `ColorPagerAdapter` requires synthetic accessor"
errorLine1=" mAdapter = new ColorPagerAdapter();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
@@ -3209,7 +3055,7 @@
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/BrowseFragment.java"
- line="168"
+ line="169"
column="19"/>
</issue>
@@ -3220,7 +3066,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/BrowseFragment.java"
- line="168"
+ line="169"
column="46"/>
</issue>
@@ -3231,7 +3077,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/BrowseFragment.java"
- line="177"
+ line="178"
column="12"/>
</issue>
@@ -3242,7 +3088,7 @@
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/BrowseFragment.java"
- line="177"
+ line="178"
column="30"/>
</issue>
@@ -3253,7 +3099,7 @@
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/BrowseFragment.java"
- line="177"
+ line="178"
column="55"/>
</issue>
@@ -3264,7 +3110,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/BrowseFragment.java"
- line="178"
+ line="179"
column="13"/>
</issue>
@@ -6212,7 +6058,7 @@
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/QueueFragment.java"
- line="132"
+ line="133"
column="19"/>
</issue>
@@ -6223,7 +6069,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/QueueFragment.java"
- line="137"
+ line="138"
column="12"/>
</issue>
@@ -6234,7 +6080,7 @@
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/QueueFragment.java"
- line="137"
+ line="138"
column="30"/>
</issue>
@@ -6245,7 +6091,7 @@
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/QueueFragment.java"
- line="137"
+ line="138"
column="55"/>
</issue>
@@ -6256,7 +6102,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/QueueFragment.java"
- line="138"
+ line="139"
column="30"/>
</issue>
@@ -6399,7 +6245,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/com/example/android/supportv4/media/utils/ResourceHelper.java"
- line="36"
+ line="37"
column="37"/>
</issue>
@@ -6476,7 +6322,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/com/example/android/supportv4/app/SharingSupport.java"
- line="73"
+ line="74"
column="34"/>
</issue>
@@ -6487,7 +6333,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/com/example/android/supportv4/app/SharingSupport.java"
- line="93"
+ line="95"
column="42"/>
</issue>
@@ -6780,28 +6626,6 @@
<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=" protected void onCreate(Bundle savedInstanceState) {"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/com/example/android/supportv4/widget/SlidingPaneLayoutActivity.java"
- line="74"
- 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=" public boolean onOptionsItemSelected(MenuItem item) {"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/com/example/android/supportv4/widget/SlidingPaneLayoutActivity.java"
- line="97"
- column="42"/>
- </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 onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
diff --git a/samples/Support7Demos/lint-baseline.xml b/samples/Support7Demos/lint-baseline.xml
index 0c59422..0d0cb79 100644
--- a/samples/Support7Demos/lint-baseline.xml
+++ b/samples/Support7Demos/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="OnClick"
@@ -468,6 +468,105 @@
</issue>
<issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class com.example.android.supportv7.app.AppCompatDefaultNightModeBootAwareActivity is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" .detectImplicitDirectBoot()"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/android/supportv7/app/AppCompatDefaultNightModeBootAwareActivity.java"
+ line="58"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class com.example.android.supportv7.widget.selection.fancy.FancySelectionDemoActivity.OnContextClickListener is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (view.showContextMenu(x, y)) {"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/android/supportv7/widget/selection/fancy/FancySelectionDemoActivity.java"
+ line="413"
+ column="22"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class com.example.android.supportv7.media.LocalPlayer.SurfaceViewPlayer is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (mPresentation != null && mPresentation.getDisplay() != presentationDisplay) {"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/android/supportv7/media/LocalPlayer.java"
+ line="436"
+ column="56"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class com.example.android.supportv7.media.Player is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" NotificationChannel channel = new NotificationChannel("
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/android/supportv7/media/Player.java"
+ line="184"
+ column="43"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class com.example.android.supportv7.media.Player is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" channel.setDescription(description);"
+ errorLine2=" ~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/android/supportv7/media/Player.java"
+ line="186"
+ column="21"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class com.example.android.supportv7.media.Player is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mContext.getSystemService(NotificationManager.class);"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/android/supportv7/media/Player.java"
+ line="190"
+ column="30"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class com.example.android.supportv7.media.Player is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" notificationManager.createNotificationChannel(channel);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/android/supportv7/media/Player.java"
+ line="191"
+ column="33"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class com.example.android.supportv7.media.SampleMediaRouteProvider is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (Build.VERSION.SDK_INT >= 23 && !Settings.canDrawOverlays(getContext())) {"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java"
+ line="251"
+ column="54"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class com.example.android.supportv7.media.SampleMediaRouterActivity is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (Build.VERSION.SDK_INT >= 23 && !Settings.canDrawOverlays(this)) {"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java"
+ line="214"
+ column="54"/>
+ </issue>
+
+ <issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 25 (SampleMediaRouterActivity)"
errorLine1=" Log.d(TAG, "onRouteAdded: route=" + route);"
@@ -644,105 +743,6 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class com.example.android.supportv7.app.AppCompatDefaultNightModeBootAwareActivity 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=" .detectImplicitDirectBoot()"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/supportv7/app/AppCompatDefaultNightModeBootAwareActivity.java"
- line="58"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class com.example.android.supportv7.widget.selection.fancy.FancySelectionDemoActivity.OnContextClickListener 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=" if (view.showContextMenu(x, y)) {"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/supportv7/widget/selection/fancy/FancySelectionDemoActivity.java"
- line="413"
- column="22"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class com.example.android.supportv7.media.LocalPlayer.SurfaceViewPlayer 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=" if (mPresentation != null && mPresentation.getDisplay() != presentationDisplay) {"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/supportv7/media/LocalPlayer.java"
- line="436"
- column="56"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class com.example.android.supportv7.media.Player 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=" NotificationChannel channel = new NotificationChannel("
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/supportv7/media/Player.java"
- line="184"
- column="43"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class com.example.android.supportv7.media.Player 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=" channel.setDescription(description);"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/supportv7/media/Player.java"
- line="186"
- column="21"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class com.example.android.supportv7.media.Player 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=" mContext.getSystemService(NotificationManager.class);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/supportv7/media/Player.java"
- line="190"
- column="30"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class com.example.android.supportv7.media.Player 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=" notificationManager.createNotificationChannel(channel);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/supportv7/media/Player.java"
- line="191"
- column="33"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class com.example.android.supportv7.media.SampleMediaRouteProvider 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 (Build.VERSION.SDK_INT >= 23 && !Settings.canDrawOverlays(getContext())) {"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/supportv7/media/SampleMediaRouteProvider.java"
- line="251"
- column="54"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class com.example.android.supportv7.media.SampleMediaRouterActivity 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 (Build.VERSION.SDK_INT >= 23 && !Settings.canDrawOverlays(this)) {"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/supportv7/media/SampleMediaRouterActivity.java"
- line="214"
- column="54"/>
- </issue>
-
- <issue
id="RestrictedApi"
message="Preconditions.checkArgument can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx`)"
errorLine1=" checkArgument(selectionTracker != null);"
@@ -1229,7 +1229,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv7/widget/AsyncListUtilActivity.java"
- line="143"
+ line="144"
column="43"/>
</issue>
@@ -1240,7 +1240,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv7/widget/AsyncListUtilActivity.java"
- line="144"
+ line="145"
column="43"/>
</issue>
@@ -1251,7 +1251,7 @@
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv7/widget/AsyncListUtilActivity.java"
- line="149"
+ line="150"
column="29"/>
</issue>
@@ -1262,7 +1262,7 @@
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv7/widget/AsyncListUtilActivity.java"
- line="154"
+ line="155"
column="29"/>
</issue>
@@ -1273,7 +1273,7 @@
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv7/widget/AsyncListUtilActivity.java"
- line="158"
+ line="159"
column="13"/>
</issue>
@@ -2582,7 +2582,7 @@
errorLine2=" ~~~~~~~~~~">
<location
file="src/main/java/com/example/android/supportv7/graphics/PaletteActivity.java"
- line="213"
+ line="212"
column="71"/>
</issue>
diff --git a/samples/SupportAnimationDemos/lint-baseline.xml b/samples/SupportAnimationDemos/lint-baseline.xml
index 7e65ae1..4de8cfb 100644
--- a/samples/SupportAnimationDemos/lint-baseline.xml
+++ b/samples/SupportAnimationDemos/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="SyntheticAccessor"
diff --git a/samples/SupportContentDemos/lint-baseline.xml b/samples/SupportContentDemos/lint-baseline.xml
index 4927872..d485d6b 100644
--- a/samples/SupportContentDemos/lint-baseline.xml
+++ b/samples/SupportContentDemos/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="AppCompatResource"
diff --git a/samples/SupportEmojiDemos/lint-baseline.xml b/samples/SupportEmojiDemos/lint-baseline.xml
index e833a13..6defb6d 100644
--- a/samples/SupportEmojiDemos/lint-baseline.xml
+++ b/samples/SupportEmojiDemos/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="BanSynchronizedMethods"
@@ -24,8 +24,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class com.example.android.support.text.emoji.ConfigLayout 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class com.example.android.support.text.emoji.ConfigLayout is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" super(context, attrs, defStyleAttr, defStyleRes);"
errorLine2=" ~~~~~">
<location
diff --git a/samples/SupportLeanbackDemos/lint-baseline.xml b/samples/SupportLeanbackDemos/lint-baseline.xml
index 057441d..6190ec0 100644
--- a/samples/SupportLeanbackDemos/lint-baseline.xml
+++ b/samples/SupportLeanbackDemos/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="MissingSuperCall"
@@ -57,6 +57,237 @@
</issue>
<issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed("
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/android/leanback/MediaSessionService.java"
+ line="419"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed("
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/android/leanback/MediaSessionService.java"
+ line="419"
+ column="51"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed("
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/com/example/android/leanback/MediaSessionService.java"
+ line="419"
+ column="71"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class com.example.android.leanback.MediaSessionService is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (mPlayer.getPlaybackParams().getSpeed() != NORMAL_SPEED) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/android/leanback/MediaSessionService.java"
+ line="705"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class com.example.android.leanback.MediaSessionService is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" if (mPlayer.getPlaybackParams().getSpeed() != NORMAL_SPEED) {"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/com/example/android/leanback/MediaSessionService.java"
+ line="705"
+ column="45"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class com.example.android.leanback.MediaSessionService is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed("
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/android/leanback/MediaSessionService.java"
+ line="763"
+ column="17"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class com.example.android.leanback.MediaSessionService is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed("
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/android/leanback/MediaSessionService.java"
+ line="763"
+ column="43"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class com.example.android.leanback.MediaSessionService is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed("
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/com/example/android/leanback/MediaSessionService.java"
+ line="763"
+ column="63"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class com.example.android.leanback.MediaSessionService is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed("
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/android/leanback/MediaSessionService.java"
+ line="797"
+ column="17"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class com.example.android.leanback.MediaSessionService is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed("
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/android/leanback/MediaSessionService.java"
+ line="797"
+ column="43"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class com.example.android.leanback.MediaSessionService is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed("
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/com/example/android/leanback/MediaSessionService.java"
+ line="797"
+ column="63"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class com.example.android.leanback.MediaSessionService is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed("
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/android/leanback/MediaSessionService.java"
+ line="840"
+ column="17"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class com.example.android.leanback.MediaSessionService is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed("
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/android/leanback/MediaSessionService.java"
+ line="840"
+ column="43"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class com.example.android.leanback.MediaSessionService is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed("
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/com/example/android/leanback/MediaSessionService.java"
+ line="840"
+ column="63"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class com.example.android.leanback.MediaSessionService is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed("
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/android/leanback/MediaSessionService.java"
+ line="932"
+ column="17"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class com.example.android.leanback.MediaSessionService is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed("
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/android/leanback/MediaSessionService.java"
+ line="932"
+ column="43"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class com.example.android.leanback.MediaSessionService is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed("
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/main/java/com/example/android/leanback/MediaSessionService.java"
+ line="932"
+ column="63"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" getActivity().enterPictureInPictureMode();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/android/leanback/PlaybackFragment.java"
+ line="90"
+ column="39"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" getActivity().enterPictureInPictureMode();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/android/leanback/PlaybackSupportFragment.java"
+ line="93"
+ column="39"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" getActivity().enterPictureInPictureMode();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/android/leanback/PlaybackTransportControlFragment.java"
+ line="76"
+ column="39"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" getActivity().enterPictureInPictureMode();"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/android/leanback/PlaybackTransportControlSupportFragment.java"
+ line="79"
+ column="39"/>
+ </issue>
+
+ <issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 32 (leanback.BrowseAnimationFragment)"
errorLine1=" Log.i(TAG, "onCreate");"
@@ -475,237 +706,6 @@
</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=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed("
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="419"
- column="25"/>
- </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=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed("
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="419"
- column="51"/>
- </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=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed("
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="419"
- column="71"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class com.example.android.leanback.MediaSessionService 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 (mPlayer.getPlaybackParams().getSpeed() != NORMAL_SPEED) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="705"
- column="25"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class com.example.android.leanback.MediaSessionService 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 (mPlayer.getPlaybackParams().getSpeed() != NORMAL_SPEED) {"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="705"
- column="45"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class com.example.android.leanback.MediaSessionService 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=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed("
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="763"
- column="17"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class com.example.android.leanback.MediaSessionService 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=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed("
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="763"
- column="43"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class com.example.android.leanback.MediaSessionService 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=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed("
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="763"
- column="63"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class com.example.android.leanback.MediaSessionService 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=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed("
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="797"
- column="17"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class com.example.android.leanback.MediaSessionService 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=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed("
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="797"
- column="43"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class com.example.android.leanback.MediaSessionService 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=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed("
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="797"
- column="63"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class com.example.android.leanback.MediaSessionService 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=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed("
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="840"
- column="17"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class com.example.android.leanback.MediaSessionService 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=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed("
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="840"
- column="43"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class com.example.android.leanback.MediaSessionService 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=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed("
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="840"
- column="63"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class com.example.android.leanback.MediaSessionService 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=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed("
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="932"
- column="17"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class com.example.android.leanback.MediaSessionService 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=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed("
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="932"
- column="43"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class com.example.android.leanback.MediaSessionService 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=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed("
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="932"
- column="63"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class null 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=" getActivity().enterPictureInPictureMode();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/PlaybackFragment.java"
- line="90"
- column="39"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class null 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=" getActivity().enterPictureInPictureMode();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/PlaybackSupportFragment.java"
- line="93"
- column="39"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class null 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=" getActivity().enterPictureInPictureMode();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/PlaybackTransportControlFragment.java"
- line="76"
- column="39"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class null 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=" getActivity().enterPictureInPictureMode();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/PlaybackTransportControlSupportFragment.java"
- line="79"
- column="39"/>
- </issue>
-
- <issue
id="RestrictedApi"
message="GuidedStepFragment.SLIDE_FROM_BOTTOM can only be accessed from within the same library group prefix (referenced groupId=`androidx.leanback` with prefix androidx from groupId=`androidx`)"
errorLine1=" setEntranceTransitionType(GuidedStepFragment.SLIDE_FROM_BOTTOM);"
@@ -4188,7 +4188,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/com/example/android/leanback/BackgroundHelper.java"
- line="61"
+ line="62"
column="16"/>
</issue>
@@ -4199,7 +4199,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/com/example/android/leanback/BackgroundHelper.java"
- line="61"
+ line="62"
column="32"/>
</issue>
@@ -4210,7 +4210,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/com/example/android/leanback/BackgroundHelper.java"
- line="72"
+ line="74"
column="30"/>
</issue>
@@ -4221,7 +4221,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/com/example/android/leanback/BackgroundHelper.java"
- line="72"
+ line="74"
column="44"/>
</issue>
@@ -4232,7 +4232,7 @@
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/leanback/BackgroundHelper.java"
- line="81"
+ line="83"
column="23"/>
</issue>
@@ -4243,7 +4243,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/com/example/android/leanback/BackgroundHelper.java"
- line="93"
+ line="95"
column="45"/>
</issue>
@@ -4254,7 +4254,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/com/example/android/leanback/BackgroundHelper.java"
- line="105"
+ line="107"
column="29"/>
</issue>
@@ -4265,7 +4265,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/com/example/android/leanback/BackgroundHelper.java"
- line="215"
+ line="217"
column="30"/>
</issue>
@@ -4276,7 +4276,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/com/example/android/leanback/BackgroundHelper.java"
- line="228"
+ line="230"
column="31"/>
</issue>
@@ -4287,7 +4287,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/com/example/android/leanback/BackgroundHelper.java"
- line="265"
+ line="267"
column="29"/>
</issue>
@@ -4298,7 +4298,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/com/example/android/leanback/BackgroundHelper.java"
- line="277"
+ line="279"
column="28"/>
</issue>
@@ -4309,7 +4309,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/leanback/BackgroundHelper.java"
- line="277"
+ line="279"
column="47"/>
</issue>
diff --git a/samples/SupportPreferenceDemos/lint-baseline.xml b/samples/SupportPreferenceDemos/lint-baseline.xml
index 769f226..111db1c 100644
--- a/samples/SupportPreferenceDemos/lint-baseline.xml
+++ b/samples/SupportPreferenceDemos/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="MissingTvBanner"
diff --git a/samples/SupportRemoteCallbackDemos/lint-baseline.xml b/samples/SupportRemoteCallbackDemos/lint-baseline.xml
index 591c21df..02d6453 100644
--- a/samples/SupportRemoteCallbackDemos/lint-baseline.xml
+++ b/samples/SupportRemoteCallbackDemos/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="UnusedResources"
diff --git a/samples/SupportSliceDemos/lint-baseline.xml b/samples/SupportSliceDemos/lint-baseline.xml
index 251550f..def57e7 100644
--- a/samples/SupportSliceDemos/lint-baseline.xml
+++ b/samples/SupportSliceDemos/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="UnusedResources"
diff --git a/samples/SupportTransitionDemos/lint-baseline.xml b/samples/SupportTransitionDemos/lint-baseline.xml
index 4bbdfe5..6a772d4 100644
--- a/samples/SupportTransitionDemos/lint-baseline.xml
+++ b/samples/SupportTransitionDemos/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="AppCompatResource"
diff --git a/samples/SupportWearDemos/lint-baseline.xml b/samples/SupportWearDemos/lint-baseline.xml
index 94beef0..c67016a 100644
--- a/samples/SupportWearDemos/lint-baseline.xml
+++ b/samples/SupportWearDemos/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="SyntheticAccessor"
diff --git a/savedstate/savedstate-ktx/lint-baseline.xml b/savedstate/savedstate-ktx/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/savedstate/savedstate-ktx/lint-baseline.xml
+++ b/savedstate/savedstate-ktx/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/savedstate/savedstate/lint-baseline.xml b/savedstate/savedstate/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/savedstate/savedstate/lint-baseline.xml
+++ b/savedstate/savedstate/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/security/crypto/lint-baseline.xml b/security/crypto/lint-baseline.xml
index 08fde6a..c944174 100644
--- a/security/crypto/lint-baseline.xml
+++ b/security/crypto/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="BanSynchronizedMethods"
@@ -24,8 +24,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKey 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKey is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return mKeyGenParameterSpec != null && mKeyGenParameterSpec.isUserAuthenticationRequired();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -35,8 +35,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKey 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKey is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mKeyGenParameterSpec.getUserAuthenticationValidityDurationSeconds();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -46,8 +46,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.security.crypto.MasterKey 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.security.crypto.MasterKey is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return mKeyGenParameterSpec.isStrongBoxBacked();"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -57,8 +57,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKey.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKey.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (!mKeyAlias.equals(keyGenParameterSpec.getKeystoreAlias())) {"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -68,8 +68,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKey.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKey.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" + keyGenParameterSpec.getKeystoreAlias());"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -79,8 +79,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKey.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKey.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" KeyGenParameterSpec.Builder builder = new KeyGenParameterSpec.Builder("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -90,8 +90,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKey.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKey.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setBlockModes(KeyProperties.BLOCK_MODE_GCM)"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -101,8 +101,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKey.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKey.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setEncryptionPaddings(KeyProperties.ENCRYPTION_PADDING_NONE)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -112,8 +112,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKey.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKey.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setKeySize(DEFAULT_AES_GCM_MASTER_KEY_SIZE);"
errorLine2=" ~~~~~~~~~~">
<location
@@ -123,8 +123,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKey.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKey.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" builder.setUserAuthenticationRequired(true)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -134,8 +134,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKey.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKey.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setUserAuthenticationValidityDurationSeconds("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -145,8 +145,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.security.crypto.MasterKey.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.security.crypto.MasterKey.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" builder.setIsStrongBoxBacked(true);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
@@ -156,8 +156,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKey.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKey.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mKeyGenParameterSpec = builder.build();"
errorLine2=" ~~~~~">
<location
@@ -167,8 +167,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKeys 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKeys is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" KeyGenParameterSpec.Builder builder = new KeyGenParameterSpec.Builder("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -178,8 +178,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKeys 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKeys is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setBlockModes(KeyProperties.BLOCK_MODE_GCM)"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -189,8 +189,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKeys 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKeys is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setEncryptionPaddings(KeyProperties.ENCRYPTION_PADDING_NONE)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -200,8 +200,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKeys 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKeys is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setKeySize(KEY_SIZE);"
errorLine2=" ~~~~~~~~~~">
<location
@@ -211,8 +211,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKeys 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKeys is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return builder.build();"
errorLine2=" ~~~~~">
<location
@@ -222,8 +222,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKeys 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKeys is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (!MasterKeys.keyExists(keyGenParameterSpec.getKeystoreAlias())) {"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -233,8 +233,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKeys 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKeys is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return keyGenParameterSpec.getKeystoreAlias();"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -244,8 +244,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKeys 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKeys is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (spec.getKeySize() != KEY_SIZE) {"
errorLine2=" ~~~~~~~~~~">
<location
@@ -255,8 +255,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKeys 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKeys is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" "invalid key size, want " + KEY_SIZE + " bits got " + spec.getKeySize()"
errorLine2=" ~~~~~~~~~~">
<location
@@ -266,8 +266,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKeys 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKeys is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (!Arrays.equals(spec.getBlockModes(), new String[]{KeyProperties.BLOCK_MODE_GCM})) {"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -277,8 +277,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKeys 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKeys is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" + Arrays.toString(spec.getBlockModes()));"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -288,8 +288,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKeys 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKeys is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (spec.getPurposes() != (KeyProperties.PURPOSE_ENCRYPT | KeyProperties.PURPOSE_DECRYPT)) {"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -299,8 +299,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKeys 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKeys is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" + spec.getPurposes());"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -310,8 +310,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKeys 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKeys is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (!Arrays.equals(spec.getEncryptionPaddings(), new String[]"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -321,8 +321,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKeys 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKeys is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" + Arrays.toString(spec.getEncryptionPaddings()));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -332,8 +332,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKeys 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKeys is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (spec.isUserAuthenticationRequired()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -343,8 +343,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.security.crypto.MasterKeys 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.security.crypto.MasterKeys is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" && spec.getUserAuthenticationValidityDurationSeconds() < 1) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
diff --git a/security/identity-credential/lint-baseline.xml b/security/identity-credential/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/security/identity-credential/lint-baseline.xml
+++ b/security/identity-credential/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/security/security-app-authenticator/lint-baseline.xml b/security/security-app-authenticator/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/security/security-app-authenticator/lint-baseline.xml
+++ b/security/security-app-authenticator/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/security/security-biometric/lint-baseline.xml b/security/security-biometric/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/security/security-biometric/lint-baseline.xml
+++ b/security/security-biometric/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/security/security-crypto-ktx/lint-baseline.xml b/security/security-crypto-ktx/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/security/security-crypto-ktx/lint-baseline.xml
+++ b/security/security-crypto-ktx/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/settings.gradle b/settings.gradle
index 07fef9b..b19d4ff 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -491,6 +491,7 @@
includeProject(":preference:preference", "preference/preference", [BuildType.MAIN])
includeProject(":preference:preference-ktx", "preference/preference-ktx", [BuildType.MAIN])
includeProject(":print:print", "print/print", [BuildType.MAIN])
+includeProject(":profileinstaller:profileinstaller", "profileinstaller/profileinstaller", [BuildType.MAIN, BuildType.COMPOSE])
includeProject(":recommendation:recommendation", "recommendation/recommendation", [BuildType.MAIN])
includeProject(":recyclerview:recyclerview", "recyclerview/recyclerview", [BuildType.MAIN])
includeProject(":recyclerview:recyclerview-benchmark", "recyclerview/recyclerview-benchmark", [BuildType.MAIN])
diff --git a/sharetarget/integration-tests/testapp/lint-baseline.xml b/sharetarget/integration-tests/testapp/lint-baseline.xml
index 633b42b..ca9f621 100644
--- a/sharetarget/integration-tests/testapp/lint-baseline.xml
+++ b/sharetarget/integration-tests/testapp/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="SyntheticAccessor"
diff --git a/sharetarget/sharetarget/lint-baseline.xml b/sharetarget/sharetarget/lint-baseline.xml
index 56ed255..f801350 100644
--- a/sharetarget/sharetarget/lint-baseline.xml
+++ b/sharetarget/sharetarget/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="UnknownNullness"
diff --git a/slices/benchmark/lint-baseline.xml b/slices/benchmark/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/slices/benchmark/lint-baseline.xml
+++ b/slices/benchmark/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/slices/builders/ktx/lint-baseline.xml b/slices/builders/ktx/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/slices/builders/ktx/lint-baseline.xml
+++ b/slices/builders/ktx/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/slices/builders/lint-baseline.xml b/slices/builders/lint-baseline.xml
index e84e1c3..2c54f970 100644
--- a/slices/builders/lint-baseline.xml
+++ b/slices/builders/lint-baseline.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.slice.builders.impl.ListBuilderBasicImpl 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.slice.builders.impl.ListBuilderBasicImpl is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" setTtl(ttl == null ? INFINITY : ttl.toMillis());"
errorLine2=" ~~~~~~~~">
<location
@@ -13,8 +13,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.slice.builders.impl.ListBuilderImpl 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.slice.builders.impl.ListBuilderImpl is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" setTtl(ttl == null ? INFINITY : ttl.toMillis());"
errorLine2=" ~~~~~~~~">
<location
diff --git a/slices/core/lint-baseline.xml b/slices/core/lint-baseline.xml
index 23f1230..b679aef 100644
--- a/slices/core/lint-baseline.xml
+++ b/slices/core/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="BanSynchronizedMethods"
@@ -57,8 +57,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.slice.compat.CompatPermissionManager.PermissionState 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.slice.compat.CompatPermissionManager.PermissionState is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (!Objects.equals(path[i], prefix[i])) {"
errorLine2=" ~~~~~~">
<location
@@ -68,8 +68,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.slice.Slice 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.slice.Slice is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return SliceConvert.wrap(context.getSystemService(SliceManager.class)"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -79,8 +79,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.slice.Slice 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.slice.Slice is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .bindSlice(uri, unwrap(supportedSpecs)), context);"
errorLine2=" ~~~~~~~~~">
<location
@@ -90,13 +90,13 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.slice.compat.SliceProviderCompat.ProviderHolder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.slice.compat.SliceProviderCompat.ProviderHolder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mProvider.close();"
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/slice/compat/SliceProviderCompat.java"
- line="709"
+ line="710"
column="27"/>
</issue>
diff --git a/slices/remotecallback/lint-baseline.xml b/slices/remotecallback/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/slices/remotecallback/lint-baseline.xml
+++ b/slices/remotecallback/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/slices/test/lint-baseline.xml b/slices/test/lint-baseline.xml
index f9611dc..dbc53ce 100644
--- a/slices/test/lint-baseline.xml
+++ b/slices/test/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="UnknownNullness"
diff --git a/slices/view/lint-baseline.xml b/slices/view/lint-baseline.xml
index 55ea22e..a6913381 100644
--- a/slices/view/lint-baseline.xml
+++ b/slices/view/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="BanSynchronizedMethods"
@@ -24,30 +24,30 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.slice.widget.ActionRow is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.slice.widget.ActionRow is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (input.getRemoteInput().getAllowFreeFormInput()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/slice/widget/ActionRow.java"
- line="161"
+ line="162"
column="36"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.slice.widget.GridRowView 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.slice.widget.GridRowView is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mForeground.getBackground().setHotspot(x, y);"
errorLine2=" ~~~~~~~~~~">
<location
file="src/main/java/androidx/slice/widget/GridRowView.java"
- line="770"
+ line="818"
column="41"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" view.performAccessibilityAction(ACTION_ACCESSIBILITY_FOCUS, null);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -57,8 +57,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.slice.widget.LocationBasedViewTracker 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.slice.widget.LocationBasedViewTracker is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (child.isAccessibilityFocused()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -68,8 +68,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.slice.widget.RemoteInputView.RemoteEditText 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.slice.widget.RemoteInputView.RemoteEditText is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return isTemporarilyDetached();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -79,8 +79,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.slice.widget.RemoteInputView.RemoteEditText 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.slice.widget.RemoteInputView.RemoteEditText is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" setBackground(mBackground);"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -90,8 +90,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.slice.widget.RemoteInputView.RemoteEditText 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.slice.widget.RemoteInputView.RemoteEditText is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" setBackground(null);"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -101,8 +101,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.slice.widget.SliceView 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.slice.widget.SliceView is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" super(context, attrs, defStyleAttr, defStyleRes);"
errorLine2=" ~~~~~">
<location
@@ -112,13 +112,13 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.slice.widget.TemplateView 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.slice.widget.TemplateView is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mForeground.getBackground().setHotspot(x, y);"
errorLine2=" ~~~~~~~~~~">
<location
file="src/main/java/androidx/slice/widget/TemplateView.java"
- line="116"
+ line="125"
column="41"/>
</issue>
@@ -136,149 +136,6 @@
<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 GridContent(SliceItem gridItem, int position) {"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/slice/widget/GridContent.java"
- line="76"
- column="24"/>
- </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 int getHeight(SliceStyle style, SliceViewPolicy policy) {"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/slice/widget/GridContent.java"
- line="255"
- column="26"/>
- </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 int getHeight(SliceStyle style, SliceViewPolicy policy) {"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/slice/widget/GridContent.java"
- line="255"
- column="44"/>
- </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 CellContent(SliceItem cellItem) {"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/slice/widget/GridContent.java"
- line="278"
- column="28"/>
- </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 boolean populate(SliceItem cellItem) {"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/slice/widget/GridContent.java"
- line="285"
- column="33"/>
- </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 GridRowView(Context context) {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/slice/widget/GridRowView.java"
- line="127"
- column="24"/>
- </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 GridRowView(Context context, AttributeSet attrs) {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/slice/widget/GridRowView.java"
- line="131"
- column="24"/>
- </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 GridRowView(Context context, AttributeSet attrs) {"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/slice/widget/GridRowView.java"
- line="131"
- column="41"/>
- </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 setSliceItem(SliceContent slice, boolean isHeader, int rowIndex,"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/slice/widget/GridRowView.java"
- line="197"
- column="30"/>
- </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=" int rowCount, SliceView.OnSliceActionListener observer) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/slice/widget/GridRowView.java"
- line="198"
- 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 void onClick(View view) {"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/androidx/slice/widget/GridRowView.java"
- line="739"
- column="25"/>
- </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 boolean onTouch(View view, MotionEvent event) {"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/androidx/slice/widget/GridRowView.java"
- line="760"
- column="28"/>
- </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 boolean onTouch(View view, MotionEvent event) {"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/slice/widget/GridRowView.java"
- line="760"
- column="39"/>
- </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 ListContent(Context context, @NonNull Slice slice) {"
errorLine2=" ~~~~~~~">
<location
@@ -800,7 +657,7 @@
errorLine2=" ~~~~~~~~~~">
<location
file="src/main/java/androidx/slice/widget/RowContent.java"
- line="356"
+ line="360"
column="26"/>
</issue>
@@ -811,7 +668,7 @@
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/slice/widget/RowContent.java"
- line="356"
+ line="360"
column="44"/>
</issue>
@@ -866,7 +723,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/slice/widget/RowView.java"
- line="401"
+ line="409"
column="33"/>
</issue>
@@ -877,7 +734,7 @@
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/slice/widget/RowView.java"
- line="1147"
+ line="1155"
column="35"/>
</issue>
@@ -1108,7 +965,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/slice/widget/SliceAdapter.java"
- line="350"
+ line="362"
column="32"/>
</issue>
@@ -1119,7 +976,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/slice/widget/SliceAdapter.java"
- line="390"
+ line="402"
column="29"/>
</issue>
@@ -1130,7 +987,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/slice/widget/SliceAdapter.java"
- line="398"
+ line="410"
column="32"/>
</issue>
@@ -1141,7 +998,7 @@
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/androidx/slice/widget/SliceAdapter.java"
- line="398"
+ line="410"
column="40"/>
</issue>
@@ -1229,7 +1086,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/slice/widget/SliceChildView.java"
- line="187"
+ line="186"
column="40"/>
</issue>
@@ -1240,7 +1097,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/slice/widget/SliceChildView.java"
- line="195"
+ line="194"
column="47"/>
</issue>
@@ -1251,7 +1108,7 @@
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/slice/widget/SliceChildView.java"
- line="204"
+ line="203"
column="34"/>
</issue>
@@ -1262,7 +1119,7 @@
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/slice/widget/SliceChildView.java"
- line="212"
+ line="211"
column="35"/>
</issue>
@@ -1273,7 +1130,7 @@
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/slice/widget/SliceChildView.java"
- line="228"
+ line="227"
column="12"/>
</issue>
@@ -1284,7 +1141,7 @@
errorLine2=" ~~~~~~~~~~">
<location
file="src/main/java/androidx/slice/widget/SliceChildView.java"
- line="237"
+ line="236"
column="26"/>
</issue>
@@ -2054,7 +1911,7 @@
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/androidx/slice/widget/TemplateView.java"
- line="106"
+ line="115"
column="39"/>
</issue>
@@ -2065,7 +1922,7 @@
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/slice/widget/TemplateView.java"
- line="133"
+ line="142"
column="27"/>
</issue>
@@ -2076,7 +1933,7 @@
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/slice/widget/TemplateView.java"
- line="144"
+ line="153"
column="34"/>
</issue>
@@ -2087,7 +1944,7 @@
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/slice/widget/TemplateView.java"
- line="153"
+ line="162"
column="35"/>
</issue>
@@ -2098,7 +1955,7 @@
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/slice/widget/TemplateView.java"
- line="162"
+ line="171"
column="12"/>
</issue>
@@ -2109,7 +1966,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/slice/widget/TemplateView.java"
- line="181"
+ line="189"
column="40"/>
</issue>
@@ -2120,7 +1977,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/slice/widget/TemplateView.java"
- line="193"
+ line="201"
column="33"/>
</issue>
@@ -2131,7 +1988,7 @@
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/androidx/slice/widget/TemplateView.java"
- line="202"
+ line="210"
column="33"/>
</issue>
@@ -2142,7 +1999,7 @@
errorLine2=" ~~~~~~~~~~">
<location
file="src/main/java/androidx/slice/widget/TemplateView.java"
- line="213"
+ line="221"
column="26"/>
</issue>
diff --git a/slidingpanelayout/slidingpanelayout/lint-baseline.xml b/slidingpanelayout/slidingpanelayout/lint-baseline.xml
index fef803c..ea97ef5 100644
--- a/slidingpanelayout/slidingpanelayout/lint-baseline.xml
+++ b/slidingpanelayout/slidingpanelayout/lint-baseline.xml
@@ -1,38 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
-
- <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 onPanelSlide(View panel, float slideOffset) {"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/androidx/slidingpanelayout/widget/SlidingPaneLayout.java"
- line="234"
- column="34"/>
- </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 onPanelOpened(View panel) {"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/androidx/slidingpanelayout/widget/SlidingPaneLayout.java"
- line="237"
- column="35"/>
- </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 onPanelClosed(View panel) {"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/androidx/slidingpanelayout/widget/SlidingPaneLayout.java"
- line="240"
- column="35"/>
- </issue>
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="UnknownNullness"
@@ -41,7 +8,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/slidingpanelayout/widget/SlidingPaneLayout.java"
- line="751"
+ line="889"
column="35"/>
</issue>
@@ -52,7 +19,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/slidingpanelayout/widget/SlidingPaneLayout.java"
- line="751"
+ line="889"
column="47"/>
</issue>
@@ -63,7 +30,7 @@
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/androidx/slidingpanelayout/widget/SlidingPaneLayout.java"
- line="759"
+ line="897"
column="42"/>
</issue>
@@ -74,7 +41,7 @@
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/androidx/slidingpanelayout/widget/SlidingPaneLayout.java"
- line="819"
+ line="957"
column="33"/>
</issue>
@@ -85,7 +52,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/slidingpanelayout/widget/SlidingPaneLayout.java"
- line="1014"
+ line="1122"
column="33"/>
</issue>
@@ -96,7 +63,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/slidingpanelayout/widget/SlidingPaneLayout.java"
- line="1014"
+ line="1122"
column="48"/>
</issue>
@@ -107,7 +74,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/slidingpanelayout/widget/SlidingPaneLayout.java"
- line="1142"
+ line="1280"
column="35"/>
</issue>
@@ -118,7 +85,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/slidingpanelayout/widget/SlidingPaneLayout.java"
- line="1201"
+ line="1339"
column="22"/>
</issue>
@@ -129,7 +96,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/slidingpanelayout/widget/SlidingPaneLayout.java"
- line="1270"
+ line="1400"
column="33"/>
</issue>
@@ -140,7 +107,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/slidingpanelayout/widget/SlidingPaneLayout.java"
- line="1302"
+ line="1432"
column="15"/>
</issue>
@@ -151,7 +118,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/slidingpanelayout/widget/SlidingPaneLayout.java"
- line="1307"
+ line="1437"
column="15"/>
</issue>
@@ -162,7 +129,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/slidingpanelayout/widget/SlidingPaneLayout.java"
- line="1307"
+ line="1437"
column="59"/>
</issue>
@@ -173,7 +140,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/slidingpanelayout/widget/SlidingPaneLayout.java"
- line="1314"
+ line="1444"
column="41"/>
</issue>
@@ -184,7 +151,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/slidingpanelayout/widget/SlidingPaneLayout.java"
- line="1319"
+ line="1449"
column="12"/>
</issue>
@@ -195,7 +162,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/androidx/slidingpanelayout/widget/SlidingPaneLayout.java"
- line="1319"
+ line="1449"
column="56"/>
</issue>
@@ -206,7 +173,7 @@
errorLine2=" ~~~~~~~~~~">
<location
file="src/main/java/androidx/slidingpanelayout/widget/SlidingPaneLayout.java"
- line="1324"
+ line="1454"
column="15"/>
</issue>
@@ -217,7 +184,7 @@
errorLine2=" ~~~~~~~~~~">
<location
file="src/main/java/androidx/slidingpanelayout/widget/SlidingPaneLayout.java"
- line="1334"
+ line="1464"
column="43"/>
</issue>
diff --git a/sqlite/integration-tests/inspection-room-testapp/lint-baseline.xml b/sqlite/integration-tests/inspection-room-testapp/lint-baseline.xml
index 88936d1..850b2d6 100644
--- a/sqlite/integration-tests/inspection-room-testapp/lint-baseline.xml
+++ b/sqlite/integration-tests/inspection-room-testapp/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="MissingTestSizeAnnotation"
diff --git a/sqlite/integration-tests/inspection-sqldelight-testapp/lint-baseline.xml b/sqlite/integration-tests/inspection-sqldelight-testapp/lint-baseline.xml
index 133d0e7..790c3a4 100644
--- a/sqlite/integration-tests/inspection-sqldelight-testapp/lint-baseline.xml
+++ b/sqlite/integration-tests/inspection-sqldelight-testapp/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="MissingTestSizeAnnotation"
diff --git a/sqlite/sqlite-framework/lint-baseline.xml b/sqlite/sqlite-framework/lint-baseline.xml
index 6a7be88..de5df74 100644
--- a/sqlite/sqlite-framework/lint-baseline.xml
+++ b/sqlite/sqlite-framework/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="BanSynchronizedMethods"
@@ -35,52 +35,52 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.sqlite.db.framework.FrameworkSQLiteDatabase 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.sqlite.db.framework.FrameworkSQLiteDatabase is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return mDelegate.rawQueryWithFactory(new SQLiteDatabase.CursorFactory() {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/sqlite/db/framework/FrameworkSQLiteDatabase.java"
- line="192"
+ line="195"
column="26"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.sqlite.db.framework.FrameworkSQLiteDatabase 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.sqlite.db.framework.FrameworkSQLiteDatabase is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mDelegate.setForeignKeyConstraintsEnabled(enable);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/sqlite/db/framework/FrameworkSQLiteDatabase.java"
- line="300"
+ line="303"
column="19"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.sqlite.db.framework.FrameworkSQLiteDatabase 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.sqlite.db.framework.FrameworkSQLiteDatabase is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mDelegate.disableWriteAheadLogging();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/sqlite/db/framework/FrameworkSQLiteDatabase.java"
- line="311"
+ line="314"
column="19"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.sqlite.db.framework.FrameworkSQLiteDatabase 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.sqlite.db.framework.FrameworkSQLiteDatabase is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return mDelegate.isWriteAheadLoggingEnabled();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/sqlite/db/framework/FrameworkSQLiteDatabase.java"
- line="317"
+ line="320"
column="26"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.sqlite.db.framework.FrameworkSQLiteOpenHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.sqlite.db.framework.FrameworkSQLiteOpenHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" File file = new File(mContext.getNoBackupFilesDir(), mName);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
@@ -90,8 +90,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.sqlite.db.framework.FrameworkSQLiteOpenHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.sqlite.db.framework.FrameworkSQLiteOpenHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mDelegate.setWriteAheadLoggingEnabled(mWriteAheadLoggingEnabled);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -101,8 +101,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.sqlite.db.framework.FrameworkSQLiteOpenHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.sqlite.db.framework.FrameworkSQLiteOpenHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mDelegate.setWriteAheadLoggingEnabled(enabled);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
diff --git a/sqlite/sqlite-inspection/lint-baseline.xml b/sqlite/sqlite-inspection/lint-baseline.xml
index 3aafd0c4..55db410 100644
--- a/sqlite/sqlite-inspection/lint-baseline.xml
+++ b/sqlite/sqlite-inspection/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="BanUncheckedReflection"
diff --git a/sqlite/sqlite-ktx/lint-baseline.xml b/sqlite/sqlite-ktx/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/sqlite/sqlite-ktx/lint-baseline.xml
+++ b/sqlite/sqlite-ktx/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/sqlite/sqlite/build.gradle b/sqlite/sqlite/build.gradle
index c7f6213..ce6519c 100644
--- a/sqlite/sqlite/build.gradle
+++ b/sqlite/sqlite/build.gradle
@@ -38,7 +38,7 @@
def jarTask = project.tasks.create(name: "jar${suffix}", type: Jar){
dependsOn(variant.javaCompileProvider.get())
from(variant.javaCompileProvider.get().destinationDir)
- destinationDir(new File(project.buildDir, "libJar"))
+ destinationDirectory.fileValue(new File(project.buildDir, "libJar"))
}
}
diff --git a/sqlite/sqlite/lint-baseline.xml b/sqlite/sqlite/lint-baseline.xml
index 362ea20..0abbca7 100644
--- a/sqlite/sqlite/lint-baseline.xml
+++ b/sqlite/sqlite/lint-baseline.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.sqlite.db.SupportSQLiteOpenHelper.Callback 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.sqlite.db.SupportSQLiteOpenHelper.Callback is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" SQLiteDatabase.deleteDatabase(new File(fileName));"
errorLine2=" ~~~~~~~~~~~~~~">
<location
diff --git a/startup/integration-tests/first-library/lint-baseline.xml b/startup/integration-tests/first-library/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/startup/integration-tests/first-library/lint-baseline.xml
+++ b/startup/integration-tests/first-library/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/startup/integration-tests/second-library/lint-baseline.xml b/startup/integration-tests/second-library/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/startup/integration-tests/second-library/lint-baseline.xml
+++ b/startup/integration-tests/second-library/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/startup/integration-tests/test-app/lint-baseline.xml b/startup/integration-tests/test-app/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/startup/integration-tests/test-app/lint-baseline.xml
+++ b/startup/integration-tests/test-app/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/startup/startup-runtime-lint/lint-baseline.xml b/startup/startup-runtime-lint/lint-baseline.xml
index 297ae16..8794ae8 100644
--- a/startup/startup-runtime-lint/lint-baseline.xml
+++ b/startup/startup-runtime-lint/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
</issues>
diff --git a/startup/startup-runtime/lint-baseline.xml b/startup/startup-runtime/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/startup/startup-runtime/lint-baseline.xml
+++ b/startup/startup-runtime/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/swiperefreshlayout/swiperefreshlayout/lint-baseline.xml b/swiperefreshlayout/swiperefreshlayout/lint-baseline.xml
index 8c5a167..86469ac 100644
--- a/swiperefreshlayout/swiperefreshlayout/lint-baseline.xml
+++ b/swiperefreshlayout/swiperefreshlayout/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="KotlinPropertyAccess"
diff --git a/testutils/testutils-appcompat/lint-baseline.xml b/testutils/testutils-appcompat/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/testutils/testutils-appcompat/lint-baseline.xml
+++ b/testutils/testutils-appcompat/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/testutils/testutils-espresso/lint-baseline.xml b/testutils/testutils-espresso/lint-baseline.xml
index 937c8fc..b6893f0 100644
--- a/testutils/testutils-espresso/lint-baseline.xml
+++ b/testutils/testutils-espresso/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="UnknownNullness"
diff --git a/testutils/testutils-gradle-plugin/lint-baseline.xml b/testutils/testutils-gradle-plugin/lint-baseline.xml
index 297ae16..8794ae8 100644
--- a/testutils/testutils-gradle-plugin/lint-baseline.xml
+++ b/testutils/testutils-gradle-plugin/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
</issues>
diff --git a/testutils/testutils-mockito/lint-baseline.xml b/testutils/testutils-mockito/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/testutils/testutils-mockito/lint-baseline.xml
+++ b/testutils/testutils-mockito/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/testutils/testutils-navigation/build.gradle b/testutils/testutils-navigation/build.gradle
index ebc0c567..a1494e1 100644
--- a/testutils/testutils-navigation/build.gradle
+++ b/testutils/testutils-navigation/build.gradle
@@ -29,6 +29,7 @@
dependencies {
api(projectOrArtifact(":navigation:navigation-common"))
+ testImplementation(projectOrArtifact(":navigation:navigation-testing"))
testImplementation(JUNIT)
testImplementation(MOCKITO_CORE)
diff --git a/testutils/testutils-navigation/src/main/java/androidx/testutils/TestNavigator.kt b/testutils/testutils-navigation/src/main/java/androidx/testutils/TestNavigator.kt
index d024d0d..447dc1c 100644
--- a/testutils/testutils-navigation/src/main/java/androidx/testutils/TestNavigator.kt
+++ b/testutils/testutils-navigation/src/main/java/androidx/testutils/TestNavigator.kt
@@ -17,23 +17,23 @@
package androidx.testutils
import android.os.Bundle
+import androidx.navigation.NavBackStackEntry
import androidx.navigation.NavDestination
import androidx.navigation.NavOptions
import androidx.navigation.Navigator
-import java.util.ArrayDeque
-
/**
* A simple Navigator that doesn't actually navigate anywhere, but does dispatch correctly
*/
@Navigator.Name("test")
open class TestNavigator : Navigator<TestNavigator.Destination>() {
- val backStack = ArrayDeque<Pair<Destination, Bundle?>>()
+ val backStack: List<NavBackStackEntry>
+ get() = state.backStack.value
- val current
- get() = backStack.peekLast()
+ val current: NavBackStackEntry
+ get() = backStack.lastOrNull()
?: throw IllegalStateException("Nothing on the back stack")
override fun createDestination(): Destination {
@@ -45,19 +45,23 @@
args: Bundle?,
navOptions: NavOptions?,
navigatorExtras: Extras?
- ) = if (navOptions != null && navOptions.shouldLaunchSingleTop() && !backStack.isEmpty() &&
- current.first.id == destination.id
+ ) = if (navOptions != null && navOptions.shouldLaunchSingleTop() &&
+ backStack.isNotEmpty() && current.destination.id == destination.id
) {
- backStack.pop()
- backStack.add(destination to args)
+ state.pop(current, false)
+ state.add(state.createBackStackEntry(destination, args))
null
} else {
- backStack.add(destination to args)
+ state.add(state.createBackStackEntry(destination, args))
destination
}
override fun popBackStack(): Boolean {
- return backStack.pollLast() != null
+ if (backStack.isEmpty()) {
+ return false
+ }
+ state.pop(backStack.last(), false)
+ return true
}
/**
diff --git a/testutils/testutils-navigation/src/test/java/androidx/testutils/TestNavigatorTest.kt b/testutils/testutils-navigation/src/test/java/androidx/testutils/TestNavigatorTest.kt
index a4c9c69..860deec 100644
--- a/testutils/testutils-navigation/src/test/java/androidx/testutils/TestNavigatorTest.kt
+++ b/testutils/testutils-navigation/src/test/java/androidx/testutils/TestNavigatorTest.kt
@@ -17,6 +17,7 @@
package androidx.testutils
import android.os.Bundle
+import androidx.navigation.testing.TestNavigatorState
import org.junit.Assert.assertEquals
import org.junit.Test
import org.junit.runner.RunWith
@@ -28,6 +29,7 @@
@Test
fun backStack() {
val testNavigator = TestNavigator()
+ testNavigator.onAttach(TestNavigatorState())
val destination = testNavigator.createDestination()
val args = Bundle()
testNavigator.navigate(destination, args, null, null)
@@ -36,14 +38,14 @@
1,
testNavigator.backStack.size
)
- val (foundDestination, foundArgs) = testNavigator.current
+ val current = testNavigator.current
assertEquals(
"last() returns last destination navigated to",
- destination, foundDestination
+ destination, current.destination
)
assertEquals(
"last() returns arguments Bundle",
- args, foundArgs
+ args, current.arguments
)
}
}
diff --git a/testutils/testutils-runtime/lint-baseline.xml b/testutils/testutils-runtime/lint-baseline.xml
index 0b60048..a2172e9 100644
--- a/testutils/testutils-runtime/lint-baseline.xml
+++ b/testutils/testutils-runtime/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta04" client="gradle" variant="debug" version="4.2.0-beta04">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="BanUncheckedReflection"
@@ -46,8 +46,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.testutils.LocaleTestUtils 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.testutils.LocaleTestUtils is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" newConfig.setLocales(locales.unwrap() as LocaleList)"
errorLine2=" ~~~~~~~~~~">
<location
@@ -57,8 +57,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.testutils.LocaleTestUtils 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.testutils.LocaleTestUtils is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" newConfig.setLocale(locales.get(0))"
errorLine2=" ~~~~~~~~~">
<location
@@ -68,8 +68,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.fragment.app.StrictFragment 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.fragment.app.StrictFragment is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" check(!requireActivity().isDestroyed)"
errorLine2=" ~~~~~~~~~~~">
<location
diff --git a/testutils/testutils-truth/lint-baseline.xml b/testutils/testutils-truth/lint-baseline.xml
index 297ae16..8794ae8 100644
--- a/testutils/testutils-truth/lint-baseline.xml
+++ b/testutils/testutils-truth/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
</issues>
diff --git a/textclassifier/integration-tests/testapp/lint-baseline.xml b/textclassifier/integration-tests/testapp/lint-baseline.xml
index b399058..e3669ff 100644
--- a/textclassifier/integration-tests/testapp/lint-baseline.xml
+++ b/textclassifier/integration-tests/testapp/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="SyntheticAccessor"
diff --git a/textclassifier/textclassifier/lint-baseline.xml b/textclassifier/textclassifier/lint-baseline.xml
index 6b1a409..6e979f7 100644
--- a/textclassifier/textclassifier/lint-baseline.xml
+++ b/textclassifier/textclassifier/lint-baseline.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.textclassifier.BundleUtils is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return bundle.deepCopy();"
errorLine2=" ~~~~~~~~">
<location
@@ -13,8 +13,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.textclassifier.ConversationAction is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return new android.view.textclassifier.ConversationAction.Builder(getType())"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -24,8 +24,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.textclassifier.ConversationAction is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setAction("
errorLine2=" ~~~~~~~~~">
<location
@@ -35,8 +35,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.textclassifier.ConversationAction is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setConfidenceScore(getConfidenceScore())"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
@@ -46,8 +46,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.textclassifier.ConversationAction is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setTextReply(getTextReply())"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -57,8 +57,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.textclassifier.ConversationAction is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setExtras(getExtras())"
errorLine2=" ~~~~~~~~~">
<location
@@ -68,8 +68,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.textclassifier.ConversationAction is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .build();"
errorLine2=" ~~~~~">
<location
@@ -79,8 +79,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.textclassifier.ConversationAction is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return new ConversationAction.Builder(conversationAction.getType())"
errorLine2=" ~~~~~~~">
<location
@@ -90,8 +90,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.textclassifier.ConversationAction is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" conversationAction.getAction() == null"
errorLine2=" ~~~~~~~~~">
<location
@@ -101,8 +101,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.textclassifier.ConversationAction is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" conversationAction.getAction()))"
errorLine2=" ~~~~~~~~~">
<location
@@ -112,8 +112,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.textclassifier.ConversationAction is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setConfidenceScore(conversationAction.getConfidenceScore())"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
@@ -123,8 +123,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.textclassifier.ConversationAction is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setTextReply(conversationAction.getTextReply())"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -134,8 +134,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.textclassifier.ConversationAction is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setExtras(conversationAction.getExtras())"
errorLine2=" ~~~~~~~~~">
<location
@@ -145,8 +145,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.textclassifier.ConversationActions is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" conversationActions.getConversationActions().stream()"
errorLine2=" ~~~~~~">
<location
@@ -156,8 +156,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.textclassifier.ConversationActions is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" conversationActions.getConversationActions().stream()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -167,8 +167,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.textclassifier.ConversationActions is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .map(ConversationAction::fromPlatform)"
errorLine2=" ~~~">
<location
@@ -178,8 +178,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.textclassifier.ConversationActions is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .collect(Collectors.toList()),"
errorLine2=" ~~~~~~~">
<location
@@ -189,8 +189,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.textclassifier.ConversationActions is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .collect(Collectors.toList()),"
errorLine2=" ~~~~~~">
<location
@@ -200,8 +200,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.textclassifier.ConversationActions is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" conversationActions.getId());"
errorLine2=" ~~~~~">
<location
@@ -211,8 +211,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.textclassifier.ConversationActions is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return new android.view.textclassifier.ConversationActions("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -222,8 +222,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.textclassifier.ConversationActions is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" getConversationActions().stream()"
errorLine2=" ~~~~~~">
<location
@@ -233,8 +233,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.textclassifier.ConversationActions is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .map(ConversationAction::toPlatform)"
errorLine2=" ~~~">
<location
@@ -244,8 +244,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.textclassifier.ConversationActions is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .collect(Collectors.toList()),"
errorLine2=" ~~~~~~~">
<location
@@ -255,8 +255,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.textclassifier.ConversationActions is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .collect(Collectors.toList()),"
errorLine2=" ~~~~~~">
<location
@@ -266,8 +266,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.textclassifier.ConversationActions.Message is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return new android.view.textclassifier.ConversationActions.Message.Builder("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -277,8 +277,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.textclassifier.ConversationActions.Message is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setText(getText())"
errorLine2=" ~~~~~~~">
<location
@@ -288,8 +288,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.textclassifier.ConversationActions.Message is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setReferenceTime(ConvertUtils.createZonedDateTimeFromUtc(getReferenceTime()))"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -299,8 +299,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.textclassifier.ConversationActions.Message is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setExtras(getExtras())"
errorLine2=" ~~~~~~~~~">
<location
@@ -310,8 +310,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.textclassifier.ConversationActions.Message is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .build();"
errorLine2=" ~~~~~">
<location
@@ -321,8 +321,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.textclassifier.ConversationActions.Message is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" Person.fromAndroidPerson(message.getAuthor()))"
errorLine2=" ~~~~~~~~~">
<location
@@ -332,8 +332,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.textclassifier.ConversationActions.Message is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setText(message.getText())"
errorLine2=" ~~~~~~~">
<location
@@ -343,8 +343,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.textclassifier.ConversationActions.Message is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setReferenceTime(ConvertUtils.zonedDateTimeToUtcMs(message.getReferenceTime()))"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -354,8 +354,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.textclassifier.ConversationActions.Message is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setExtras(message.getExtras())"
errorLine2=" ~~~~~~~~~">
<location
@@ -365,8 +365,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.textclassifier.ConversationActions.Request is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" new android.view.textclassifier.ConversationActions.Request.Builder("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -376,8 +376,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.textclassifier.ConversationActions.Request is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" getConversation().stream()"
errorLine2=" ~~~~~~">
<location
@@ -387,8 +387,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.textclassifier.ConversationActions.Request is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .map(msg -> msg.toPlatform())"
errorLine2=" ~~~">
<location
@@ -398,8 +398,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.textclassifier.ConversationActions.Request is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .collect(Collectors.toList()))"
errorLine2=" ~~~~~~~">
<location
@@ -409,8 +409,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.textclassifier.ConversationActions.Request is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .collect(Collectors.toList()))"
errorLine2=" ~~~~~~">
<location
@@ -420,8 +420,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.textclassifier.ConversationActions.Request is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setHints(getHints())"
errorLine2=" ~~~~~~~~">
<location
@@ -431,8 +431,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.textclassifier.ConversationActions.Request is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setExtras(getExtras())"
errorLine2=" ~~~~~~~~~">
<location
@@ -442,8 +442,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.textclassifier.ConversationActions.Request is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setTypeConfig(getTypeConfig().toPlatform());"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -453,8 +453,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.textclassifier.ConversationActions.Request is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" builder.setMaxSuggestions(getMaxSuggestions());"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -464,8 +464,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.textclassifier.ConversationActions.Request is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return builder.build();"
errorLine2=" ~~~~~">
<location
@@ -475,8 +475,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.textclassifier.ConversationActions.Request is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" request.getConversation().stream()"
errorLine2=" ~~~~~~">
<location
@@ -486,8 +486,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.textclassifier.ConversationActions.Request is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" request.getConversation().stream()"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
@@ -497,8 +497,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.textclassifier.ConversationActions.Request is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .map(Message::fromPlatform)"
errorLine2=" ~~~">
<location
@@ -508,8 +508,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.textclassifier.ConversationActions.Request is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .collect(Collectors.toList()))"
errorLine2=" ~~~~~~~">
<location
@@ -519,8 +519,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.textclassifier.ConversationActions.Request is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .collect(Collectors.toList()))"
errorLine2=" ~~~~~~">
<location
@@ -530,8 +530,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.textclassifier.ConversationActions.Request is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setHints(request.getHints())"
errorLine2=" ~~~~~~~~">
<location
@@ -541,8 +541,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.textclassifier.ConversationActions.Request is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setMaxSuggestions(request.getMaxSuggestions())"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -552,8 +552,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.textclassifier.ConversationActions.Request is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setExtras(request.getExtras())"
errorLine2=" ~~~~~~~~~">
<location
@@ -563,8 +563,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.textclassifier.ConversationActions.Request is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" TextClassifier.EntityConfig.fromPlatform(request.getTypeConfig()))"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -574,8 +574,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.textclassifier.ConvertUtils is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return ZonedDateTime.ofInstant(Instant.ofEpochMilli(timeInMs), ZoneOffset.UTC);"
errorLine2=" ~~~~~~~~~">
<location
@@ -585,8 +585,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.textclassifier.ConvertUtils is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return ZonedDateTime.ofInstant(Instant.ofEpochMilli(timeInMs), ZoneOffset.UTC);"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -596,8 +596,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.ConvertUtils is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" final int entityCount = textLink.getEntityCount();"
errorLine2=" ~~~~~~~~~~~~~~">
<location
@@ -607,8 +607,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.ConvertUtils is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" String entity = textLink.getEntity(i);"
errorLine2=" ~~~~~~~~~">
<location
@@ -618,8 +618,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.ConvertUtils is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" floatMap.put(entity, textLink.getConfidenceScore(entity));"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
@@ -629,8 +629,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.textclassifier.ConvertUtils is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return zonedDateTime.toInstant().toEpochMilli();"
errorLine2=" ~~~~~~~~~">
<location
@@ -640,8 +640,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.textclassifier.ConvertUtils is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return zonedDateTime.toInstant().toEpochMilli();"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -651,8 +651,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .getDrawable(R.drawable.ft_avd_tooverflow, mContext.getTheme());"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -662,8 +662,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mArrow.setAutoMirrored(true);"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
@@ -673,8 +673,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .getDrawable(R.drawable.ft_avd_toarrow, mContext.getTheme());"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -684,8 +684,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mOverflow.setAutoMirrored(true);"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
@@ -695,8 +695,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .getDrawable(R.drawable.ft_avd_toarrow_animation, mContext.getTheme());"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -706,8 +706,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mToArrow.setAutoMirrored(true);"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
@@ -717,8 +717,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .getDrawable(R.drawable.ft_avd_tooverflow_animation, mContext.getTheme());"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -728,8 +728,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mToOverflow.setAutoMirrored(true);"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
@@ -739,8 +739,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" final int targetWidth = mOverflowPanelSize.getWidth();"
errorLine2=" ~~~~~~~~">
<location
@@ -750,8 +750,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" final int targetHeight = mOverflowPanelSize.getHeight();"
errorLine2=" ~~~~~~~~~">
<location
@@ -761,8 +761,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .alpha(0).withLayer()"
errorLine2=" ~~~~~~~~~">
<location
@@ -772,8 +772,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" final int targetWidth = mMainPanelSize.getWidth();"
errorLine2=" ~~~~~~~~">
<location
@@ -783,8 +783,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" final int targetHeight = mMainPanelSize.getHeight();"
errorLine2=" ~~~~~~~~~">
<location
@@ -794,8 +794,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .alpha(1).withLayer()"
errorLine2=" ~~~~~~~~~">
<location
@@ -805,8 +805,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .alpha(0).withLayer()"
errorLine2=" ~~~~~~~~~">
<location
@@ -816,8 +816,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mOverflowButton.setX(containerSize.getWidth()"
errorLine2=" ~~~~~~~~">
<location
@@ -827,8 +827,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" - mOverflowButtonSize.getWidth()); // align right"
errorLine2=" ~~~~~~~~">
<location
@@ -838,8 +838,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" - containerSize.getWidth() - mMarginHorizontal); // align right"
errorLine2=" ~~~~~~~~">
<location
@@ -849,8 +849,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mMainPanel.setY(containerSize.getHeight()"
errorLine2=" ~~~~~~~~~">
<location
@@ -860,8 +860,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mOverflowButton.setY(containerSize.getHeight()"
errorLine2=" ~~~~~~~~~">
<location
@@ -871,8 +871,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" - mOverflowButtonSize.getHeight()); // align bottom"
errorLine2=" ~~~~~~~~~">
<location
@@ -882,8 +882,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mOverflowPanel.setY(mOverflowButtonSize.getHeight()); // align bottom"
errorLine2=" ~~~~~~~~~">
<location
@@ -893,8 +893,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" - containerSize.getWidth() - mMarginHorizontal); // align right"
errorLine2=" ~~~~~~~~">
<location
@@ -904,8 +904,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mOverflowButton.setX(containerSize.getWidth()"
errorLine2=" ~~~~~~~~">
<location
@@ -915,8 +915,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" - mOverflowButtonSize.getWidth()); // align right"
errorLine2=" ~~~~~~~~">
<location
@@ -926,8 +926,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mOverflowPanel.setX(containerSize.getWidth()"
errorLine2=" ~~~~~~~~">
<location
@@ -937,8 +937,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" - mOverflowPanelSize.getWidth()); // align right"
errorLine2=" ~~~~~~~~">
<location
@@ -948,8 +948,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" + mOverflowPanelSize.getHeight() - containerSize.getHeight());"
errorLine2=" ~~~~~~~~~">
<location
@@ -959,8 +959,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" + mOverflowPanelSize.getHeight() - containerSize.getHeight());"
errorLine2=" ~~~~~~~~~">
<location
@@ -970,8 +970,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mOverflowPanel.setY(containerSize.getHeight()"
errorLine2=" ~~~~~~~~~">
<location
@@ -981,8 +981,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" - mOverflowPanelSize.getHeight()); // align bottom"
errorLine2=" ~~~~~~~~~">
<location
@@ -992,8 +992,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mOverflowPanel.setY(mOverflowButtonSize.getHeight()); // align bottom"
errorLine2=" ~~~~~~~~~">
<location
@@ -1003,8 +1003,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" final int maxItemSize = (suggestedHeight - mOverflowButtonSize.getHeight())"
errorLine2=" ~~~~~~~~~">
<location
@@ -1014,8 +1014,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (mOverflowPanelSize.getHeight() != newHeight) {"
errorLine2=" ~~~~~~~~~">
<location
@@ -1025,8 +1025,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mOverflowPanelSize = new Size(mOverflowPanelSize.getWidth(), newHeight);"
errorLine2=" ~~~~~~~~">
<location
@@ -1036,8 +1036,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mOverflowPanelSize = new Size(mOverflowPanelSize.getWidth(), newHeight);"
errorLine2=" ~~~~~~~~">
<location
@@ -1047,8 +1047,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" final int deltaHeight = mOverflowPanelSize.getHeight() - newHeight;"
errorLine2=" ~~~~~~~~~">
<location
@@ -1058,8 +1058,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" width = Math.max(width, mMainPanelSize.getWidth());"
errorLine2=" ~~~~~~~~">
<location
@@ -1069,8 +1069,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" height = Math.max(height, mMainPanelSize.getHeight());"
errorLine2=" ~~~~~~~~~">
<location
@@ -1080,8 +1080,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" width = Math.max(width, mOverflowPanelSize.getWidth());"
errorLine2=" ~~~~~~~~">
<location
@@ -1091,8 +1091,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" height = Math.max(height, mOverflowPanelSize.getHeight());"
errorLine2=" ~~~~~~~~~">
<location
@@ -1102,8 +1102,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .getLayoutDirection();"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
@@ -1113,8 +1113,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mMainPanel.setPaddingRelative(0, 0, 0, 0);"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
@@ -1124,8 +1124,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" menuItemButton.setPaddingRelative("
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
@@ -1135,8 +1135,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" (int) (1.5 * menuItemButton.getPaddingStart()),"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
@@ -1146,8 +1146,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" menuItemButton.getPaddingEnd(),"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -1157,8 +1157,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" menuItemButton.setPaddingRelative("
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
@@ -1168,8 +1168,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" menuItemButton.getPaddingStart(),"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
@@ -1179,8 +1179,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" (int) (1.5 * menuItemButton.getPaddingEnd()),"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -1190,8 +1190,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" menuItemButtonWidth <= availableWidth - mOverflowButtonSize.getWidth();"
errorLine2=" ~~~~~~~~">
<location
@@ -1201,8 +1201,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mMainPanel.setPaddingRelative(0, 0, mOverflowButtonSize.getWidth(), 0);"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
@@ -1212,8 +1212,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mMainPanel.setPaddingRelative(0, 0, mOverflowButtonSize.getWidth(), 0);"
errorLine2=" ~~~~~~~~">
<location
@@ -1223,8 +1223,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mOverflowPanel.setY(mOverflowButtonSize.getHeight());"
errorLine2=" ~~~~~~~~~">
<location
@@ -1234,8 +1234,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" int width = Math.max(getOverflowWidth(), mOverflowButtonSize.getWidth());"
errorLine2=" ~~~~~~~~">
<location
@@ -1245,8 +1245,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mOverflowPanelSize = new Size(width, height);"
errorLine2=" ~~~~~~~~">
<location
@@ -1256,8 +1256,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mMainPanel.setY(mContentContainer.getHeight() - mMainPanelSize.getHeight());"
errorLine2=" ~~~~~~~~~">
<location
@@ -1267,8 +1267,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mOverflowPanel.setY(mContentContainer.getHeight() - mOverflowPanelSize.getHeight());"
errorLine2=" ~~~~~~~~~">
<location
@@ -1278,8 +1278,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" + mOverflowButtonSize.getHeight()"
errorLine2=" ~~~~~~~~~">
<location
@@ -1289,8 +1289,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" int w = mMainPanelSize.getWidth() - mOverflowPanelSize.getWidth();"
errorLine2=" ~~~~~~~~">
<location
@@ -1300,8 +1300,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" int w = mMainPanelSize.getWidth() - mOverflowPanelSize.getWidth();"
errorLine2=" ~~~~~~~~">
<location
@@ -1311,8 +1311,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" int h = mOverflowPanelSize.getHeight() - mMainPanelSize.getHeight();"
errorLine2=" ~~~~~~~~~">
<location
@@ -1322,8 +1322,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" int h = mOverflowPanelSize.getHeight() - mMainPanelSize.getHeight();"
errorLine2=" ~~~~~~~~~">
<location
@@ -1333,8 +1333,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mMainPanelSize.getWidth(),"
errorLine2=" ~~~~~~~~">
<location
@@ -1344,8 +1344,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" getItem(position), mOverflowPanelSize.getWidth(), convertView);"
errorLine2=" ~~~~~~~~">
<location
@@ -1355,8 +1355,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return new Size(view.getMeasuredWidth(), view.getMeasuredHeight());"
errorLine2=" ~~~~~~~~">
<location
@@ -1366,8 +1366,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" setSize(view, size.getWidth(), size.getHeight());"
errorLine2=" ~~~~~~~~">
<location
@@ -1377,8 +1377,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" setSize(view, size.getWidth(), size.getHeight());"
errorLine2=" ~~~~~~~~~">
<location
@@ -1388,8 +1388,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup.OverflowPanel is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" setScrollBarDefaultDelayBeforeFade(ViewConfiguration.getScrollDefaultDelay() * 3);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -1399,8 +1399,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup.OverflowPanel is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" setScrollIndicators(View.SCROLL_INDICATOR_TOP | View.SCROLL_INDICATOR_BOTTOM);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
@@ -1410,8 +1410,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup.OverflowPanel is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" int height = mPopup.mOverflowPanelSize.getHeight()"
errorLine2=" ~~~~~~~~~">
<location
@@ -1421,8 +1421,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.textclassifier.widget.FloatingToolbar.FloatingToolbarPopup.OverflowPanel is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" - mPopup.mOverflowButtonSize.getHeight();"
errorLine2=" ~~~~~~~~~">
<location
@@ -1432,8 +1432,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.textclassifier.LegacyTextClassifier.MatchMakerImpl is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" ? ((UserManager) userManager).getUserRestrictions() : new Bundle();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
@@ -1443,8 +1443,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.PlatformTextClassifierWrapper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mPlatformTextClassifier.suggestSelection("
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -1454,8 +1454,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.PlatformTextClassifierWrapper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mPlatformTextClassifier.classifyText("
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -1465,8 +1465,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.PlatformTextClassifierWrapper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return TextLinks.fromPlatform(mPlatformTextClassifier.generateLinks("
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -1476,8 +1476,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.textclassifier.PlatformTextClassifierWrapper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mPlatformTextClassifier.suggestConversationActions("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -1487,8 +1487,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.SelectionEvent is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return android.view.textclassifier.SelectionEvent.createSelectionStartedEvent("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -1498,8 +1498,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.SelectionEvent is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return android.view.textclassifier.SelectionEvent.createSelectionModifiedEvent("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -1509,8 +1509,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.SelectionEvent is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return android.view.textclassifier.SelectionEvent.createSelectionModifiedEvent("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -1520,8 +1520,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.SelectionEvent is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return android.view.textclassifier.SelectionEvent.createSelectionModifiedEvent("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -1531,8 +1531,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.SelectionEvent is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return android.view.textclassifier.SelectionEvent.createSelectionActionEvent("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -1542,8 +1542,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.SelectionEvent is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return android.view.textclassifier.SelectionEvent.createSelectionActionEvent("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -1553,8 +1553,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.textclassifier.TextClassification is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setText(textClassification.getText());"
errorLine2=" ~~~~~~~">
<location
@@ -1564,8 +1564,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.TextClassification is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" builder.setId(textClassification.getId());"
errorLine2=" ~~~~~">
<location
@@ -1575,8 +1575,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.textclassifier.TextClassification is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" final int entityCount = textClassification.getEntityCount();"
errorLine2=" ~~~~~~~~~~~~~~">
<location
@@ -1586,8 +1586,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.textclassifier.TextClassification is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" String entity = textClassification.getEntity(i);"
errorLine2=" ~~~~~~~~~">
<location
@@ -1597,8 +1597,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.textclassifier.TextClassification is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" builder.setEntityType(entity, textClassification.getConfidenceScore(entity));"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
@@ -1608,8 +1608,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.TextClassification is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" List<RemoteAction> actions = textClassification.getActions();"
errorLine2=" ~~~~~~~~~~">
<location
@@ -1619,8 +1619,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.textclassifier.TextClassification is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (textClassification.getIntent() != null"
errorLine2=" ~~~~~~~~~">
<location
@@ -1630,8 +1630,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.textclassifier.TextClassification is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" && !TextUtils.isEmpty(textClassification.getLabel())) {"
errorLine2=" ~~~~~~~~">
<location
@@ -1641,8 +1641,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.textclassifier.TextClassification is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" textClassification.getText().hashCode(),"
errorLine2=" ~~~~~~~">
<location
@@ -1652,8 +1652,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.textclassifier.TextClassification is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" textClassification.getIntent(),"
errorLine2=" ~~~~~~~~~">
<location
@@ -1663,8 +1663,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.textclassifier.TextClassification is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" Drawable drawable = textClassification.getIcon();"
errorLine2=" ~~~~~~~">
<location
@@ -1674,8 +1674,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.textclassifier.TextClassification is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" CharSequence label = textClassification.getLabel();"
errorLine2=" ~~~~~~~~">
<location
@@ -1685,8 +1685,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.textclassifier.TextClassification is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" icon = ConvertUtils.createIconFromDrawable(textClassification.getIcon());"
errorLine2=" ~~~~~~~">
<location
@@ -1696,8 +1696,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.textclassifier.TextClassification is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" new android.view.textclassifier.TextClassification.Builder()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -1707,8 +1707,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.textclassifier.TextClassification is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setText(getText() == null ? null : getText().toString());"
errorLine2=" ~~~~~~~">
<location
@@ -1718,8 +1718,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.TextClassification is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" builder.setId(getId());"
errorLine2=" ~~~~~">
<location
@@ -1729,8 +1729,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.textclassifier.TextClassification is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" builder.setEntityType(entity, getConfidenceScore(entity));"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -1740,8 +1740,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.TextClassification is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" builder.addAction(action.toRemoteAction());"
errorLine2=" ~~~~~~~~~">
<location
@@ -1751,8 +1751,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.textclassifier.TextClassification is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" builder.setLabel(firstAction.getTitle().toString())"
errorLine2=" ~~~~~~~~">
<location
@@ -1762,8 +1762,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.textclassifier.TextClassification is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setIcon(firstAction.getIcon().loadDrawable(context))"
errorLine2=" ~~~~~~~">
<location
@@ -1773,8 +1773,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.textclassifier.TextClassification is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setOnClickListener(new View.OnClickListener() {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
@@ -1784,8 +1784,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.textclassifier.TextClassification is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return builder.build();"
errorLine2=" ~~~~~">
<location
@@ -1795,8 +1795,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.TextClassification.Request is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" request.getText(), request.getStartIndex(), request.getEndIndex())"
errorLine2=" ~~~~~~~">
<location
@@ -1806,8 +1806,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.TextClassification.Request is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" request.getText(), request.getStartIndex(), request.getEndIndex())"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -1817,8 +1817,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.TextClassification.Request is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" request.getText(), request.getStartIndex(), request.getEndIndex())"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -1828,8 +1828,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.TextClassification.Request is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setReferenceTime(ConvertUtils.zonedDateTimeToUtcMs(request.getReferenceTime()))"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -1839,8 +1839,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.TextClassification.Request is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setDefaultLocales(ConvertUtils.wrapLocalList(request.getDefaultLocales()))"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -1850,8 +1850,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.TextClassification.Request is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return new android.view.textclassifier.TextClassification.Request.Builder("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -1861,8 +1861,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.TextClassification.Request is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setDefaultLocales(ConvertUtils.unwrapLocalListCompat(getDefaultLocales()))"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -1872,8 +1872,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.TextClassification.Request is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setReferenceTime(ConvertUtils.createZonedDateTimeFromUtc(mReferenceTime))"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -1883,8 +1883,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.TextClassification.Request is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .build();"
errorLine2=" ~~~~~">
<location
@@ -1894,8 +1894,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.TextClassificationContext is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return new android.view.textclassifier.TextClassificationContext.Builder("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -1905,8 +1905,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.TextClassificationContext is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mPackageName, mWidgetType).setWidgetVersion(mWidgetVersion).build();"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -1916,8 +1916,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.TextClassificationContext is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mPackageName, mWidgetType).setWidgetVersion(mWidgetVersion).build();"
errorLine2=" ~~~~~">
<location
@@ -1927,8 +1927,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.textclassifier.TextClassificationManager is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" textClassificationManager.setTextClassifier(platformTextClassifier);"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -1938,8 +1938,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.TextClassifier.EntityConfig is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return android.view.textclassifier.TextClassifier.EntityConfig.create("
errorLine2=" ~~~~~~">
<location
@@ -1949,8 +1949,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.TextClassifier.EntityConfig is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .createWithExplicitEntityList(new ArrayList<>(entitiesSet));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -1960,8 +1960,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.textclassifier.TextClassifier.EntityConfig is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return new android.view.textclassifier.TextClassifier.EntityConfig.Builder()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -1971,8 +1971,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.textclassifier.TextClassifier.EntityConfig is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setIncludedTypes(mIncludedTypes)"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -1982,8 +1982,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.textclassifier.TextClassifier.EntityConfig is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setExcludedTypes(mExcludedTypes)"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -1993,8 +1993,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.textclassifier.TextClassifier.EntityConfig is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setHints(mHints)"
errorLine2=" ~~~~~~~~">
<location
@@ -2004,8 +2004,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.textclassifier.TextClassifier.EntityConfig is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .includeTypesFromTextClassifier(mIncludeTypesFromTextClassifier)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -2015,8 +2015,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.textclassifier.TextClassifier.EntityConfig is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .build();"
errorLine2=" ~~~~~">
<location
@@ -2026,8 +2026,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.TextLinks.Request is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return new android.view.textclassifier.TextLinks.Request.Builder(getText())"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -2037,8 +2037,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.TextLinks.Request is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setDefaultLocales(unwrapLocalListCompat(getDefaultLocales()))"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -2048,8 +2048,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.TextLinks.Request is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setEntityConfig(toPlatformEntityConfig(getEntityConfig()))"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
@@ -2059,8 +2059,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.TextLinks.Request is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .build();"
errorLine2=" ~~~~~">
<location
@@ -2070,8 +2070,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.TextLinks.Request is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return new TextLinks.Request.Builder(request.getText())"
errorLine2=" ~~~~~~~">
<location
@@ -2081,8 +2081,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.TextLinks.Request is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setDefaultLocales(ConvertUtils.wrapLocalList(request.getDefaultLocales()))"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -2092,8 +2092,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.TextLinks.Request is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" TextClassifier.EntityConfig.fromPlatform(request.getEntityConfig()))"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
@@ -2103,8 +2103,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.textclassifier.TextLinks.DefaultTextLinkSpan is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return ConvertUtils.wrapLocalList(textView.getTextLocales());"
errorLine2=" ~~~~~~~~~~~~~~">
<location
@@ -2114,8 +2114,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.textclassifier.TextLinks.DefaultTextLinkSpan is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return LocaleListCompat.create(textView.getTextLocale());"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -2125,8 +2125,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.TextLinks is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" Collection<android.view.textclassifier.TextLinks.TextLink> links = textLinks.getLinks();"
errorLine2=" ~~~~~~~~">
<location
@@ -2136,8 +2136,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.TextLinks is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" builder.addLink(link.getStart(), link.getEnd(),"
errorLine2=" ~~~~~~~~">
<location
@@ -2147,8 +2147,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.TextLinks is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" builder.addLink(link.getStart(), link.getEnd(),"
errorLine2=" ~~~~~~">
<location
@@ -2158,8 +2158,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.TextLinks is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" new android.view.textclassifier.TextLinks.Builder((String) getText());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -2169,8 +2169,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.TextLinks is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" builder.addLink("
errorLine2=" ~~~~~~~">
<location
@@ -2180,8 +2180,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.TextLinks is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return builder.build();"
errorLine2=" ~~~~~">
<location
@@ -2191,8 +2191,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.textclassifier.TextSelection is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" textSelection.getSelectionStartIndex(), textSelection.getSelectionEndIndex());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -2202,8 +2202,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.textclassifier.TextSelection is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" textSelection.getSelectionStartIndex(), textSelection.getSelectionEndIndex());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
@@ -2213,8 +2213,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.TextSelection is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" builder.setId(textSelection.getId());"
errorLine2=" ~~~~~">
<location
@@ -2224,8 +2224,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.textclassifier.TextSelection is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" final int entityCount = textSelection.getEntityCount();"
errorLine2=" ~~~~~~~~~~~~~~">
<location
@@ -2235,8 +2235,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.textclassifier.TextSelection is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" String entity = textSelection.getEntity(i);"
errorLine2=" ~~~~~~~~~">
<location
@@ -2246,8 +2246,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.textclassifier.TextSelection is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" builder.setEntityType(entity, textSelection.getConfidenceScore(entity));"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
@@ -2257,8 +2257,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.textclassifier.TextSelection is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" new android.view.textclassifier.TextSelection.Builder("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -2268,8 +2268,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.TextSelection is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" builder.setId(getId());"
errorLine2=" ~~~~~">
<location
@@ -2279,8 +2279,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.textclassifier.TextSelection is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" builder.setEntityType(entity, getConfidenceScore(entity));"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -2290,8 +2290,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.textclassifier.TextSelection is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return builder.build();"
errorLine2=" ~~~~~">
<location
@@ -2301,8 +2301,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.TextSelection.Request is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" request.getText(), request.getStartIndex(), request.getEndIndex())"
errorLine2=" ~~~~~~~">
<location
@@ -2312,8 +2312,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.TextSelection.Request is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" request.getText(), request.getStartIndex(), request.getEndIndex())"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -2323,8 +2323,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.TextSelection.Request is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" request.getText(), request.getStartIndex(), request.getEndIndex())"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -2334,8 +2334,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.TextSelection.Request is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setDefaultLocales(ConvertUtils.wrapLocalList(request.getDefaultLocales()))"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -2345,8 +2345,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.TextSelection.Request is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return new android.view.textclassifier.TextSelection.Request.Builder("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -2356,8 +2356,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.TextSelection.Request is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setDefaultLocales(ConvertUtils.unwrapLocalListCompat(mDefaultLocales))"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -2367,8 +2367,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.textclassifier.TextSelection.Request is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .build();"
errorLine2=" ~~~~~">
<location
@@ -2378,8 +2378,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.textclassifier.widget.ToolbarController is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" item.setContentDescription(action.getContentDescription());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -2389,8 +2389,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" textView.getContext().getSystemService(ClipboardManager.class);"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -2400,8 +2400,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.textclassifier.widget.ToolbarController.ActionModeCallback is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (actionMode.getType() == ActionMode.TYPE_FLOATING) {"
errorLine2=" ~~~~~~~">
<location
@@ -2411,8 +2411,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.textclassifier.widget.ToolbarController.ActionModeCallback is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" ((ActionMode.Callback2) mOriginalCallback).onGetContentRect(mode, view, outRect);"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -2422,8 +2422,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.textclassifier.widget.ToolbarController.OnToolbarDismissListener is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mObserver.addOnWindowFocusChangeListener(mTextViewListener);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -2433,8 +2433,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.textclassifier.widget.ToolbarController.OnToolbarDismissListener is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mObserver.addOnWindowAttachListener(mTextViewListener);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -2444,8 +2444,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.textclassifier.widget.ToolbarController.OnToolbarDismissListener is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mObserver.removeOnWindowFocusChangeListener(mTextViewListener);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -2455,8 +2455,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.textclassifier.widget.ToolbarController.OnToolbarDismissListener is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mObserver.removeOnWindowAttachListener(mTextViewListener);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -2466,8 +2466,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.textclassifier.widget.ToolbarController.OnToolbarDismissListener is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mTextView.setCustomInsertionActionModeCallback(mInsertionCallback);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -2477,8 +2477,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.textclassifier.widget.ToolbarController.OnToolbarDismissListener is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (mInsertionCallback == mTextView.getCustomInsertionActionModeCallback()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -2488,8 +2488,8 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.textclassifier.widget.ToolbarController.OnToolbarDismissListener is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mTextView.setCustomInsertionActionModeCallback("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
diff --git a/tracing/tracing/lint-baseline.xml b/tracing/tracing/lint-baseline.xml
index 3e52b9c..2c1ddc6 100644
--- a/tracing/tracing/lint-baseline.xml
+++ b/tracing/tracing/lint-baseline.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta04" client="gradle" variant="debug" version="4.2.0-beta04">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.tracing.Trace 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.tracing.Trace is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return android.os.Trace.isEnabled();"
errorLine2=" ~~~~~~~~~">
<location
diff --git a/transition/transition-ktx/lint-baseline.xml b/transition/transition-ktx/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/transition/transition-ktx/lint-baseline.xml
+++ b/transition/transition-ktx/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/transition/transition/lint-baseline.xml b/transition/transition/lint-baseline.xml
index faaf3dd..91f2af8 100644
--- a/transition/transition/lint-baseline.xml
+++ b/transition/transition/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="BanUncheckedReflection"
@@ -41,7 +41,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/transition/ViewOverlayApi14.java"
- line="289"
+ line="290"
column="21"/>
</issue>
@@ -57,19 +57,8 @@
</issue>
<issue
- id="PrivateConstructorForUtilityClass"
- message="Utility class with non private constructor"
- errorLine1=" private static class ArrayListManager {"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/transition/Transition.java"
- line="2379"
- column="26"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.transition.AnimatorUtils 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.transition.AnimatorUtils is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" animator.addPauseListener(listener);"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -79,8 +68,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.transition.AnimatorUtils 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.transition.AnimatorUtils is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" animator.pause();"
errorLine2=" ~~~~~">
<location
@@ -90,8 +79,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.transition.AnimatorUtils 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.transition.AnimatorUtils is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" animator.resume();"
errorLine2=" ~~~~~~">
<location
@@ -101,8 +90,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.transition.CanvasUtils 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.transition.CanvasUtils is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" canvas.enableZ();"
errorLine2=" ~~~~~~~">
<location
@@ -112,8 +101,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.transition.CanvasUtils 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.transition.CanvasUtils is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" canvas.disableZ();"
errorLine2=" ~~~~~~~~">
<location
@@ -123,8 +112,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.transition.GhostViewHolder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.transition.GhostViewHolder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (view.getZ() != comparedWith.getZ()) {"
errorLine2=" ~~~~">
<location
@@ -134,8 +123,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.transition.GhostViewHolder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.transition.GhostViewHolder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (view.getZ() != comparedWith.getZ()) {"
errorLine2=" ~~~~">
<location
@@ -145,8 +134,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.transition.GhostViewHolder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.transition.GhostViewHolder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return view.getZ() > comparedWith.getZ();"
errorLine2=" ~~~~">
<location
@@ -156,8 +145,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.transition.GhostViewHolder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.transition.GhostViewHolder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return view.getZ() > comparedWith.getZ();"
errorLine2=" ~~~~">
<location
@@ -167,8 +156,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.transition.ImageViewUtils 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.transition.ImageViewUtils is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" view.animateTransform(matrix);"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -178,8 +167,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.transition.ImageViewUtils 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.transition.ImageViewUtils is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" view.animateTransform(matrix);"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -189,8 +178,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.transition.ObjectAnimatorUtils 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.transition.ObjectAnimatorUtils is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return ObjectAnimator.ofObject(target, property, null, path);"
errorLine2=" ~~~~~~~~">
<location
@@ -200,8 +189,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.transition.PropertyValuesHolderUtils 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.transition.PropertyValuesHolderUtils is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return PropertyValuesHolder.ofObject(property, null, path);"
errorLine2=" ~~~~~~~~">
<location
@@ -211,8 +200,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.transition.TransitionUtils 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.transition.TransitionUtils is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" addToOverlay = !view.isAttachedToWindow();"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
@@ -222,8 +211,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.transition.TransitionUtils 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.transition.TransitionUtils is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" sceneRootIsAttached = sceneRoot == null ? false : sceneRoot.isAttachedToWindow();"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
@@ -233,8 +222,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.transition.TransitionUtils 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.transition.TransitionUtils is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" sceneRoot.getOverlay().add(view);"
errorLine2=" ~~~~~~~~~~">
<location
@@ -244,8 +233,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.transition.TransitionUtils 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.transition.TransitionUtils is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" sceneRoot.getOverlay().add(view);"
errorLine2=" ~~~">
<location
@@ -255,8 +244,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.transition.TransitionUtils 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.transition.TransitionUtils is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" bitmap = Bitmap.createBitmap(picture);"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -266,8 +255,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.transition.TransitionUtils 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.transition.TransitionUtils is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" sceneRoot.getOverlay().remove(view);"
errorLine2=" ~~~~~~~~~~">
<location
@@ -277,8 +266,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 18, the call containing class androidx.transition.TransitionUtils 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 18; however, the containing class androidx.transition.TransitionUtils is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" sceneRoot.getOverlay().remove(view);"
errorLine2=" ~~~~~~">
<location
@@ -288,8 +277,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.transition.ViewGroupUtils 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.transition.ViewGroupUtils is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" group.suppressLayout(suppress);"
errorLine2=" ~~~~~~~~~~~~~~">
<location
@@ -299,8 +288,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.transition.ViewGroupUtils 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.transition.ViewGroupUtils is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" group.suppressLayout(suppress);"
errorLine2=" ~~~~~~~~~~~~~~">
<location
@@ -310,8 +299,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.transition.ViewGroupUtils 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.transition.ViewGroupUtils is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return viewGroup.getChildDrawingOrder(i);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
@@ -321,8 +310,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.transition.ViewUtilsApi19 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.transition.ViewUtilsApi19 is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" view.setTransitionAlpha(alpha);"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
@@ -332,8 +321,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.transition.ViewUtilsApi19 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.transition.ViewUtilsApi19 is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return view.getTransitionAlpha();"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
@@ -343,8 +332,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.transition.ViewUtilsApi21 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.transition.ViewUtilsApi21 is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" view.transformMatrixToGlobal(matrix);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -354,8 +343,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.transition.ViewUtilsApi21 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.transition.ViewUtilsApi21 is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" view.transformMatrixToLocal(matrix);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -365,8 +354,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.transition.ViewUtilsApi21 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.transition.ViewUtilsApi21 is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" view.setAnimationMatrix(matrix);"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
@@ -376,8 +365,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.transition.ViewUtilsApi22 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.transition.ViewUtilsApi22 is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" v.setLeftTopRightBottom(left, top, right, bottom);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -387,8 +376,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.transition.ViewUtilsApi23 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.transition.ViewUtilsApi23 is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" view.setTransitionVisibility(visibility);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -398,6 +387,17 @@
</issue>
<issue
+ id="PrivateConstructorForUtilityClass"
+ message="Utility class with non private constructor"
+ errorLine1=" private static class ArrayListManager {"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/transition/Transition.java"
+ line="2366"
+ column="26"/>
+ </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 long getStartDelay(ViewGroup sceneRoot, Transition transition,"
@@ -1280,66 +1280,11 @@
<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=" protected void createAnimators(ViewGroup sceneRoot, TransitionValuesMaps startValues,"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/transition/Transition.java"
- line="701"
- column="36"/>
- </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=" protected void createAnimators(ViewGroup sceneRoot, TransitionValuesMaps startValues,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/transition/Transition.java"
- line="701"
- column="57"/>
- </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=" TransitionValuesMaps endValues, ArrayList<TransitionValues> startValuesList,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/transition/Transition.java"
- line="702"
- column="13"/>
- </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=" TransitionValuesMaps endValues, ArrayList<TransitionValues> startValuesList,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/transition/Transition.java"
- line="702"
- column="45"/>
- </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=" ArrayList<TransitionValues> endValuesList) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/transition/Transition.java"
- line="703"
- column="13"/>
- </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 pause(View sceneRoot) {"
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/transition/Transition.java"
- line="1715"
+ line="1712"
column="23"/>
</issue>
@@ -1350,7 +1295,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/transition/Transition.java"
- line="1747"
+ line="1739"
column="24"/>
</issue>
@@ -1361,7 +1306,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/transition/Transition.java"
- line="1894"
+ line="1881"
column="28"/>
</issue>
@@ -1372,7 +1317,7 @@
errorLine2=" ~~~~~~~~~~">
<location
file="src/main/java/androidx/transition/Transition.java"
- line="2214"
+ line="2201"
column="12"/>
</issue>
@@ -1383,7 +1328,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/transition/Transition.java"
- line="2437"
+ line="2424"
column="25"/>
</issue>
@@ -1511,66 +1456,11 @@
<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=" protected void createAnimators(ViewGroup sceneRoot, TransitionValuesMaps startValues,"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/transition/TransitionSet.java"
- line="463"
- column="36"/>
- </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=" protected void createAnimators(ViewGroup sceneRoot, TransitionValuesMaps startValues,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/transition/TransitionSet.java"
- line="463"
- column="57"/>
- </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=" TransitionValuesMaps endValues, ArrayList<TransitionValues> startValuesList,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/transition/TransitionSet.java"
- line="464"
- column="13"/>
- </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=" TransitionValuesMaps endValues, ArrayList<TransitionValues> startValuesList,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/transition/TransitionSet.java"
- line="464"
- column="45"/>
- </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=" ArrayList<TransitionValues> endValuesList) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/transition/TransitionSet.java"
- line="465"
- column="13"/>
- </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 pause(View sceneRoot) {"
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/transition/TransitionSet.java"
- line="558"
+ line="554"
column="23"/>
</issue>
@@ -1581,7 +1471,7 @@
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/transition/TransitionSet.java"
- line="569"
+ line="565"
column="24"/>
</issue>
@@ -1592,7 +1482,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/transition/TransitionSet.java"
- line="609"
+ line="605"
column="32"/>
</issue>
@@ -1603,7 +1493,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/transition/TransitionSet.java"
- line="619"
+ line="615"
column="38"/>
</issue>
@@ -1614,7 +1504,7 @@
errorLine2=" ~~~~~~~~~~">
<location
file="src/main/java/androidx/transition/TransitionSet.java"
- line="638"
+ line="634"
column="12"/>
</issue>
diff --git a/tv-provider/tv-provider/lint-baseline.xml b/tv-provider/tv-provider/lint-baseline.xml
index 6cc188e..d9c3813b 100644
--- a/tv-provider/tv-provider/lint-baseline.xml
+++ b/tv-provider/tv-provider/lint-baseline.xml
@@ -1,20 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
- id="PrivateConstructorForUtilityClass"
- message="Utility class with non private constructor"
- errorLine1="public class ChannelLogoUtils {"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/tvprovider/media/tv/ChannelLogoUtils.java"
- line="42"
- column="14"/>
- </issue>
-
- <issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.tvprovider.media.tv.TvContractCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.tvprovider.media.tv.TvContractCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return TvContract.buildRecordedProgramUri(recordedProgramId);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -24,8 +13,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.tvprovider.media.tv.TvContractCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.tvprovider.media.tv.TvContractCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return TvContract.isChannelUri(uri);"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -35,8 +24,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.tvprovider.media.tv.TvContractCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.tvprovider.media.tv.TvContractCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return TvContract.isChannelUriForTunerInput(uri);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -46,8 +35,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.tvprovider.media.tv.TvContractCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.tvprovider.media.tv.TvContractCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return TvContract.isChannelUriForPassthroughInput(uri);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -57,8 +46,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.tvprovider.media.tv.TvContractCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.tvprovider.media.tv.TvContractCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return TvContract.isProgramUri(uri);"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -68,8 +57,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.tvprovider.media.tv.TvContractCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.tvprovider.media.tv.TvContractCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" TvContract.requestChannelBrowsable(context, channelId);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -79,6 +68,17 @@
</issue>
<issue
+ id="PrivateConstructorForUtilityClass"
+ message="Utility class with non private constructor"
+ errorLine1="public class ChannelLogoUtils {"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/tvprovider/media/tv/ChannelLogoUtils.java"
+ line="43"
+ column="14"/>
+ </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 String getInternalProviderId() {"
@@ -2259,17 +2259,6 @@
<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 Bitmap loadChannelLogo(@NonNull Context context, long channelId) {"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/tvprovider/media/tv/ChannelLogoUtils.java"
- line="155"
- 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 <T> T[] concatAll(T[] first, T[]... rest) {"
errorLine2=" ~~~">
<location
@@ -2725,7 +2714,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/tvprovider/media/tv/PreviewChannelHelper.java"
- line="191"
+ line="192"
column="12"/>
</issue>
@@ -2736,7 +2725,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/tvprovider/media/tv/PreviewChannelHelper.java"
- line="349"
+ line="350"
column="15"/>
</issue>
diff --git a/vectordrawable/integration-tests/testapp/lint-baseline.xml b/vectordrawable/integration-tests/testapp/lint-baseline.xml
index 29609c1..a1fa69f 100644
--- a/vectordrawable/integration-tests/testapp/lint-baseline.xml
+++ b/vectordrawable/integration-tests/testapp/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="NewApi"
diff --git a/vectordrawable/vectordrawable-animated/lint-baseline.xml b/vectordrawable/vectordrawable-animated/lint-baseline.xml
index 22e3467..dae6dac 100644
--- a/vectordrawable/vectordrawable-animated/lint-baseline.xml
+++ b/vectordrawable/vectordrawable-animated/lint-baseline.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.vectordrawable.graphics.drawable.AnimatedVectorDrawableCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.vectordrawable.graphics.drawable.AnimatedVectorDrawableCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return dr.unregisterAnimationCallback(callback.getPlatformCallback());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -13,8 +13,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.vectordrawable.graphics.drawable.AnimatedVectorDrawableCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.vectordrawable.graphics.drawable.AnimatedVectorDrawableCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" avd.registerAnimationCallback(callback.getPlatformCallback());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -24,8 +24,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.vectordrawable.graphics.drawable.AnimatedVectorDrawableCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.vectordrawable.graphics.drawable.AnimatedVectorDrawableCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" ((AnimatedVectorDrawable) mDelegateDrawable).clearAnimationCallbacks();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -35,8 +35,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.vectordrawable.graphics.drawable.AnimatedVectorDrawableCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.vectordrawable.graphics.drawable.AnimatedVectorDrawableCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" ((AnimatedVectorDrawable) dr).clearAnimationCallbacks();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
diff --git a/vectordrawable/vectordrawable-seekable/lint-baseline.xml b/vectordrawable/vectordrawable-seekable/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/vectordrawable/vectordrawable-seekable/lint-baseline.xml
+++ b/vectordrawable/vectordrawable-seekable/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/vectordrawable/vectordrawable/lint-baseline.xml b/vectordrawable/vectordrawable/lint-baseline.xml
index 51c5fb4..cebac91 100644
--- a/vectordrawable/vectordrawable/lint-baseline.xml
+++ b/vectordrawable/vectordrawable/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="LambdaLast"
diff --git a/versionedparcelable/versionedparcelable-compiler/lint-baseline.xml b/versionedparcelable/versionedparcelable-compiler/lint-baseline.xml
index bc94e91..0a058be 100644
--- a/versionedparcelable/versionedparcelable-compiler/lint-baseline.xml
+++ b/versionedparcelable/versionedparcelable-compiler/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
<issue
id="BanSynchronizedMethods"
diff --git a/versionedparcelable/versionedparcelable/lint-baseline.xml b/versionedparcelable/versionedparcelable/lint-baseline.xml
index 61f84f7..92eccb0 100644
--- a/versionedparcelable/versionedparcelable/lint-baseline.xml
+++ b/versionedparcelable/versionedparcelable/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="BanUncheckedReflection"
@@ -8,7 +8,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/versionedparcelable/VersionedParcel.java"
- line="1567"
+ line="1615"
column="24"/>
</issue>
@@ -19,84 +19,85 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/versionedparcelable/VersionedParcel.java"
- line="1592"
+ line="1642"
column="13"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.versionedparcelable.VersionedParcel 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.versionedparcelable.VersionedParcel is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" writeInt(val.getWidth());"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/versionedparcelable/VersionedParcel.java"
- line="518"
+ line="537"
column="26"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.versionedparcelable.VersionedParcel 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.versionedparcelable.VersionedParcel is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" writeInt(val.getHeight());"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/versionedparcelable/VersionedParcel.java"
- line="519"
+ line="538"
column="26"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.versionedparcelable.VersionedParcel 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.versionedparcelable.VersionedParcel is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" writeFloat(val.getWidth());"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/versionedparcelable/VersionedParcel.java"
- line="532"
+ line="551"
column="28"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.versionedparcelable.VersionedParcel 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.versionedparcelable.VersionedParcel is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" writeFloat(val.getHeight());"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/versionedparcelable/VersionedParcel.java"
- line="533"
+ line="552"
column="28"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.versionedparcelable.VersionedParcel 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.versionedparcelable.VersionedParcel is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return new Size(width, height);"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/versionedparcelable/VersionedParcel.java"
- line="1263"
+ line="1291"
column="20"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.versionedparcelable.VersionedParcel 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.versionedparcelable.VersionedParcel is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return new SizeF(width, height);"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/versionedparcelable/VersionedParcel.java"
- line="1279"
+ line="1308"
column="20"/>
</issue>
<issue
id="LambdaLast"
message="Functional interface parameters (such as parameter 1, "val", in androidx.versionedparcelable.VersionedParcel.writeStrongInterface) should be last to improve Kotlin interoperability; see https://kotlinlang.org/docs/reference/java-interop.html#sam-conversions"
- errorLine1=" public void writeStrongInterface(IInterface val, int fieldId) {"
- errorLine2=" ~~~~~~~~~~~">
+ errorLine1=" public void writeStrongInterface(@Nullable IInterface val, int fieldId) {"
+ errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/androidx/versionedparcelable/VersionedParcel.java"
- line="276"
- column="54"/>
+ line="290"
+ column="64"/>
</issue>
-</issues>
\ No newline at end of file
+
+</issues>
diff --git a/viewpager/viewpager/lint-baseline.xml b/viewpager/viewpager/lint-baseline.xml
index 85e4788..90974b3 100644
--- a/viewpager/viewpager/lint-baseline.xml
+++ b/viewpager/viewpager/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="LambdaLast"
diff --git a/viewpager2/integration-tests/testapp/lint-baseline.xml b/viewpager2/integration-tests/testapp/lint-baseline.xml
index 84332bc..4a9e0bef 100644
--- a/viewpager2/integration-tests/testapp/lint-baseline.xml
+++ b/viewpager2/integration-tests/testapp/lint-baseline.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" textDirection = View.TEXT_DIRECTION_LOCALE"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -13,8 +13,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" textDirection = View.TEXT_DIRECTION_LOCALE"
errorLine2=" ~~~~~~~~~~~~~">
<location
diff --git a/viewpager2/viewpager2/lint-baseline.xml b/viewpager2/viewpager2/lint-baseline.xml
index f98e079..1056cc1 100644
--- a/viewpager2/viewpager2/lint-baseline.xml
+++ b/viewpager2/viewpager2/lint-baseline.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.viewpager2.widget.ViewPager2 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.viewpager2.widget.ViewPager2 is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" super(context, attrs, defStyleAttr, defStyleRes);"
errorLine2=" ~~~~~">
<location
@@ -13,8 +13,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.viewpager2.widget.ViewPager2.SavedState 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.viewpager2.widget.ViewPager2.SavedState is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" super(source, loader);"
errorLine2=" ~~~~~">
<location
@@ -24,8 +24,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.viewpager2.widget.ViewPager2 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.viewpager2.widget.ViewPager2 is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (applied.isConsumed()) {"
errorLine2=" ~~~~~~~~~~">
<location
@@ -35,8 +35,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.viewpager2.widget.ViewPager2 is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.viewpager2.widget.ViewPager2 is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mRecyclerView.getChildAt(i).dispatchApplyWindowInsets(new WindowInsets(applied));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -46,8 +46,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.viewpager2.widget.ViewPager2 is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.viewpager2.widget.ViewPager2 is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mRecyclerView.getChildAt(i).dispatchApplyWindowInsets(new WindowInsets(applied));"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -57,8 +57,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 20, the call containing class androidx.viewpager2.widget.ViewPager2 is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 20; however, the containing class androidx.viewpager2.widget.ViewPager2 is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return insets.consumeSystemWindowInsets().consumeStableInsets();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -68,8 +68,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.viewpager2.widget.ViewPager2 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.viewpager2.widget.ViewPager2 is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return insets.consumeSystemWindowInsets().consumeStableInsets();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
diff --git a/wear/tiles/tiles-renderer/build.gradle b/wear/tiles/tiles-renderer/build.gradle
index 32205cd..622d6c7 100644
--- a/wear/tiles/tiles-renderer/build.gradle
+++ b/wear/tiles/tiles-renderer/build.gradle
@@ -32,7 +32,7 @@
dependencies {
api("androidx.annotation:annotation:1.1.0")
api(GUAVA_LISTENABLE_FUTURE)
- implementation 'androidx.annotation:annotation:1.2.0-alpha01'
+
implementation "androidx.concurrent:concurrent-futures:1.1.0"
implementation "androidx.core:core:1.3.2"
implementation(project(":wear:tiles:tiles"))
diff --git a/wear/tiles/tiles/build.gradle b/wear/tiles/tiles/build.gradle
index fca8f64..d09b526 100644
--- a/wear/tiles/tiles/build.gradle
+++ b/wear/tiles/tiles/build.gradle
@@ -29,8 +29,7 @@
api("androidx.annotation:annotation:1.1.0")
api(GUAVA_LISTENABLE_FUTURE)
- implementation 'androidx.annotation:annotation:1.2.0-alpha01'
- implementation(project(":annotation:annotation-experimental"))
+ implementation("androidx.annotation:annotation-experimental:1.1.0")
implementation(project(path: ":wear:tiles:tiles-proto", configuration: "shadow"))
compileOnly(KOTLIN_STDLIB) // For annotation-experimental
diff --git a/wear/tiles/tiles/lint-baseline.xml b/wear/tiles/tiles/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/wear/tiles/tiles/lint-baseline.xml
+++ b/wear/tiles/tiles/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/wear/tiles/tiles/src/main/java/androidx/wear/tiles/TileProviderService.java b/wear/tiles/tiles/src/main/java/androidx/wear/tiles/TileProviderService.java
index 5241bc0..27bb1a1 100644
--- a/wear/tiles/tiles/src/main/java/androidx/wear/tiles/TileProviderService.java
+++ b/wear/tiles/tiles/src/main/java/androidx/wear/tiles/TileProviderService.java
@@ -79,8 +79,11 @@
public static final String METADATA_PREVIEW_KEY = "androidx.wear.tiles.PREVIEW";
/**
- * Called when the system is requesting a new timeline from this Tile Provider. Note that this
- * may be called from a background thread.
+ * Called when the system is requesting a new timeline from this Tile Provider. The returned
+ * future must complete after at most 10 seconds from the moment this method is called (exact
+ * timeout length subject to change).
+ *
+ * <p>Note that this is called from your app's main thread, which is usually also the UI thread.
*
* @param requestParams Parameters about the request. See {@link TileRequest} for more info.
*/
@@ -89,8 +92,11 @@
protected abstract ListenableFuture<Tile> onTileRequest(@NonNull TileRequest requestParams);
/**
- * Called when the system is requesting a resource bundle from this Tile Provider. Note that
- * this may be called from a background thread.
+ * Called when the system is requesting a resource bundle from this Tile Provider. The returned
+ * future must complete after at most 10 seconds from the moment this method is called (exact
+ * timeout length subject to change).
+ *
+ * <p>Note that this is called from your app's main thread, which is usually also the UI thread.
*
* @param requestParams Parameters about the request. See {@link ResourcesRequest} for more
* info.
@@ -101,8 +107,9 @@
@NonNull ResourcesRequest requestParams);
/**
- * Called when a tile provided by this Tile Provider is added to the carousel. Note that this
- * may be called from a background thread.
+ * Called when a tile provided by this Tile Provider is added to the carousel.
+ *
+ * <p>Note that this is called from your app's main thread, which is usually also the UI thread.
*
* @param requestParams Parameters about the request. See {@link TileAddEvent} for more info.
*/
@@ -110,8 +117,9 @@
protected void onTileAddEvent(@NonNull TileAddEvent requestParams) {}
/**
- * Called when a tile provided by this Tile Provider is removed from the carousel. Note that
- * this may be called from a background thread.
+ * Called when a tile provided by this Tile Provider is removed from the carousel.
+ *
+ * <p>Note that this is called from your app's main thread, which is usually also the UI thread.
*
* @param requestParams Parameters about the request. See {@link TileRemoveEvent} for more info.
*/
@@ -119,8 +127,9 @@
protected void onTileRemoveEvent(@NonNull TileRemoveEvent requestParams) {}
/**
- * Called when a tile provided by this Tile Provider becomes into view, on screen. Note that
- * this may be called from a background thread.
+ * Called when a tile provided by this Tile Provider becomes into view, on screen.
+ *
+ * <p>Note that this is called from your app's main thread, which is usually also the UI thread.
*
* @param requestParams Parameters about the request. See {@link TileEnterEvent} for more info.
*/
@@ -128,8 +137,9 @@
protected void onTileEnterEvent(@NonNull TileEnterEvent requestParams) {}
/**
- * Called when a tile provided by this Tile Provider goes out of view, on screen. Note that this
- * may be called from a background thread.
+ * Called when a tile provided by this Tile Provider goes out of view, on screen.
+ *
+ * <p>Note that this is called from your app's main thread, which is usually also the UI thread.
*
* @param requestParams Parameters about the request. See {@link TileLeaveEvent} for more info.
*/
diff --git a/wear/wear-complications-data/api/current.txt b/wear/wear-complications-data/api/current.txt
index c03b108..0b863d4 100644
--- a/wear/wear-complications-data/api/current.txt
+++ b/wear/wear-complications-data/api/current.txt
@@ -1,143 +1,4 @@
// Signature format: 4.0
-package android.support.wearable.complications {
-
- public final class ComplicationData implements android.os.Parcelable {
- method public int describeContents();
- method public android.graphics.drawable.Icon? getBurnInProtectionIcon();
- method public android.graphics.drawable.Icon? getBurnInProtectionSmallImage();
- method public android.support.wearable.complications.ComplicationText? getContentDescription();
- method public long getEndDateTimeMillis();
- method public android.graphics.drawable.Icon? getIcon();
- method public android.graphics.drawable.Icon? getLargeImage();
- method public android.support.wearable.complications.ComplicationText? getLongText();
- method public android.support.wearable.complications.ComplicationText? getLongTitle();
- method public float getRangedMaxValue();
- method public float getRangedMinValue();
- method public float getRangedValue();
- method public android.support.wearable.complications.ComplicationText? getShortText();
- method public android.support.wearable.complications.ComplicationText? getShortTitle();
- method public android.graphics.drawable.Icon? getSmallImage();
- method public int getSmallImageStyle();
- method public long getStartDateTimeMillis();
- method public android.app.PendingIntent? getTapAction();
- method public int getType();
- method public boolean hasBurnInProtectionIcon();
- method public boolean hasBurnInProtectionSmallImage();
- method public boolean hasContentDescription();
- method public boolean hasIcon();
- method public boolean hasLargeImage();
- method public boolean hasLongText();
- method public boolean hasLongTitle();
- method public boolean hasRangedMaxValue();
- method public boolean hasRangedMinValue();
- method public boolean hasRangedValue();
- method public boolean hasShortText();
- method public boolean hasShortTitle();
- method public boolean hasSmallImage();
- method public boolean hasTapAction();
- method public boolean isActiveAt(long);
- method public boolean isTimeDependent();
- method public void writeToParcel(android.os.Parcel, int);
- field public static final android.os.Parcelable.Creator<android.support.wearable.complications.ComplicationData!> CREATOR;
- field public static final int IMAGE_STYLE_ICON = 2; // 0x2
- field public static final int IMAGE_STYLE_PHOTO = 1; // 0x1
- field public static final int TYPE_EMPTY = 2; // 0x2
- field public static final int TYPE_ICON = 6; // 0x6
- field public static final int TYPE_LARGE_IMAGE = 8; // 0x8
- field public static final int TYPE_LONG_TEXT = 4; // 0x4
- field public static final int TYPE_NOT_CONFIGURED = 1; // 0x1
- field public static final int TYPE_NO_DATA = 10; // 0xa
- field public static final int TYPE_NO_PERMISSION = 9; // 0x9
- field public static final int TYPE_RANGED_VALUE = 5; // 0x5
- field public static final int TYPE_SHORT_TEXT = 3; // 0x3
- field public static final int TYPE_SMALL_IMAGE = 7; // 0x7
- }
-
- public static final class ComplicationData.Builder {
- ctor public ComplicationData.Builder(android.support.wearable.complications.ComplicationData);
- ctor public ComplicationData.Builder(int);
- method public android.support.wearable.complications.ComplicationData build();
- method public android.support.wearable.complications.ComplicationData.Builder clearEndDateTime();
- method public android.support.wearable.complications.ComplicationData.Builder clearStartDateTime();
- method public android.support.wearable.complications.ComplicationData.Builder setBurnInProtectionIcon(android.graphics.drawable.Icon?);
- method public android.support.wearable.complications.ComplicationData.Builder setBurnInProtectionSmallImage(android.graphics.drawable.Icon?);
- method public android.support.wearable.complications.ComplicationData.Builder setContentDescription(android.support.wearable.complications.ComplicationText?);
- method public android.support.wearable.complications.ComplicationData.Builder setEndDateTimeMillis(long);
- method public android.support.wearable.complications.ComplicationData.Builder setIcon(android.graphics.drawable.Icon?);
- method public android.support.wearable.complications.ComplicationData.Builder setLargeImage(android.graphics.drawable.Icon?);
- method public android.support.wearable.complications.ComplicationData.Builder setLongText(android.support.wearable.complications.ComplicationText?);
- method public android.support.wearable.complications.ComplicationData.Builder setLongTitle(android.support.wearable.complications.ComplicationText?);
- method public android.support.wearable.complications.ComplicationData.Builder setRangedMaxValue(float);
- method public android.support.wearable.complications.ComplicationData.Builder setRangedMinValue(float);
- method public android.support.wearable.complications.ComplicationData.Builder setRangedValue(float);
- method public android.support.wearable.complications.ComplicationData.Builder setShortText(android.support.wearable.complications.ComplicationText?);
- method public android.support.wearable.complications.ComplicationData.Builder setShortTitle(android.support.wearable.complications.ComplicationText?);
- method public android.support.wearable.complications.ComplicationData.Builder setSmallImage(android.graphics.drawable.Icon?);
- method public android.support.wearable.complications.ComplicationData.Builder setSmallImageStyle(int);
- method public android.support.wearable.complications.ComplicationData.Builder setStartDateTimeMillis(long);
- method public android.support.wearable.complications.ComplicationData.Builder setTapAction(android.app.PendingIntent?);
- }
-
- public final class ComplicationProviderInfo implements android.os.Parcelable {
- ctor public ComplicationProviderInfo(String, String, android.graphics.drawable.Icon, int, android.content.ComponentName);
- ctor public ComplicationProviderInfo(android.os.Parcel);
- method public int describeContents();
- method public String? getAppName();
- method public int getComplicationType();
- method public android.content.ComponentName? getProviderComponentName();
- method public android.graphics.drawable.Icon? getProviderIcon();
- method public String? getProviderName();
- method public void setAppName(String);
- method public void setComplicationType(int);
- method public void setProviderComponentName(android.content.ComponentName);
- method public void setProviderIcon(android.graphics.drawable.Icon);
- method public void setProviderName(String);
- method public void writeToParcel(android.os.Parcel, int);
- field public static final android.os.Parcelable.Creator<android.support.wearable.complications.ComplicationProviderInfo!> CREATOR;
- }
-
- public final class ComplicationText implements android.os.Parcelable {
- method public int describeContents();
- method public long getNextChangeTime(long);
- method public CharSequence getTextAt(android.content.res.Resources, long);
- method public boolean isAlwaysEmpty();
- method public static android.support.wearable.complications.ComplicationText plainText(CharSequence);
- method public boolean returnsSameText(long, long);
- method public void writeToParcel(android.os.Parcel, int);
- field public static final android.os.Parcelable.Creator<android.support.wearable.complications.ComplicationText!> CREATOR;
- field public static final int DIFFERENCE_STYLE_SHORT_DUAL_UNIT = 3; // 0x3
- field public static final int DIFFERENCE_STYLE_SHORT_SINGLE_UNIT = 2; // 0x2
- field public static final int DIFFERENCE_STYLE_SHORT_WORDS_SINGLE_UNIT = 5; // 0x5
- field public static final int DIFFERENCE_STYLE_STOPWATCH = 1; // 0x1
- field public static final int DIFFERENCE_STYLE_WORDS_SINGLE_UNIT = 4; // 0x4
- field public static final int FORMAT_STYLE_DEFAULT = 1; // 0x1
- field public static final int FORMAT_STYLE_LOWER_CASE = 3; // 0x3
- field public static final int FORMAT_STYLE_UPPER_CASE = 2; // 0x2
- }
-
- public static final class ComplicationText.TimeDifferenceBuilder {
- ctor public ComplicationText.TimeDifferenceBuilder();
- ctor public ComplicationText.TimeDifferenceBuilder(long, long);
- method public android.support.wearable.complications.ComplicationText build();
- method public android.support.wearable.complications.ComplicationText.TimeDifferenceBuilder setMinimumUnit(java.util.concurrent.TimeUnit?);
- method public android.support.wearable.complications.ComplicationText.TimeDifferenceBuilder setReferencePeriodEndMillis(long);
- method public android.support.wearable.complications.ComplicationText.TimeDifferenceBuilder setReferencePeriodStartMillis(long);
- method public android.support.wearable.complications.ComplicationText.TimeDifferenceBuilder setShowNowText(boolean);
- method public android.support.wearable.complications.ComplicationText.TimeDifferenceBuilder setStyle(int);
- method public android.support.wearable.complications.ComplicationText.TimeDifferenceBuilder setSurroundingText(CharSequence?);
- }
-
- public static final class ComplicationText.TimeFormatBuilder {
- ctor public ComplicationText.TimeFormatBuilder();
- method public android.support.wearable.complications.ComplicationText build();
- method public android.support.wearable.complications.ComplicationText.TimeFormatBuilder setFormat(String?);
- method public android.support.wearable.complications.ComplicationText.TimeFormatBuilder setStyle(int);
- method public android.support.wearable.complications.ComplicationText.TimeFormatBuilder setSurroundingText(CharSequence?);
- method public android.support.wearable.complications.ComplicationText.TimeFormatBuilder setTimeZone(java.util.TimeZone?);
- }
-
-}
-
package androidx.wear.complications {
public final class ComplicationBounds {
@@ -147,6 +8,20 @@
property public final java.util.Map<androidx.wear.complications.data.ComplicationType,android.graphics.RectF> perComplicationTypeBounds;
}
+ public final class ComplicationProviderInfo {
+ ctor public ComplicationProviderInfo(String appName, String name, android.graphics.drawable.Icon icon, androidx.wear.complications.data.ComplicationType type, android.content.ComponentName componentName);
+ method public String getAppName();
+ method public android.content.ComponentName getComponentName();
+ method public android.graphics.drawable.Icon getIcon();
+ method public String getName();
+ method public androidx.wear.complications.data.ComplicationType getType();
+ property public final String appName;
+ property public final android.content.ComponentName componentName;
+ property public final android.graphics.drawable.Icon icon;
+ property public final String name;
+ property public final androidx.wear.complications.data.ComplicationType type;
+ }
+
public final class DefaultComplicationProviderPolicy {
ctor public DefaultComplicationProviderPolicy();
ctor public DefaultComplicationProviderPolicy(int systemProvider);
@@ -169,9 +44,9 @@
}
public static final class ProviderInfoRetriever.ProviderInfo {
- method public android.support.wearable.complications.ComplicationProviderInfo? getInfo();
+ method public androidx.wear.complications.ComplicationProviderInfo? getInfo();
method public int getWatchFaceComplicationId();
- property public final android.support.wearable.complications.ComplicationProviderInfo? info;
+ property public final androidx.wear.complications.ComplicationProviderInfo? info;
property public final int watchFaceComplicationId;
}
@@ -179,6 +54,9 @@
ctor public ProviderInfoRetriever.ServiceDisconnectedException();
}
+ public final class ProviderInfoRetrieverKt {
+ }
+
public class SystemProviders {
field public static final int NO_PROVIDER = -1; // 0xffffffff
field public static final int PROVIDER_APP_SHORTCUT = 6; // 0x6
diff --git a/wear/wear-complications-data/api/public_plus_experimental_current.txt b/wear/wear-complications-data/api/public_plus_experimental_current.txt
index 87de383..450b847 100644
--- a/wear/wear-complications-data/api/public_plus_experimental_current.txt
+++ b/wear/wear-complications-data/api/public_plus_experimental_current.txt
@@ -1,143 +1,4 @@
// Signature format: 4.0
-package android.support.wearable.complications {
-
- public final class ComplicationData implements android.os.Parcelable {
- method public int describeContents();
- method public android.graphics.drawable.Icon? getBurnInProtectionIcon();
- method public android.graphics.drawable.Icon? getBurnInProtectionSmallImage();
- method public android.support.wearable.complications.ComplicationText? getContentDescription();
- method public long getEndDateTimeMillis();
- method public android.graphics.drawable.Icon? getIcon();
- method public android.graphics.drawable.Icon? getLargeImage();
- method public android.support.wearable.complications.ComplicationText? getLongText();
- method public android.support.wearable.complications.ComplicationText? getLongTitle();
- method public float getRangedMaxValue();
- method public float getRangedMinValue();
- method public float getRangedValue();
- method public android.support.wearable.complications.ComplicationText? getShortText();
- method public android.support.wearable.complications.ComplicationText? getShortTitle();
- method public android.graphics.drawable.Icon? getSmallImage();
- method public int getSmallImageStyle();
- method public long getStartDateTimeMillis();
- method public android.app.PendingIntent? getTapAction();
- method public int getType();
- method public boolean hasBurnInProtectionIcon();
- method public boolean hasBurnInProtectionSmallImage();
- method public boolean hasContentDescription();
- method public boolean hasIcon();
- method public boolean hasLargeImage();
- method public boolean hasLongText();
- method public boolean hasLongTitle();
- method public boolean hasRangedMaxValue();
- method public boolean hasRangedMinValue();
- method public boolean hasRangedValue();
- method public boolean hasShortText();
- method public boolean hasShortTitle();
- method public boolean hasSmallImage();
- method public boolean hasTapAction();
- method public boolean isActiveAt(long);
- method public boolean isTimeDependent();
- method public void writeToParcel(android.os.Parcel, int);
- field public static final android.os.Parcelable.Creator<android.support.wearable.complications.ComplicationData!> CREATOR;
- field public static final int IMAGE_STYLE_ICON = 2; // 0x2
- field public static final int IMAGE_STYLE_PHOTO = 1; // 0x1
- field public static final int TYPE_EMPTY = 2; // 0x2
- field public static final int TYPE_ICON = 6; // 0x6
- field public static final int TYPE_LARGE_IMAGE = 8; // 0x8
- field public static final int TYPE_LONG_TEXT = 4; // 0x4
- field public static final int TYPE_NOT_CONFIGURED = 1; // 0x1
- field public static final int TYPE_NO_DATA = 10; // 0xa
- field public static final int TYPE_NO_PERMISSION = 9; // 0x9
- field public static final int TYPE_RANGED_VALUE = 5; // 0x5
- field public static final int TYPE_SHORT_TEXT = 3; // 0x3
- field public static final int TYPE_SMALL_IMAGE = 7; // 0x7
- }
-
- public static final class ComplicationData.Builder {
- ctor public ComplicationData.Builder(android.support.wearable.complications.ComplicationData);
- ctor public ComplicationData.Builder(int);
- method public android.support.wearable.complications.ComplicationData build();
- method public android.support.wearable.complications.ComplicationData.Builder clearEndDateTime();
- method public android.support.wearable.complications.ComplicationData.Builder clearStartDateTime();
- method public android.support.wearable.complications.ComplicationData.Builder setBurnInProtectionIcon(android.graphics.drawable.Icon?);
- method public android.support.wearable.complications.ComplicationData.Builder setBurnInProtectionSmallImage(android.graphics.drawable.Icon?);
- method public android.support.wearable.complications.ComplicationData.Builder setContentDescription(android.support.wearable.complications.ComplicationText?);
- method public android.support.wearable.complications.ComplicationData.Builder setEndDateTimeMillis(long);
- method public android.support.wearable.complications.ComplicationData.Builder setIcon(android.graphics.drawable.Icon?);
- method public android.support.wearable.complications.ComplicationData.Builder setLargeImage(android.graphics.drawable.Icon?);
- method public android.support.wearable.complications.ComplicationData.Builder setLongText(android.support.wearable.complications.ComplicationText?);
- method public android.support.wearable.complications.ComplicationData.Builder setLongTitle(android.support.wearable.complications.ComplicationText?);
- method public android.support.wearable.complications.ComplicationData.Builder setRangedMaxValue(float);
- method public android.support.wearable.complications.ComplicationData.Builder setRangedMinValue(float);
- method public android.support.wearable.complications.ComplicationData.Builder setRangedValue(float);
- method public android.support.wearable.complications.ComplicationData.Builder setShortText(android.support.wearable.complications.ComplicationText?);
- method public android.support.wearable.complications.ComplicationData.Builder setShortTitle(android.support.wearable.complications.ComplicationText?);
- method public android.support.wearable.complications.ComplicationData.Builder setSmallImage(android.graphics.drawable.Icon?);
- method public android.support.wearable.complications.ComplicationData.Builder setSmallImageStyle(int);
- method public android.support.wearable.complications.ComplicationData.Builder setStartDateTimeMillis(long);
- method public android.support.wearable.complications.ComplicationData.Builder setTapAction(android.app.PendingIntent?);
- }
-
- public final class ComplicationProviderInfo implements android.os.Parcelable {
- ctor public ComplicationProviderInfo(String, String, android.graphics.drawable.Icon, int, android.content.ComponentName);
- ctor public ComplicationProviderInfo(android.os.Parcel);
- method public int describeContents();
- method public String? getAppName();
- method public int getComplicationType();
- method public android.content.ComponentName? getProviderComponentName();
- method public android.graphics.drawable.Icon? getProviderIcon();
- method public String? getProviderName();
- method public void setAppName(String);
- method public void setComplicationType(int);
- method public void setProviderComponentName(android.content.ComponentName);
- method public void setProviderIcon(android.graphics.drawable.Icon);
- method public void setProviderName(String);
- method public void writeToParcel(android.os.Parcel, int);
- field public static final android.os.Parcelable.Creator<android.support.wearable.complications.ComplicationProviderInfo!> CREATOR;
- }
-
- public final class ComplicationText implements android.os.Parcelable {
- method public int describeContents();
- method public long getNextChangeTime(long);
- method public CharSequence getTextAt(android.content.res.Resources, long);
- method public boolean isAlwaysEmpty();
- method public static android.support.wearable.complications.ComplicationText plainText(CharSequence);
- method public boolean returnsSameText(long, long);
- method public void writeToParcel(android.os.Parcel, int);
- field public static final android.os.Parcelable.Creator<android.support.wearable.complications.ComplicationText!> CREATOR;
- field public static final int DIFFERENCE_STYLE_SHORT_DUAL_UNIT = 3; // 0x3
- field public static final int DIFFERENCE_STYLE_SHORT_SINGLE_UNIT = 2; // 0x2
- field public static final int DIFFERENCE_STYLE_SHORT_WORDS_SINGLE_UNIT = 5; // 0x5
- field public static final int DIFFERENCE_STYLE_STOPWATCH = 1; // 0x1
- field public static final int DIFFERENCE_STYLE_WORDS_SINGLE_UNIT = 4; // 0x4
- field public static final int FORMAT_STYLE_DEFAULT = 1; // 0x1
- field public static final int FORMAT_STYLE_LOWER_CASE = 3; // 0x3
- field public static final int FORMAT_STYLE_UPPER_CASE = 2; // 0x2
- }
-
- public static final class ComplicationText.TimeDifferenceBuilder {
- ctor public ComplicationText.TimeDifferenceBuilder();
- ctor public ComplicationText.TimeDifferenceBuilder(long, long);
- method public android.support.wearable.complications.ComplicationText build();
- method public android.support.wearable.complications.ComplicationText.TimeDifferenceBuilder setMinimumUnit(java.util.concurrent.TimeUnit?);
- method public android.support.wearable.complications.ComplicationText.TimeDifferenceBuilder setReferencePeriodEndMillis(long);
- method public android.support.wearable.complications.ComplicationText.TimeDifferenceBuilder setReferencePeriodStartMillis(long);
- method public android.support.wearable.complications.ComplicationText.TimeDifferenceBuilder setShowNowText(boolean);
- method public android.support.wearable.complications.ComplicationText.TimeDifferenceBuilder setStyle(int);
- method public android.support.wearable.complications.ComplicationText.TimeDifferenceBuilder setSurroundingText(CharSequence?);
- }
-
- public static final class ComplicationText.TimeFormatBuilder {
- ctor public ComplicationText.TimeFormatBuilder();
- method public android.support.wearable.complications.ComplicationText build();
- method public android.support.wearable.complications.ComplicationText.TimeFormatBuilder setFormat(String?);
- method public android.support.wearable.complications.ComplicationText.TimeFormatBuilder setStyle(int);
- method public android.support.wearable.complications.ComplicationText.TimeFormatBuilder setSurroundingText(CharSequence?);
- method public android.support.wearable.complications.ComplicationText.TimeFormatBuilder setTimeZone(java.util.TimeZone?);
- }
-
-}
-
package androidx.wear.complications {
public final class ComplicationBounds {
@@ -147,6 +8,20 @@
property public final java.util.Map<androidx.wear.complications.data.ComplicationType,android.graphics.RectF> perComplicationTypeBounds;
}
+ public final class ComplicationProviderInfo {
+ ctor public ComplicationProviderInfo(String appName, String name, android.graphics.drawable.Icon icon, androidx.wear.complications.data.ComplicationType type, android.content.ComponentName componentName);
+ method public String getAppName();
+ method public android.content.ComponentName getComponentName();
+ method public android.graphics.drawable.Icon getIcon();
+ method public String getName();
+ method public androidx.wear.complications.data.ComplicationType getType();
+ property public final String appName;
+ property public final android.content.ComponentName componentName;
+ property public final android.graphics.drawable.Icon icon;
+ property public final String name;
+ property public final androidx.wear.complications.data.ComplicationType type;
+ }
+
public final class DefaultComplicationProviderPolicy {
ctor public DefaultComplicationProviderPolicy();
ctor public DefaultComplicationProviderPolicy(int systemProvider);
@@ -169,9 +44,9 @@
}
public static final class ProviderInfoRetriever.ProviderInfo {
- method public android.support.wearable.complications.ComplicationProviderInfo? getInfo();
+ method public androidx.wear.complications.ComplicationProviderInfo? getInfo();
method public int getWatchFaceComplicationId();
- property public final android.support.wearable.complications.ComplicationProviderInfo? info;
+ property public final androidx.wear.complications.ComplicationProviderInfo? info;
property public final int watchFaceComplicationId;
}
@@ -179,6 +54,9 @@
ctor public ProviderInfoRetriever.ServiceDisconnectedException();
}
+ public final class ProviderInfoRetrieverKt {
+ }
+
public class SystemProviders {
field public static final int NO_PROVIDER = -1; // 0xffffffff
field public static final int PROVIDER_APP_SHORTCUT = 6; // 0x6
@@ -249,17 +127,16 @@
}
public final class DataKt {
- method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP) public static androidx.wear.complications.data.ComplicationData toApiComplicationData(android.support.wearable.complications.ComplicationData);
}
public final class EmptyComplicationData extends androidx.wear.complications.data.ComplicationData {
ctor public EmptyComplicationData();
- method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY) public android.support.wearable.complications.ComplicationData asWireComplicationData();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP) public android.support.wearable.complications.ComplicationData asWireComplicationData();
field public static final androidx.wear.complications.data.ComplicationType TYPE;
}
public final class LongTextComplicationData extends androidx.wear.complications.data.ComplicationData {
- method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY) public android.support.wearable.complications.ComplicationData asWireComplicationData();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP) public android.support.wearable.complications.ComplicationData asWireComplicationData();
method public androidx.wear.complications.data.ComplicationText? getContentDescription();
method public androidx.wear.complications.data.MonochromaticImage? getMonochromaticImage();
method public androidx.wear.complications.data.SmallImage? getSmallImage();
@@ -297,7 +174,7 @@
}
public final class MonochromaticImageComplicationData extends androidx.wear.complications.data.ComplicationData {
- method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY) public android.support.wearable.complications.ComplicationData asWireComplicationData();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP) public android.support.wearable.complications.ComplicationData asWireComplicationData();
method public androidx.wear.complications.data.ComplicationText? getContentDescription();
method public androidx.wear.complications.data.MonochromaticImage getMonochromaticImage();
property public final androidx.wear.complications.data.ComplicationText? contentDescription;
@@ -314,12 +191,12 @@
public final class NoDataComplicationData extends androidx.wear.complications.data.ComplicationData {
ctor public NoDataComplicationData();
- method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY) public android.support.wearable.complications.ComplicationData asWireComplicationData();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP) public android.support.wearable.complications.ComplicationData asWireComplicationData();
field public static final androidx.wear.complications.data.ComplicationType TYPE;
}
public final class NoPermissionComplicationData extends androidx.wear.complications.data.ComplicationData {
- method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY) public android.support.wearable.complications.ComplicationData asWireComplicationData();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP) public android.support.wearable.complications.ComplicationData asWireComplicationData();
method public androidx.wear.complications.data.MonochromaticImage? getMonochromaticImage();
method public androidx.wear.complications.data.ComplicationText? getText();
method public androidx.wear.complications.data.ComplicationText? getTitle();
@@ -339,12 +216,12 @@
public final class NotConfiguredComplicationData extends androidx.wear.complications.data.ComplicationData {
ctor public NotConfiguredComplicationData();
- method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY) public android.support.wearable.complications.ComplicationData asWireComplicationData();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP) public android.support.wearable.complications.ComplicationData asWireComplicationData();
field public static final androidx.wear.complications.data.ComplicationType TYPE;
}
public final class PhotoImageComplicationData extends androidx.wear.complications.data.ComplicationData {
- method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY) public android.support.wearable.complications.ComplicationData asWireComplicationData();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP) public android.support.wearable.complications.ComplicationData asWireComplicationData();
method public androidx.wear.complications.data.ComplicationText? getContentDescription();
method public android.graphics.drawable.Icon getPhotoImage();
property public final androidx.wear.complications.data.ComplicationText? contentDescription;
@@ -368,7 +245,7 @@
}
public final class RangedValueComplicationData extends androidx.wear.complications.data.ComplicationData {
- method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY) public android.support.wearable.complications.ComplicationData asWireComplicationData();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP) public android.support.wearable.complications.ComplicationData asWireComplicationData();
method public androidx.wear.complications.data.ComplicationText? getContentDescription();
method public float getMax();
method public float getMin();
@@ -397,7 +274,7 @@
}
public final class ShortTextComplicationData extends androidx.wear.complications.data.ComplicationData {
- method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY) public android.support.wearable.complications.ComplicationData asWireComplicationData();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP) public android.support.wearable.complications.ComplicationData asWireComplicationData();
method public androidx.wear.complications.data.ComplicationText? getContentDescription();
method public androidx.wear.complications.data.MonochromaticImage? getMonochromaticImage();
method public androidx.wear.complications.data.ComplicationText getText();
@@ -434,7 +311,7 @@
}
public final class SmallImageComplicationData extends androidx.wear.complications.data.ComplicationData {
- method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY) public android.support.wearable.complications.ComplicationData asWireComplicationData();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP) public android.support.wearable.complications.ComplicationData asWireComplicationData();
method public androidx.wear.complications.data.ComplicationText? getContentDescription();
method public androidx.wear.complications.data.SmallImage getSmallImage();
property public final androidx.wear.complications.data.ComplicationText? contentDescription;
diff --git a/wear/wear-complications-data/api/restricted_current.txt b/wear/wear-complications-data/api/restricted_current.txt
index e7224ab..5b759c7 100644
--- a/wear/wear-complications-data/api/restricted_current.txt
+++ b/wear/wear-complications-data/api/restricted_current.txt
@@ -1,7 +1,7 @@
// Signature format: 4.0
package android.support.wearable.complications {
- public final class ComplicationData implements android.os.Parcelable {
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP) public final class ComplicationData implements android.os.Parcelable {
method public int describeContents();
method public android.graphics.drawable.Icon? getBurnInProtectionIcon();
method public android.graphics.drawable.Icon? getBurnInProtectionSmallImage();
@@ -84,7 +84,7 @@
@IntDef({android.support.wearable.complications.ComplicationData.IMAGE_STYLE_PHOTO, android.support.wearable.complications.ComplicationData.IMAGE_STYLE_ICON}) @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface ComplicationData.ImageStyle {
}
- public final class ComplicationProviderInfo implements android.os.Parcelable {
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP) public final class ComplicationProviderInfo implements android.os.Parcelable {
ctor public ComplicationProviderInfo(String, String, android.graphics.drawable.Icon, @android.support.wearable.complications.ComplicationData.ComplicationType int, android.content.ComponentName);
ctor public ComplicationProviderInfo(android.os.Parcel);
method public int describeContents();
@@ -102,7 +102,7 @@
field public static final android.os.Parcelable.Creator<android.support.wearable.complications.ComplicationProviderInfo!> CREATOR;
}
- public final class ComplicationText implements android.os.Parcelable android.support.wearable.complications.TimeDependentText {
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP) public final class ComplicationText implements android.os.Parcelable android.support.wearable.complications.TimeDependentText {
method public int describeContents();
method public long getNextChangeTime(long);
method public CharSequence getTextAt(android.content.res.Resources, long);
@@ -175,6 +175,21 @@
field @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP) public static final String EXTRA_WATCH_FACE_COMPONENT = "android.support.wearable.complications.EXTRA_WATCH_FACE_COMPONENT";
}
+ public final class ComplicationProviderInfo {
+ ctor public ComplicationProviderInfo(String appName, String name, android.graphics.drawable.Icon icon, androidx.wear.complications.data.ComplicationType type, android.content.ComponentName componentName);
+ method public String getAppName();
+ method public android.content.ComponentName getComponentName();
+ method public android.graphics.drawable.Icon getIcon();
+ method public String getName();
+ method public androidx.wear.complications.data.ComplicationType getType();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP) public android.support.wearable.complications.ComplicationProviderInfo toWireComplicationProviderInfo();
+ property public final String appName;
+ property public final android.content.ComponentName componentName;
+ property public final android.graphics.drawable.Icon icon;
+ property public final String name;
+ property public final androidx.wear.complications.data.ComplicationType type;
+ }
+
public final class DefaultComplicationProviderPolicy {
ctor @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP) public DefaultComplicationProviderPolicy(java.util.List<android.content.ComponentName> providers, @androidx.wear.complications.SystemProviders.ProviderId int systemProviderFallback);
ctor public DefaultComplicationProviderPolicy();
@@ -210,9 +225,9 @@
}
public static final class ProviderInfoRetriever.ProviderInfo {
- method public android.support.wearable.complications.ComplicationProviderInfo? getInfo();
+ method public androidx.wear.complications.ComplicationProviderInfo? getInfo();
method public int getWatchFaceComplicationId();
- property public final android.support.wearable.complications.ComplicationProviderInfo? info;
+ property public final androidx.wear.complications.ComplicationProviderInfo? info;
property public final int watchFaceComplicationId;
}
@@ -220,6 +235,10 @@
ctor public ProviderInfoRetriever.ServiceDisconnectedException();
}
+ public final class ProviderInfoRetrieverKt {
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP) public static androidx.wear.complications.ComplicationProviderInfo toApiComplicationProviderInfo(android.support.wearable.complications.ComplicationProviderInfo);
+ }
+
@RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP) public class ProviderUpdateRequesterConstants {
field public static final String EXTRA_PENDING_INTENT = "android.support.wearable.complications.EXTRA_PENDING_INTENT";
}
@@ -251,6 +270,7 @@
package androidx.wear.complications.data {
public abstract sealed class ComplicationData {
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP) public abstract android.support.wearable.complications.ComplicationData asWireComplicationData();
method public final android.app.PendingIntent? getTapAction();
method public final androidx.wear.complications.data.ComplicationType getType();
method public final androidx.wear.complications.data.TimeRange getValidTimeRange();
@@ -312,12 +332,12 @@
public final class EmptyComplicationData extends androidx.wear.complications.data.ComplicationData {
ctor public EmptyComplicationData();
- method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY) public android.support.wearable.complications.ComplicationData asWireComplicationData();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP) public android.support.wearable.complications.ComplicationData asWireComplicationData();
field public static final androidx.wear.complications.data.ComplicationType TYPE;
}
public final class LongTextComplicationData extends androidx.wear.complications.data.ComplicationData {
- method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY) public android.support.wearable.complications.ComplicationData asWireComplicationData();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP) public android.support.wearable.complications.ComplicationData asWireComplicationData();
method public androidx.wear.complications.data.ComplicationText? getContentDescription();
method public androidx.wear.complications.data.MonochromaticImage? getMonochromaticImage();
method public androidx.wear.complications.data.SmallImage? getSmallImage();
@@ -355,7 +375,7 @@
}
public final class MonochromaticImageComplicationData extends androidx.wear.complications.data.ComplicationData {
- method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY) public android.support.wearable.complications.ComplicationData asWireComplicationData();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP) public android.support.wearable.complications.ComplicationData asWireComplicationData();
method public androidx.wear.complications.data.ComplicationText? getContentDescription();
method public androidx.wear.complications.data.MonochromaticImage getMonochromaticImage();
property public final androidx.wear.complications.data.ComplicationText? contentDescription;
@@ -372,12 +392,12 @@
public final class NoDataComplicationData extends androidx.wear.complications.data.ComplicationData {
ctor public NoDataComplicationData();
- method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY) public android.support.wearable.complications.ComplicationData asWireComplicationData();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP) public android.support.wearable.complications.ComplicationData asWireComplicationData();
field public static final androidx.wear.complications.data.ComplicationType TYPE;
}
public final class NoPermissionComplicationData extends androidx.wear.complications.data.ComplicationData {
- method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY) public android.support.wearable.complications.ComplicationData asWireComplicationData();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP) public android.support.wearable.complications.ComplicationData asWireComplicationData();
method public androidx.wear.complications.data.MonochromaticImage? getMonochromaticImage();
method public androidx.wear.complications.data.ComplicationText? getText();
method public androidx.wear.complications.data.ComplicationText? getTitle();
@@ -397,12 +417,12 @@
public final class NotConfiguredComplicationData extends androidx.wear.complications.data.ComplicationData {
ctor public NotConfiguredComplicationData();
- method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY) public android.support.wearable.complications.ComplicationData asWireComplicationData();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP) public android.support.wearable.complications.ComplicationData asWireComplicationData();
field public static final androidx.wear.complications.data.ComplicationType TYPE;
}
public final class PhotoImageComplicationData extends androidx.wear.complications.data.ComplicationData {
- method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY) public android.support.wearable.complications.ComplicationData asWireComplicationData();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP) public android.support.wearable.complications.ComplicationData asWireComplicationData();
method public androidx.wear.complications.data.ComplicationText? getContentDescription();
method public android.graphics.drawable.Icon getPhotoImage();
property public final androidx.wear.complications.data.ComplicationText? contentDescription;
@@ -426,7 +446,7 @@
}
public final class RangedValueComplicationData extends androidx.wear.complications.data.ComplicationData {
- method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY) public android.support.wearable.complications.ComplicationData asWireComplicationData();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP) public android.support.wearable.complications.ComplicationData asWireComplicationData();
method public androidx.wear.complications.data.ComplicationText? getContentDescription();
method public float getMax();
method public float getMin();
@@ -455,7 +475,7 @@
}
public final class ShortTextComplicationData extends androidx.wear.complications.data.ComplicationData {
- method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY) public android.support.wearable.complications.ComplicationData asWireComplicationData();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP) public android.support.wearable.complications.ComplicationData asWireComplicationData();
method public androidx.wear.complications.data.ComplicationText? getContentDescription();
method public androidx.wear.complications.data.MonochromaticImage? getMonochromaticImage();
method public androidx.wear.complications.data.ComplicationText getText();
@@ -492,7 +512,7 @@
}
public final class SmallImageComplicationData extends androidx.wear.complications.data.ComplicationData {
- method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY) public android.support.wearable.complications.ComplicationData asWireComplicationData();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP) public android.support.wearable.complications.ComplicationData asWireComplicationData();
method public androidx.wear.complications.data.ComplicationText? getContentDescription();
method public androidx.wear.complications.data.SmallImage getSmallImage();
property public final androidx.wear.complications.data.ComplicationText? contentDescription;
diff --git a/wear/wear-complications-data/lint-baseline.xml b/wear/wear-complications-data/lint-baseline.xml
index 7b34db2..f8bdf29 100644
--- a/wear/wear-complications-data/lint-baseline.xml
+++ b/wear/wear-complications-data/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="BanTargetApiAnnotation"
@@ -8,8 +8,30 @@
errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/wear/complications/ComplicationHelperActivity.java"
- line="58"
+ line="59"
column="1"/>
</issue>
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.wear.utility.AsyncTraceEvent is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" Trace.beginAsyncSection(traceName, traceId)"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/wear/utility/TraceEvent.kt"
+ line="64"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.wear.utility.AsyncTraceEvent is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" Trace.endAsyncSection(traceName, traceId)"
+ errorLine2=" ~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/wear/utility/TraceEvent.kt"
+ line="70"
+ column="19"/>
+ </issue>
+
</issues>
diff --git a/wear/wear-complications-data/src/main/java/android/support/wearable/complications/ComplicationData.java b/wear/wear-complications-data/src/main/java/android/support/wearable/complications/ComplicationData.java
index 50a7c81..1b3074d 100644
--- a/wear/wear-complications-data/src/main/java/android/support/wearable/complications/ComplicationData.java
+++ b/wear/wear-complications-data/src/main/java/android/support/wearable/complications/ComplicationData.java
@@ -49,8 +49,11 @@
* <p>When rendering the complication data for a given time, the watch face should first call {@link
* #isActiveAt} to determine whether the data is valid at that time. See the documentation for each
* of the complication types below for details of which fields are expected to be displayed.
+ *
+ * @hide
*/
@SuppressLint("BanParcelableUsage")
+@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
public final class ComplicationData implements Parcelable {
private static final String TAG = "ComplicationData";
diff --git a/wear/wear-complications-data/src/main/java/android/support/wearable/complications/ComplicationProviderInfo.java b/wear/wear-complications-data/src/main/java/android/support/wearable/complications/ComplicationProviderInfo.java
index e127e6f..7a334a1 100644
--- a/wear/wear-complications-data/src/main/java/android/support/wearable/complications/ComplicationProviderInfo.java
+++ b/wear/wear-complications-data/src/main/java/android/support/wearable/complications/ComplicationProviderInfo.java
@@ -25,13 +25,17 @@
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
+import androidx.annotation.RestrictTo;
/**
* Holder of details of a complication provider, for use by watch faces (for example, to show the
* current provider in settings). A {@link androidx.wear.complications.ProviderInfoRetriever} can be
* used to obtain instances of this class for each of a watch face's complications.
+ *
+ * @hide
*/
@SuppressLint("BanParcelableUsage")
+@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
public final class ComplicationProviderInfo implements Parcelable {
@NonNull
diff --git a/wear/wear-complications-data/src/main/java/android/support/wearable/complications/ComplicationText.java b/wear/wear-complications-data/src/main/java/android/support/wearable/complications/ComplicationText.java
index ea36c33..547a628 100644
--- a/wear/wear-complications-data/src/main/java/android/support/wearable/complications/ComplicationText.java
+++ b/wear/wear-complications-data/src/main/java/android/support/wearable/complications/ComplicationText.java
@@ -53,8 +53,11 @@
* one of the provided builders: {@link TimeDifferenceBuilder} or {@link TimeFormatBuilder}.
*
* <p>Note this class is not thread safe.</p>
+ *
+ * @hide
*/
@SuppressLint("BanParcelableUsage")
+@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
public final class ComplicationText implements Parcelable, TimeDependentText {
/** @hide */
diff --git a/wear/wear-complications-data/src/main/java/androidx/wear/complications/ProviderInfoRetriever.kt b/wear/wear-complications-data/src/main/java/androidx/wear/complications/ProviderInfoRetriever.kt
index 4feb901..405cf09 100644
--- a/wear/wear-complications-data/src/main/java/androidx/wear/complications/ProviderInfoRetriever.kt
+++ b/wear/wear-complications-data/src/main/java/androidx/wear/complications/ProviderInfoRetriever.kt
@@ -20,27 +20,34 @@
import android.content.Context
import android.content.Intent
import android.content.ServiceConnection
+import android.graphics.drawable.Icon
import android.os.Build
import android.os.IBinder
-import android.support.wearable.complications.ComplicationProviderInfo
import android.support.wearable.complications.IPreviewComplicationDataCallback
import android.support.wearable.complications.IProviderInfoService
import androidx.annotation.RequiresApi
import androidx.annotation.RestrictTo
import androidx.annotation.VisibleForTesting
+import androidx.wear.complications.ProviderInfoRetriever.ProviderInfo
import androidx.wear.complications.data.ComplicationData
import androidx.wear.complications.data.ComplicationType
+import androidx.wear.complications.data.ComplicationType.Companion.fromWireType
import androidx.wear.complications.data.toApiComplicationData
import androidx.wear.utility.TraceEvent
import kotlinx.coroutines.CompletableDeferred
import kotlinx.coroutines.suspendCancellableCoroutine
import kotlin.coroutines.resume
import kotlin.coroutines.resumeWithException
+
+private typealias WireComplicationProviderInfo =
+ android.support.wearable.complications.ComplicationProviderInfo
+
/**
* Retrieves [ComplicationProviderInfo] for a watch face's complications.
*
*
- * To use construct an instance and call [retrieveProviderInfo] which returns a [ ].
+ * To use construct an instance and call [retrieveProviderInfo] which returns an array of
+ * [ProviderInfo] objects.
*
*
* Further calls to [retrieveProviderInfo] may be made using the same instance of this
@@ -131,7 +138,7 @@
awaitDeferredService().getProviderInfos(
watchFaceComponent, watchFaceComplicationIds
)?.mapIndexed { index, info ->
- ProviderInfo(watchFaceComplicationIds[index], info)
+ ProviderInfo(watchFaceComplicationIds[index], info.toApiComplicationProviderInfo())
}?.toTypedArray()
}
@@ -220,3 +227,47 @@
"android.support.wearable.complications.ACTION_GET_COMPLICATION_CONFIG"
}
}
+
+/**
+ * Holder of details of a complication provider, for use by watch faces (for example,
+ * to show the current provider in settings). A [ProviderInfoRetriever] can be used to obtain
+ * references of this class for each of a watch face's complications.
+ */
+public class ComplicationProviderInfo(
+ /** The name of the application containing the complication provider. */
+ public val appName: String,
+
+ /** The name of the complication provider. */
+ public val name: String,
+
+ /** The icon for the complication provider. */
+ public val icon: Icon,
+
+ /** The type of the complication provided by the provider. */
+ public val type: ComplicationType,
+
+ /** The provider's {@link ComponentName}. */
+ public val componentName: ComponentName,
+) {
+ /**
+ * Converts this value to [WireComplicationProviderInfo] object used for serialization.
+ *
+ * @hide
+ */
+ @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
+ public fun toWireComplicationProviderInfo(): WireComplicationProviderInfo =
+ WireComplicationProviderInfo(
+ appName, name, icon, type.toWireComplicationType(),
+ componentName
+ )
+}
+
+/**
+ * @hide
+ */
+@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
+public fun WireComplicationProviderInfo.toApiComplicationProviderInfo(): ComplicationProviderInfo =
+ ComplicationProviderInfo(
+ appName!!, providerName!!, providerIcon!!, fromWireType(complicationType),
+ providerComponentName!!
+ )
diff --git a/wear/wear-complications-data/src/main/java/androidx/wear/complications/SystemProviders.java b/wear/wear-complications-data/src/main/java/androidx/wear/complications/SystemProviders.java
index d2962b3..6804ec4 100644
--- a/wear/wear-complications-data/src/main/java/androidx/wear/complications/SystemProviders.java
+++ b/wear/wear-complications-data/src/main/java/androidx/wear/complications/SystemProviders.java
@@ -16,10 +16,10 @@
package androidx.wear.complications;
-import android.support.wearable.complications.ComplicationData;
import androidx.annotation.IntDef;
import androidx.annotation.RestrictTo;
+import androidx.wear.complications.data.ComplicationType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
@@ -68,10 +68,9 @@
* <p>This is a safe provider, so if a watch face uses this as a default it will be able to
* receive data from it even before the RECEIVE_COMPLICATION_DATA permission has been granted.
*
- * <p>This provider supports the following types: {@link ComplicationData#TYPE_ICON TYPE_ICON},
- * {@link ComplicationData#TYPE_SHORT_TEXT TYPE_SHORT_TEXT}, {@link
- * ComplicationData#TYPE_LONG_TEXT TYPE_LONG_TEXT}, {@link ComplicationData#TYPE_RANGED_VALUE
- * TYPE_RANGED_VALUE}.
+ * <p>This provider supports the following types: {@link ComplicationType#MONOCHROMATIC_IMAGE},
+ * {@link ComplicationType#SHORT_TEXT}, {@link ComplicationType#LONG_TEXT},
+ * {@link ComplicationType#RANGED_VALUE}.
*/
public static final int PROVIDER_WATCH_BATTERY = 1;
@@ -81,7 +80,7 @@
* <p>This is a safe provider, so if a watch face uses this as a default it will be able to
* receive data from it even before the RECEIVE_COMPLICATION_DATA permission has been granted.
*
- * <p>This provider supports only {@link ComplicationData#TYPE_SHORT_TEXT TYPE_SHORT_TEXT}.
+ * <p>This provider supports only {@link ComplicationType#SHORT_TEXT}.
*/
public static final int PROVIDER_DATE = 2;
@@ -91,7 +90,7 @@
* <p>This is a safe provider, so if a watch face uses this as a default it will be able to
* receive data from it even before the RECEIVE_COMPLICATION_DATA permission has been granted.
*
- * <p>This provider supports only {@link ComplicationData#TYPE_SHORT_TEXT TYPE_SHORT_TEXT}.
+ * <p>This provider supports only {@link ComplicationType#SHORT_TEXT}.
*/
public static final int PROVIDER_TIME_AND_DATE = 3;
@@ -102,7 +101,7 @@
* this as a default it will be able to receive data from it even before the
* RECEIVE_COMPLICATION_DATA permission has been granted.
*
- * <p>This provider supports only {@link ComplicationData#TYPE_SHORT_TEXT TYPE_SHORT_TEXT}.
+ * <p>This provider supports only {@link ComplicationType#SHORT_TEXT}.
*/
public static final int PROVIDER_STEP_COUNT = 4;
@@ -112,7 +111,7 @@
* <p>This is a safe provider, so if a watch face uses this as a default it will be able to
* receive data from it even before the RECEIVE_COMPLICATION_DATA permission has been granted.
*
- * <p>This provider supports only {@link ComplicationData#TYPE_SHORT_TEXT TYPE_SHORT_TEXT}.
+ * <p>This provider supports only {@link ComplicationType#SHORT_TEXT}.
*/
public static final int PROVIDER_WORLD_CLOCK = 5;
@@ -122,8 +121,8 @@
* <p>This is a safe provider, so if a watch face uses this as a default it will be able to
* receive data from it even before the RECEIVE_COMPLICATION_DATA permission has been granted.
*
- * <p>This provider supports the following types: {@link ComplicationData#TYPE_SMALL_IMAGE
- * TYPE_SMALL_IMAGE}, {@link ComplicationData#TYPE_LONG_TEXT TYPE_LONG_TEXT}.
+ * <p>This provider supports the following types: {@link ComplicationType#SMALL_IMAGE},
+ * {@link ComplicationType#LONG_TEXT}.
*/
public static final int PROVIDER_APP_SHORTCUT = 6;
@@ -133,8 +132,8 @@
* <p>This is a safe provider, so if a watch face uses this as a default it will be able to
* receive data from it even before the RECEIVE_COMPLICATION_DATA permission has been granted.
*
- * <p>This provider supports the following types: {@link ComplicationData#TYPE_ICON TYPE_ICON},
- * {@link ComplicationData#TYPE_SHORT_TEXT TYPE_SHORT_TEXT}.
+ * <p>This provider supports the following types: {@link ComplicationType#MONOCHROMATIC_IMAGE},
+ * {@link ComplicationType#SHORT_TEXT}.
*/
public static final int PROVIDER_UNREAD_NOTIFICATION_COUNT = 7;
@@ -144,8 +143,8 @@
* <p>This is not a safe provider, so if a watch face uses this as a default it will receive
* data of TYPE_NO_PERMISSION until the user has granted the RECEIVE_COMPLICATION_DATA.
*
- * <p>This provider supports the following types: {@link ComplicationData#TYPE_SHORT_TEXT
- * TYPE_SHORT_TEXT}, {@link ComplicationData#TYPE_LONG_TEXT TYPE_LONG_TEXT}.
+ * <p>This provider supports the following types: {@link ComplicationType#SHORT_TEXT},
+ * {@link ComplicationType#LONG_TEXT}.
*/
public static final int PROVIDER_NEXT_EVENT = 9;
@@ -155,7 +154,7 @@
* <p>This provider shows fake step count data, and the tap action launches the retail mode
* health app. This provider should only be set as a default if the device is in retail mode.
*
- * <p>This provider supports only {@link ComplicationData#TYPE_SHORT_TEXT TYPE_SHORT_TEXT}.
+ * <p>This provider supports only {@link ComplicationType#SHORT_TEXT}.
*/
public static final int PROVIDER_RETAIL_STEP_COUNT = 10;
@@ -166,7 +165,7 @@
* retail mode chat app. This provider should only be set as a default if the device is in
* retail mode.
*
- * <p>This provider supports only {@link ComplicationData#TYPE_SHORT_TEXT TYPE_SHORT_TEXT}.
+ * <p>This provider supports only {@link ComplicationType#SHORT_TEXT}.
*/
public static final int PROVIDER_RETAIL_CHAT = 11;
@@ -176,7 +175,7 @@
* <p>This provider shows next sunrise or sunset time according to current timezone and
* location.
*
- * <p>This provider supports only {@link ComplicationData#TYPE_SHORT_TEXT TYPE_SHORT_TEXT}.
+ * <p>This provider supports only {@link ComplicationType#SHORT_TEXT}.
*/
public static final int PROVIDER_SUNRISE_SUNSET = 12;
@@ -186,7 +185,7 @@
* <p>This is a safe provider, so if a watch face uses this as a default it will be able to
* receive data from it even before the RECEIVE_COMPLICATION_DATA permission has been granted.
*
- * <p>This provider supports only {@link ComplicationData#TYPE_SHORT_TEXT TYPE_SHORT_TEXT}.
+ * <p>This provider supports only {@link ComplicationType#SHORT_TEXT}.
*/
public static final int PROVIDER_DAY_OF_WEEK = 13;
@@ -196,7 +195,7 @@
* <p>This is not a safe provider, so if a watch face uses this as a default it will receive
* data of TYPE_NO_PERMISSION until the user has granted the RECEIVE_COMPLICATION_DATA.
*
- * <p>This provider supports only {@link ComplicationData#TYPE_SMALL_IMAGE TYPE_SMALL_IMAGE}.
+ * <p>This provider supports only {@link ComplicationType#SMALL_IMAGE}.
*/
public static final int PROVIDER_FAVORITE_CONTACT = 14;
@@ -206,8 +205,8 @@
* <p>This is a safe provider, so if a watch face uses this as a default it will be able to
* receive data from it even before the RECEIVE_COMPLICATION_DATA permission has been granted.
*
- * <p>This provider supports {@link ComplicationData#TYPE_SMALL_IMAGE TYPE_SMALL_IMAGE}, {@link
- * ComplicationData#TYPE_LONG_TEXT TYPE_LONG_TEXT}.
+ * <p>This provider supports {@link ComplicationType#SMALL_IMAGE}, {@link
+ * ComplicationType#LONG_TEXT}.
*/
public static final int PROVIDER_MOST_RECENT_APP = 15;
@@ -217,7 +216,7 @@
* <p>This is a safe provider, so if a watch face uses this as a default it will be able to
* receive data from it even before the RECEIVE_COMPLICATION_DATA permission has been granted.
*
- * <p>This provider supports only {@link ComplicationData#TYPE_SHORT_TEXT TYPE_SHORT_TEXT}.
+ * <p>This provider supports only {@link ComplicationType#SHORT_TEXT}.
*/
public static final int PROVIDER_DAY_AND_DATE = 16;
}
diff --git a/wear/wear-complications-data/src/main/java/androidx/wear/complications/data/Data.kt b/wear/wear-complications-data/src/main/java/androidx/wear/complications/data/Data.kt
index a8769d1..dcb126f 100644
--- a/wear/wear-complications-data/src/main/java/androidx/wear/complications/data/Data.kt
+++ b/wear/wear-complications-data/src/main/java/androidx/wear/complications/data/Data.kt
@@ -48,7 +48,7 @@
*
* @hide
*/
- @RestrictTo(RestrictTo.Scope.LIBRARY)
+ @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
public abstract fun asWireComplicationData(): WireComplicationData
internal fun createWireComplicationDataBuilder(): WireComplicationDataBuilder =
@@ -64,7 +64,7 @@
*/
public class NoDataComplicationData : ComplicationData(TYPE, null, null) {
/** @hide */
- @RestrictTo(RestrictTo.Scope.LIBRARY)
+ @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
override fun asWireComplicationData(): WireComplicationData = asPlainWireComplicationData(type)
/** @hide */
@@ -82,7 +82,7 @@
*/
public class EmptyComplicationData : ComplicationData(TYPE, null, null) {
/** @hide */
- @RestrictTo(RestrictTo.Scope.LIBRARY)
+ @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
override fun asWireComplicationData(): WireComplicationData = asPlainWireComplicationData(type)
/** @hide */
@@ -101,7 +101,7 @@
*/
public class NotConfiguredComplicationData : ComplicationData(TYPE, null, null) {
/** @hide */
- @RestrictTo(RestrictTo.Scope.LIBRARY)
+ @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
override fun asWireComplicationData(): WireComplicationData = asPlainWireComplicationData(type)
/** @hide */
@@ -187,7 +187,7 @@
}
/** @hide */
- @RestrictTo(RestrictTo.Scope.LIBRARY)
+ @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
override fun asWireComplicationData(): WireComplicationData =
createWireComplicationDataBuilder().apply {
setShortText(text.toWireComplicationText())
@@ -296,7 +296,7 @@
}
/** @hide */
- @RestrictTo(RestrictTo.Scope.LIBRARY)
+ @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
override fun asWireComplicationData(): WireComplicationData =
createWireComplicationDataBuilder().apply {
setLongText(text.toWireComplicationText())
@@ -412,7 +412,7 @@
}
/** @hide */
- @RestrictTo(RestrictTo.Scope.LIBRARY)
+ @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
public override fun asWireComplicationData(): WireComplicationData =
createWireComplicationDataBuilder().apply {
setRangedValue(value)
@@ -499,7 +499,8 @@
)
}
- @RestrictTo(RestrictTo.Scope.LIBRARY)
+ /** @hide */
+ @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
override fun asWireComplicationData(): WireComplicationData =
createWireComplicationDataBuilder().apply {
monochromaticImage.addToWireComplicationData(this)
@@ -581,7 +582,8 @@
)
}
- @RestrictTo(RestrictTo.Scope.LIBRARY)
+ /** @hide */
+ @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
override fun asWireComplicationData(): WireComplicationData =
createWireComplicationDataBuilder().apply {
smallImage.addToWireComplicationData(this)
@@ -668,7 +670,8 @@
)
}
- @RestrictTo(RestrictTo.Scope.LIBRARY)
+ /** @hide */
+ @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
override fun asWireComplicationData(): WireComplicationData =
createWireComplicationDataBuilder().apply {
setLargeImage(photoImage)
@@ -748,7 +751,7 @@
}
/** @hide */
- @RestrictTo(RestrictTo.Scope.LIBRARY)
+ @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
override fun asWireComplicationData(): WireComplicationData =
createWireComplicationDataBuilder().apply {
setShortText(text?.toWireComplicationText())
@@ -764,6 +767,9 @@
}
}
+/**
+ * @hide
+ */
@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
public fun WireComplicationData.toApiComplicationData(): ComplicationData {
val wireComplicationData = this
diff --git a/wear/wear-complications-data/src/main/java/androidx/wear/complications/data/Text.kt b/wear/wear-complications-data/src/main/java/androidx/wear/complications/data/Text.kt
index 8ac9534..cbce229 100644
--- a/wear/wear-complications-data/src/main/java/androidx/wear/complications/data/Text.kt
+++ b/wear/wear-complications-data/src/main/java/androidx/wear/complications/data/Text.kt
@@ -232,11 +232,25 @@
private var displayAsNow: Boolean? = null
private var minimumUnit: TimeUnit? = null
+ /**
+ * Constructs a [TimeDifferenceComplicationText.Builder] where the complication is counting
+ * up until [countUpTimeReference].
+ *
+ * @param style The [TimeDifferenceStyle] to use when rendering the time difference.
+ * @param countUpTimeReference The [CountUpTimeReference] to count up until.
+ */
public constructor(
style: TimeDifferenceStyle,
countUpTimeReference: CountUpTimeReference
) : this(style, null, countUpTimeReference.dateTimeMillis)
+ /**
+ * Constructs a [TimeDifferenceComplicationText.Builder] where the complication is counting
+ * down until [countDownTimeReference].
+ *
+ * @param style The [TimeDifferenceStyle] to use when rendering the time difference.
+ * @param countDownTimeReference The [CountDownTimeReference] to count down until.
+ */
public constructor(
style: TimeDifferenceStyle,
countDownTimeReference: CountDownTimeReference
diff --git a/wear/wear-complications-provider/lint-baseline.xml b/wear/wear-complications-provider/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/wear/wear-complications-provider/lint-baseline.xml
+++ b/wear/wear-complications-provider/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/wear/wear-complications-provider/samples/lint-baseline.xml b/wear/wear-complications-provider/samples/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/wear/wear-complications-provider/samples/lint-baseline.xml
+++ b/wear/wear-complications-provider/samples/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/wear/wear-input-testing/lint-baseline.xml b/wear/wear-input-testing/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/wear/wear-input-testing/lint-baseline.xml
+++ b/wear/wear-input-testing/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/wear/wear-input/lint-baseline.xml b/wear/wear-input/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/wear/wear-input/lint-baseline.xml
+++ b/wear/wear-input/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/wear/wear-ongoing/lint-baseline.xml b/wear/wear-ongoing/lint-baseline.xml
index 934e2aa..aaebb86 100644
--- a/wear/wear-ongoing/lint-baseline.xml
+++ b/wear/wear-ongoing/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
-</issues>
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
+</issues>
diff --git a/wear/wear-phone-interactions/lint-baseline.xml b/wear/wear-phone-interactions/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/wear/wear-phone-interactions/lint-baseline.xml
+++ b/wear/wear-phone-interactions/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/wear/wear-remote-interactions/lint-baseline.xml b/wear/wear-remote-interactions/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/wear/wear-remote-interactions/lint-baseline.xml
+++ b/wear/wear-remote-interactions/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/wear/wear-watchface-client/guava/src/androidTest/java/androidx/wear/watchface/ListenableWatchFaceControlClientTest.kt b/wear/wear-watchface-client/guava/src/androidTest/java/androidx/wear/watchface/ListenableWatchFaceControlClientTest.kt
index fbb2ad3..1a39e34 100644
--- a/wear/wear-watchface-client/guava/src/androidTest/java/androidx/wear/watchface/ListenableWatchFaceControlClientTest.kt
+++ b/wear/wear-watchface-client/guava/src/androidTest/java/androidx/wear/watchface/ListenableWatchFaceControlClientTest.kt
@@ -92,6 +92,7 @@
)
headlessInstance.close()
+ client.close()
}
@Test
@@ -115,6 +116,7 @@
400
)
)
+ client.close()
}
@Test
@@ -161,6 +163,7 @@
)
interactiveInstance.close()
+ client.close()
}
@Test
@@ -210,6 +213,7 @@
headlessInstance3.close()
headlessInstance2.close()
headlessInstance1.close()
+ client.close()
}
@Test
@@ -261,6 +265,7 @@
headlessInstance1.close()
interactiveInstance.close()
+ client.close()
}
@Test
@@ -273,6 +278,76 @@
assertNull(client.getInteractiveWatchFaceClientInstance("I do not exist"))
}
+
+ @Test
+ public fun createWatchFaceControlClient_cancel() {
+ val context = ApplicationProvider.getApplicationContext<Context>()
+ ListenableWatchFaceControlClient.createWatchFaceControlClient(
+ context,
+ context.packageName
+ ).cancel(true)
+
+ // Canceling should not prevent a subsequent createWatchFaceControlClient.
+ val client = ListenableWatchFaceControlClient.createWatchFaceControlClient(
+ context,
+ context.packageName
+ ).get(TIMEOUT_MS, TimeUnit.MILLISECONDS)
+ assertThat(client).isNotNull()
+ client.close()
+ }
+
+ @Test
+ public fun listenableGetOrCreateInteractiveWatchFaceClient_cancel() {
+ val context = ApplicationProvider.getApplicationContext<Context>()
+ val client = ListenableWatchFaceControlClient.createWatchFaceControlClient(
+ context,
+ context.packageName
+ ).get(TIMEOUT_MS, TimeUnit.MILLISECONDS)
+
+ client.listenableGetOrCreateInteractiveWatchFaceClient(
+ "listenableTestId",
+ DeviceConfig(
+ false,
+ false,
+ 0,
+ 0
+ ),
+ WatchUiState(false, 0),
+ null,
+ null
+ ).cancel(true)
+
+ // Canceling should not prevent a subsequent listenableGetOrCreateInteractiveWatchFaceClient
+ val interactiveInstanceFuture =
+ client.listenableGetOrCreateInteractiveWatchFaceClient(
+ "listenableTestId",
+ DeviceConfig(
+ false,
+ false,
+ 0,
+ 0
+ ),
+ WatchUiState(false, 0),
+ null,
+ null
+ )
+ val service = object : TestWatchFaceService() {
+ init {
+ attachBaseContext(context)
+ }
+ }
+ service.onCreateEngine().onSurfaceChanged(
+ surfaceHolder,
+ 0,
+ surfaceHolder.surfaceFrame.width(),
+ surfaceHolder.surfaceFrame.height()
+ )
+
+ val interactiveInstance = interactiveInstanceFuture.get(TIMEOUT_MS, TimeUnit.MILLISECONDS)
+ assertThat(interactiveInstance).isNotNull()
+ interactiveInstance.close()
+ client.close()
+ }
}
public open class TestWatchFaceService : WatchFaceService() {
diff --git a/wear/wear-watchface-client/guava/src/main/java/androidx/wear/watchface/client/ListenableWatchFaceControlClient.kt b/wear/wear-watchface-client/guava/src/main/java/androidx/wear/watchface/client/ListenableWatchFaceControlClient.kt
index 112669c..d122dcf 100644
--- a/wear/wear-watchface-client/guava/src/main/java/androidx/wear/watchface/client/ListenableWatchFaceControlClient.kt
+++ b/wear/wear-watchface-client/guava/src/main/java/androidx/wear/watchface/client/ListenableWatchFaceControlClient.kt
@@ -29,6 +29,7 @@
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Runnable
import kotlinx.coroutines.async
+import kotlinx.coroutines.cancel
import kotlinx.coroutines.guava.asListenableFuture
import kotlinx.coroutines.launch
import kotlin.coroutines.CoroutineContext
@@ -46,7 +47,7 @@
watchFaceControlClient.getInteractiveWatchFaceClientInstance(instanceId)
public companion object {
- private val immediateCoroutineScope = CoroutineScope(
+ internal fun createImmediateCoroutineScope() = CoroutineScope(
object : CoroutineDispatcher() {
override fun dispatch(context: CoroutineContext, block: Runnable) {
block.run()
@@ -72,7 +73,17 @@
"ListenableWatchFaceControlClient.createWatchFaceControlClient"
)
val future = ResolvableFuture.create<ListenableWatchFaceControlClient>()
+ val immediateCoroutineScope = createImmediateCoroutineScope()
immediateCoroutineScope.launch {
+ // Propagate future cancellation.
+ future.addListener(
+ {
+ if (future.isCancelled) {
+ immediateCoroutineScope.cancel()
+ }
+ },
+ { runner -> runner.run() }
+ )
try {
future.set(
ListenableWatchFaceControlClient(
@@ -116,15 +127,28 @@
watchUiState: WatchUiState,
userStyle: UserStyleData?,
idToComplicationData: Map<Int, ComplicationData>?
- ): ListenableFuture<InteractiveWatchFaceClient> = immediateCoroutineScope.async {
- watchFaceControlClient.getOrCreateInteractiveWatchFaceClient(
- id,
- deviceConfig,
- watchUiState,
- userStyle,
- idToComplicationData
- )
- }.asListenableFuture()
+ ): ListenableFuture<InteractiveWatchFaceClient> {
+ val immediateCoroutineScope = createImmediateCoroutineScope()
+ return immediateCoroutineScope.async {
+ watchFaceControlClient.getOrCreateInteractiveWatchFaceClient(
+ id,
+ deviceConfig,
+ watchUiState,
+ userStyle,
+ idToComplicationData
+ )
+ }.asListenableFuture().apply {
+ // Propagate future cancellation.
+ addListener(
+ {
+ if (isCancelled) {
+ immediateCoroutineScope.cancel()
+ }
+ },
+ { runner -> runner.run() }
+ )
+ }
+ }
override suspend fun getOrCreateInteractiveWatchFaceClient(
id: String,
diff --git a/wear/wear-watchface-client/lint-baseline.xml b/wear/wear-watchface-client/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/wear/wear-watchface-client/lint-baseline.xml
+++ b/wear/wear-watchface-client/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/wear/wear-watchface-complications-rendering/api/current.txt b/wear/wear-watchface-complications-rendering/api/current.txt
index ff11f78..f6411a7 100644
--- a/wear/wear-watchface-complications-rendering/api/current.txt
+++ b/wear/wear-watchface-complications-rendering/api/current.txt
@@ -25,7 +25,7 @@
method public void draw(android.graphics.Canvas);
method public androidx.wear.watchface.complications.rendering.ComplicationStyle getActiveStyle();
method public androidx.wear.watchface.complications.rendering.ComplicationStyle getAmbientStyle();
- method public android.support.wearable.complications.ComplicationData? getComplicationData();
+ method public androidx.wear.complications.data.ComplicationData? getComplicationData();
method public android.content.Context? getContext();
method public long getCurrentTimeMillis();
method public static androidx.wear.watchface.complications.rendering.ComplicationDrawable? getDrawable(android.content.Context, int);
@@ -41,7 +41,7 @@
method public void setAlpha(int);
method public void setBurnInProtection(boolean);
method public void setColorFilter(android.graphics.ColorFilter?);
- method public void setComplicationData(android.support.wearable.complications.ComplicationData?, boolean);
+ method public void setComplicationData(androidx.wear.complications.data.ComplicationData?, boolean);
method public void setContext(android.content.Context);
method public void setCurrentTimeMillis(long);
method public void setHighlightDuration(@IntRange(from=0) long);
diff --git a/wear/wear-watchface-complications-rendering/api/public_plus_experimental_current.txt b/wear/wear-watchface-complications-rendering/api/public_plus_experimental_current.txt
index ff11f78..f6411a7 100644
--- a/wear/wear-watchface-complications-rendering/api/public_plus_experimental_current.txt
+++ b/wear/wear-watchface-complications-rendering/api/public_plus_experimental_current.txt
@@ -25,7 +25,7 @@
method public void draw(android.graphics.Canvas);
method public androidx.wear.watchface.complications.rendering.ComplicationStyle getActiveStyle();
method public androidx.wear.watchface.complications.rendering.ComplicationStyle getAmbientStyle();
- method public android.support.wearable.complications.ComplicationData? getComplicationData();
+ method public androidx.wear.complications.data.ComplicationData? getComplicationData();
method public android.content.Context? getContext();
method public long getCurrentTimeMillis();
method public static androidx.wear.watchface.complications.rendering.ComplicationDrawable? getDrawable(android.content.Context, int);
@@ -41,7 +41,7 @@
method public void setAlpha(int);
method public void setBurnInProtection(boolean);
method public void setColorFilter(android.graphics.ColorFilter?);
- method public void setComplicationData(android.support.wearable.complications.ComplicationData?, boolean);
+ method public void setComplicationData(androidx.wear.complications.data.ComplicationData?, boolean);
method public void setContext(android.content.Context);
method public void setCurrentTimeMillis(long);
method public void setHighlightDuration(@IntRange(from=0) long);
diff --git a/wear/wear-watchface-complications-rendering/api/restricted_current.txt b/wear/wear-watchface-complications-rendering/api/restricted_current.txt
index 32eb794..ea6c46e 100644
--- a/wear/wear-watchface-complications-rendering/api/restricted_current.txt
+++ b/wear/wear-watchface-complications-rendering/api/restricted_current.txt
@@ -25,7 +25,7 @@
method public void draw(android.graphics.Canvas);
method public androidx.wear.watchface.complications.rendering.ComplicationStyle getActiveStyle();
method public androidx.wear.watchface.complications.rendering.ComplicationStyle getAmbientStyle();
- method public android.support.wearable.complications.ComplicationData? getComplicationData();
+ method public androidx.wear.complications.data.ComplicationData? getComplicationData();
method public android.content.Context? getContext();
method public long getCurrentTimeMillis();
method public static androidx.wear.watchface.complications.rendering.ComplicationDrawable? getDrawable(android.content.Context, int);
@@ -41,7 +41,7 @@
method public void setAlpha(int);
method public void setBurnInProtection(boolean);
method public void setColorFilter(android.graphics.ColorFilter?);
- method public void setComplicationData(android.support.wearable.complications.ComplicationData?, boolean);
+ method public void setComplicationData(androidx.wear.complications.data.ComplicationData?, boolean);
method public void setContext(android.content.Context);
method public void setCurrentTimeMillis(long);
method public void setHighlightDuration(@IntRange(from=0) long);
diff --git a/wear/wear-watchface-complications-rendering/lint-baseline.xml b/wear/wear-watchface-complications-rendering/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/wear/wear-watchface-complications-rendering/lint-baseline.xml
+++ b/wear/wear-watchface-complications-rendering/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/wear/wear-watchface-complications-rendering/src/main/java/androidx/wear/watchface/complications/rendering/CanvasComplicationDrawable.kt b/wear/wear-watchface-complications-rendering/src/main/java/androidx/wear/watchface/complications/rendering/CanvasComplicationDrawable.kt
index 6739179..05df52f 100644
--- a/wear/wear-watchface-complications-rendering/src/main/java/androidx/wear/watchface/complications/rendering/CanvasComplicationDrawable.kt
+++ b/wear/wear-watchface-complications-rendering/src/main/java/androidx/wear/watchface/complications/rendering/CanvasComplicationDrawable.kt
@@ -168,7 +168,7 @@
): Unit = TraceEvent("CanvasComplicationDrawable.setIdAndData").use {
_data = complicationData
drawable.setComplicationData(
- complicationData?.asWireComplicationData(),
+ complicationData,
loadDrawablesAsynchronous
)
}
diff --git a/wear/wear-watchface-complications-rendering/src/main/java/androidx/wear/watchface/complications/rendering/ComplicationDrawable.java b/wear/wear-watchface-complications-rendering/src/main/java/androidx/wear/watchface/complications/rendering/ComplicationDrawable.java
index 449cad4..a144da6 100644
--- a/wear/wear-watchface-complications-rendering/src/main/java/androidx/wear/watchface/complications/rendering/ComplicationDrawable.java
+++ b/wear/wear-watchface-complications-rendering/src/main/java/androidx/wear/watchface/complications/rendering/ComplicationDrawable.java
@@ -31,7 +31,6 @@
import android.graphics.drawable.Drawable;
import android.os.Handler;
import android.os.Looper;
-import android.support.wearable.complications.ComplicationData;
import android.text.TextUtils;
import android.util.AttributeSet;
import android.util.Log;
@@ -43,6 +42,9 @@
import androidx.annotation.Px;
import androidx.annotation.VisibleForTesting;
import androidx.wear.complications.ComplicationHelperActivity;
+import androidx.wear.complications.data.ComplicationData;
+import androidx.wear.complications.data.ComplicationType;
+import androidx.wear.complications.data.DataKt;
import androidx.wear.watchface.complications.rendering.ComplicationRenderer.OnInvalidateListener;
import org.xmlpull.v1.XmlPullParser;
@@ -582,7 +584,7 @@
/**
* Sets the text to be rendered when {@link ComplicationData} is of type {@link
- * ComplicationData#TYPE_NO_DATA}. If {@code noDataText} is null, an empty text will be
+ * ComplicationType#NO_DATA}. If {@code noDataText} is null, an empty text will be
* rendered.
*/
public void setNoDataText(@Nullable CharSequence noDataText) {
@@ -598,7 +600,7 @@
/**
* Sets if the ranged value progress should be hidden when {@link ComplicationData} is of type
- * {@link ComplicationData#TYPE_RANGED_VALUE}.
+ * {@link ComplicationType#RANGED_VALUE}.
*
* @param rangedValueProgressHidden {@code true} if progress should be hidden, {@code false}
* otherwise
@@ -630,7 +632,10 @@
boolean loadDrawablesAsync
) {
assertInitialized();
- mComplicationRenderer.setComplicationData(complicationData, loadDrawablesAsync);
+ mComplicationRenderer.setComplicationData(
+ complicationData != null ? complicationData.asWireComplicationData() : null,
+ loadDrawablesAsync
+ );
}
/**
@@ -638,7 +643,8 @@
*/
@Nullable
public ComplicationData getComplicationData() {
- return mComplicationRenderer.getComplicationData();
+ return (mComplicationRenderer.getComplicationData() != null)
+ ? DataKt.toApiComplicationData(mComplicationRenderer.getComplicationData()) : null;
}
/** Sets whether the complication should be rendered in ambient mode. */
@@ -727,7 +733,7 @@
* milliseconds by default but can be modified using the {@link #setHighlightDuration(long)}
* method.
*
- * <p>If {@link ComplicationData} has the type {@link ComplicationData#TYPE_NO_PERMISSION}, this
+ * <p>If {@link ComplicationData} has the type {@link ComplicationType#NO_PERMISSION}, this
* method will launch an intent to request complication permission for the watch face. This will
* only work if the context set by {@link #getDrawable} or the constructor is an
* instance of WatchFaceService.
@@ -743,17 +749,20 @@
if (mComplicationRenderer == null) {
return false;
}
- ComplicationData data = mComplicationRenderer.getComplicationData();
+ android.support.wearable.complications.ComplicationData data =
+ mComplicationRenderer.getComplicationData();
if (data == null) {
return false;
}
- if (!data.hasTapAction() && data.getType() != ComplicationData.TYPE_NO_PERMISSION) {
+ if (!data.hasTapAction() && data.getType()
+ != android.support.wearable.complications.ComplicationData.TYPE_NO_PERMISSION) {
return false;
}
if (!getBounds().contains(x, y)) {
return false;
}
- if (data.getType() == ComplicationData.TYPE_NO_PERMISSION) {
+ if (data.getType()
+ == android.support.wearable.complications.ComplicationData.TYPE_NO_PERMISSION) {
// Check if mContext is an instance of WatchFaceService. We can't use the standard
// instanceof operator because WatchFaceService is defined in library which depends on
// this one, hence the reflection hack.
@@ -850,7 +859,7 @@
/**
* Returns the text to be rendered when {@link ComplicationData} is of type {@link
- * ComplicationData#TYPE_NO_DATA}.
+ * ComplicationType#NO_DATA}.
*/
@Nullable
public CharSequence getNoDataText() {
diff --git a/wear/wear-watchface-complications-rendering/src/main/java/androidx/wear/watchface/complications/rendering/ComplicationStyle.java b/wear/wear-watchface-complications-rendering/src/main/java/androidx/wear/watchface/complications/rendering/ComplicationStyle.java
index 86b57d81..7aba900 100644
--- a/wear/wear-watchface-complications-rendering/src/main/java/androidx/wear/watchface/complications/rendering/ComplicationStyle.java
+++ b/wear/wear-watchface-complications-rendering/src/main/java/androidx/wear/watchface/complications/rendering/ComplicationStyle.java
@@ -20,7 +20,6 @@
import android.graphics.ColorFilter;
import android.graphics.Typeface;
import android.graphics.drawable.Drawable;
-import android.support.wearable.complications.ComplicationData;
import androidx.annotation.ColorInt;
import androidx.annotation.IntDef;
@@ -28,13 +27,14 @@
import androidx.annotation.Nullable;
import androidx.annotation.Px;
import androidx.annotation.RestrictTo;
+import androidx.wear.complications.data.SmallImageType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
/**
* Defines attributes to customize appearance of rendered {@link
- * android.support.wearable.complications.ComplicationData}.
+ * androidx.wear.complications.data.ComplicationData}.
*/
public class ComplicationStyle {
@@ -347,7 +347,7 @@
/**
* Sets the color filter used in active mode when rendering large images and small images
- * with style {@link ComplicationData#IMAGE_STYLE_PHOTO}.
+ * with style {@link SmallImageType#PHOTO}.
*
* @param colorFilter The {@link ColorFilter} to use
*/
diff --git a/wear/wear-watchface-complications-rendering/src/test/java/androidx/wear/watchface/complications/rendering/ComplicationDrawableTest.java b/wear/wear-watchface-complications-rendering/src/test/java/androidx/wear/watchface/complications/rendering/ComplicationDrawableTest.java
index b224494..223c731 100644
--- a/wear/wear-watchface-complications-rendering/src/test/java/androidx/wear/watchface/complications/rendering/ComplicationDrawableTest.java
+++ b/wear/wear-watchface-complications-rendering/src/test/java/androidx/wear/watchface/complications/rendering/ComplicationDrawableTest.java
@@ -50,6 +50,7 @@
import androidx.annotation.NonNull;
import androidx.test.core.app.ApplicationProvider;
import androidx.wear.complications.ComplicationHelperActivity;
+import androidx.wear.complications.data.DataKt;
import androidx.wear.watchface.CanvasType;
import androidx.wear.watchface.Renderer;
import androidx.wear.watchface.WatchFace;
@@ -85,7 +86,7 @@
private static final int AMBIENT_PX = 1;
private ComplicationDrawable mComplicationDrawable;
- private ComplicationData mComplicationData;
+ private androidx.wear.complications.data.ComplicationData mComplicationData;
private int mDefaultTextSize;
@Mock
@@ -105,10 +106,12 @@
mComplicationDrawable = new ComplicationDrawable();
mComplicationDrawable.setCallback(mMockDrawableCallback);
- mComplicationData =
- new ComplicationData.Builder(ComplicationData.TYPE_SHORT_TEXT)
- .setShortText(ComplicationText.plainText("hede"))
+ ComplicationData complicationData =
+ new ComplicationData.Builder(
+ ComplicationData.TYPE_SHORT_TEXT
+ ).setShortText(ComplicationText.plainText("hede"))
.build();
+ mComplicationData = DataKt.toApiComplicationData(complicationData);
mDefaultTextSize =
ApplicationProvider.getApplicationContext()
.getResources()
@@ -384,11 +387,14 @@
public void onTapReturnsFalseIfNoTapAction() {
mComplicationDrawable.setContext(ApplicationProvider.getApplicationContext());
mComplicationDrawable.setComplicationData(
- new ComplicationData.Builder(ComplicationData.TYPE_SHORT_TEXT)
- .setShortText(ComplicationText.plainText("rofl"))
- .setShortTitle(ComplicationText.plainText("copter"))
- .build(),
- true);
+ DataKt.toApiComplicationData(
+ new ComplicationData.Builder(ComplicationData.TYPE_SHORT_TEXT)
+ .setShortText(ComplicationText.plainText("rofl"))
+ .setShortTitle(ComplicationText.plainText("copter"))
+ .build()
+ ),
+ true
+ );
mComplicationDrawable.setBounds(new Rect(0, 0, 100, 100));
assertThat(mComplicationDrawable.onTap(50, 50)).isFalse();
@@ -398,12 +404,15 @@
public void onTapReturnsFalseIfOutOfBounds() {
mComplicationDrawable.setContext(ApplicationProvider.getApplicationContext());
mComplicationDrawable.setComplicationData(
- new ComplicationData.Builder(ComplicationData.TYPE_SHORT_TEXT)
- .setShortText(ComplicationText.plainText("rofl"))
- .setShortTitle(ComplicationText.plainText("copter"))
- .setTapAction(mMockPendingIntent)
- .build(),
- true);
+ DataKt.toApiComplicationData(
+ new ComplicationData.Builder(ComplicationData.TYPE_SHORT_TEXT)
+ .setShortText(ComplicationText.plainText("rofl"))
+ .setShortTitle(ComplicationText.plainText("copter"))
+ .setTapAction(mMockPendingIntent)
+ .build()
+ ),
+ true
+ );
mComplicationDrawable.setBounds(new Rect(0, 0, 100, 100));
assertThat(mComplicationDrawable.onTap(200, 200)).isFalse();
@@ -415,12 +424,15 @@
mComplicationDrawable.setContext(ApplicationProvider.getApplicationContext());
mComplicationDrawable.setComplicationData(
- new ComplicationData.Builder(ComplicationData.TYPE_SHORT_TEXT)
- .setShortText(ComplicationText.plainText("rofl"))
- .setShortTitle(ComplicationText.plainText("copter"))
- .setTapAction(mMockPendingIntent)
- .build(),
- true);
+ DataKt.toApiComplicationData(
+ new ComplicationData.Builder(ComplicationData.TYPE_SHORT_TEXT)
+ .setShortText(ComplicationText.plainText("rofl"))
+ .setShortTitle(ComplicationText.plainText("copter"))
+ .setTapAction(mMockPendingIntent)
+ .build()
+ ),
+ true
+ );
mComplicationDrawable.setBounds(new Rect(0, 0, 100, 100));
assertThat(mComplicationDrawable.onTap(50, 50)).isFalse();
@@ -430,12 +442,15 @@
public void onTapReturnsTrueIfSuccessfulAndHighlightsComplication() {
mComplicationDrawable.setContext(ApplicationProvider.getApplicationContext());
mComplicationDrawable.setComplicationData(
- new ComplicationData.Builder(ComplicationData.TYPE_SHORT_TEXT)
- .setShortText(ComplicationText.plainText("rofl"))
- .setShortTitle(ComplicationText.plainText("copter"))
- .setTapAction(mMockPendingIntent)
- .build(),
- true);
+ DataKt.toApiComplicationData(
+ new ComplicationData.Builder(ComplicationData.TYPE_SHORT_TEXT)
+ .setShortText(ComplicationText.plainText("rofl"))
+ .setShortTitle(ComplicationText.plainText("copter"))
+ .setTapAction(mMockPendingIntent)
+ .build()
+ ),
+ true
+ );
reset(mMockDrawableCallback);
mComplicationDrawable.setBounds(new Rect(0, 0, 100, 100));
@@ -449,12 +464,15 @@
long highlightDuration = 1000;
mComplicationDrawable.setContext(ApplicationProvider.getApplicationContext());
mComplicationDrawable.setComplicationData(
- new ComplicationData.Builder(ComplicationData.TYPE_SHORT_TEXT)
- .setShortText(ComplicationText.plainText("rofl"))
- .setShortTitle(ComplicationText.plainText("copter"))
- .setTapAction(mMockPendingIntent)
- .build(),
- true);
+ DataKt.toApiComplicationData(
+ new ComplicationData.Builder(ComplicationData.TYPE_SHORT_TEXT)
+ .setShortText(ComplicationText.plainText("rofl"))
+ .setShortTitle(ComplicationText.plainText("copter"))
+ .setTapAction(mMockPendingIntent)
+ .build()
+ ),
+ true
+ );
reset(mMockDrawableCallback);
mComplicationDrawable.setBounds(new Rect(0, 0, 100, 100));
@@ -479,12 +497,15 @@
long highlightDuration = 0;
mComplicationDrawable.setContext(ApplicationProvider.getApplicationContext());
mComplicationDrawable.setComplicationData(
- new ComplicationData.Builder(ComplicationData.TYPE_SHORT_TEXT)
- .setShortText(ComplicationText.plainText("rofl"))
- .setShortTitle(ComplicationText.plainText("copter"))
- .setTapAction(mMockPendingIntent)
- .build(),
- true);
+ DataKt.toApiComplicationData(
+ new ComplicationData.Builder(ComplicationData.TYPE_SHORT_TEXT)
+ .setShortText(ComplicationText.plainText("rofl"))
+ .setShortTitle(ComplicationText.plainText("copter"))
+ .setTapAction(mMockPendingIntent)
+ .build()
+ ),
+ true
+ );
mComplicationDrawable.setBounds(new Rect(0, 0, 100, 100));
mComplicationDrawable.setHighlightDuration(highlightDuration);
@@ -518,7 +539,11 @@
mComplicationDrawable.setBounds(new Rect(0, 0, 100, 100));
mComplicationDrawable.setComplicationData(
- new ComplicationData.Builder(ComplicationData.TYPE_NO_PERMISSION).build(), true);
+ DataKt.toApiComplicationData(
+ new ComplicationData.Builder(ComplicationData.TYPE_NO_PERMISSION).build()
+ ),
+ true
+ );
assertThat(mComplicationDrawable.onTap(50, 50)).isTrue();
@@ -540,7 +565,11 @@
mComplicationDrawable.setBounds(new Rect(0, 0, 100, 100));
mComplicationDrawable.setComplicationData(
- new ComplicationData.Builder(ComplicationData.TYPE_NO_PERMISSION).build(), true);
+ DataKt.toApiComplicationData(
+ new ComplicationData.Builder(ComplicationData.TYPE_NO_PERMISSION).build()
+ ),
+ true
+ );
assertThat(mComplicationDrawable.onTap(50, 50)).isFalse();
diff --git a/wear/wear-watchface-complications-rendering/src/test/java/androidx/wear/watchface/complications/rendering/ComplicationRendererTest.java b/wear/wear-watchface-complications-rendering/src/test/java/androidx/wear/watchface/complications/rendering/ComplicationRendererTest.java
index 74673ca..2b9bbce 100644
--- a/wear/wear-watchface-complications-rendering/src/test/java/androidx/wear/watchface/complications/rendering/ComplicationRendererTest.java
+++ b/wear/wear-watchface-complications-rendering/src/test/java/androidx/wear/watchface/complications/rendering/ComplicationRendererTest.java
@@ -57,11 +57,10 @@
import org.mockito.ArgumentCaptor;
import org.mockito.Mock;
import org.mockito.MockitoAnnotations;
-import org.robolectric.RobolectricTestRunner;
import org.robolectric.annotation.internal.DoNotInstrument;
/** Tests for {@link ComplicationRenderer}. */
-@RunWith(RobolectricTestRunner.class)
+@RunWith(ComplicationsTestRunner.class)
@DoNotInstrument
public class ComplicationRendererTest {
diff --git a/wear/wear-watchface-complications-rendering/src/test/java/androidx/wear/watchface/complications/rendering/ComplicationsTestRunner.java b/wear/wear-watchface-complications-rendering/src/test/java/androidx/wear/watchface/complications/rendering/ComplicationsTestRunner.java
index 5643ecf..25dd9edd 100644
--- a/wear/wear-watchface-complications-rendering/src/test/java/androidx/wear/watchface/complications/rendering/ComplicationsTestRunner.java
+++ b/wear/wear-watchface-complications-rendering/src/test/java/androidx/wear/watchface/complications/rendering/ComplicationsTestRunner.java
@@ -36,8 +36,10 @@
.doNotInstrumentPackage("android.support.wearable.complications")
.doNotInstrumentPackage("android.support.wearable.watchface")
.doNotInstrumentPackage("androidx.wear.complications")
+ .doNotInstrumentPackage("androidx.wear.complications.data")
.doNotInstrumentPackage("androidx.wear.complications.rendering")
.doNotInstrumentPackage("androidx.wear.watchface")
+ .doNotInstrumentPackage("androidx.wear.watchface.complications.rendering")
.build();
}
}
diff --git a/wear/wear-watchface-complications-rendering/src/test/java/androidx/wear/watchface/complications/rendering/EmojiHelperTest.java b/wear/wear-watchface-complications-rendering/src/test/java/androidx/wear/watchface/complications/rendering/EmojiHelperTest.java
index 6931e13..1f0429e 100644
--- a/wear/wear-watchface-complications-rendering/src/test/java/androidx/wear/watchface/complications/rendering/EmojiHelperTest.java
+++ b/wear/wear-watchface-complications-rendering/src/test/java/androidx/wear/watchface/complications/rendering/EmojiHelperTest.java
@@ -21,11 +21,10 @@
import org.junit.Test;
import org.junit.runner.RunWith;
-import org.robolectric.RobolectricTestRunner;
import org.robolectric.annotation.internal.DoNotInstrument;
/** EmojiHelper tests. */
-@RunWith(RobolectricTestRunner.class)
+@RunWith(ComplicationsTestRunner.class)
@DoNotInstrument
public class EmojiHelperTest {
diff --git a/wear/wear-watchface-complications-rendering/src/test/java/androidx/wear/watchface/complications/rendering/RoundedDrawableTest.java b/wear/wear-watchface-complications-rendering/src/test/java/androidx/wear/watchface/complications/rendering/RoundedDrawableTest.java
index a3b5fa2..ca40577 100644
--- a/wear/wear-watchface-complications-rendering/src/test/java/androidx/wear/watchface/complications/rendering/RoundedDrawableTest.java
+++ b/wear/wear-watchface-complications-rendering/src/test/java/androidx/wear/watchface/complications/rendering/RoundedDrawableTest.java
@@ -37,11 +37,10 @@
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.mockito.MockitoAnnotations;
-import org.robolectric.RobolectricTestRunner;
import org.robolectric.annotation.internal.DoNotInstrument;
/** Tests for {@link RoundedDrawable} */
-@RunWith(RobolectricTestRunner.class)
+@RunWith(ComplicationsTestRunner.class)
@DoNotInstrument
public class RoundedDrawableTest {
diff --git a/wear/wear-watchface-complications-rendering/src/test/java/androidx/wear/watchface/complications/rendering/TextRendererTest.java b/wear/wear-watchface-complications-rendering/src/test/java/androidx/wear/watchface/complications/rendering/TextRendererTest.java
index 667d097..62300f5 100644
--- a/wear/wear-watchface-complications-rendering/src/test/java/androidx/wear/watchface/complications/rendering/TextRendererTest.java
+++ b/wear/wear-watchface-complications-rendering/src/test/java/androidx/wear/watchface/complications/rendering/TextRendererTest.java
@@ -31,11 +31,10 @@
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
-import org.robolectric.RobolectricTestRunner;
import org.robolectric.annotation.internal.DoNotInstrument;
/** TextRenderer tests. */
-@RunWith(RobolectricTestRunner.class)
+@RunWith(ComplicationsTestRunner.class)
@DoNotInstrument
public class TextRendererTest {
diff --git a/wear/wear-watchface-data/lint-baseline.xml b/wear/wear-watchface-data/lint-baseline.xml
index 3f27b19..8fa8545 100644
--- a/wear/wear-watchface-data/lint-baseline.xml
+++ b/wear/wear-watchface-data/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="BanTargetApiAnnotation"
diff --git a/wear/wear-watchface-editor/lint-baseline.xml b/wear/wear-watchface-editor/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/wear/wear-watchface-editor/lint-baseline.xml
+++ b/wear/wear-watchface-editor/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/wear/wear-watchface-editor/samples/lint-baseline.xml b/wear/wear-watchface-editor/samples/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/wear/wear-watchface-editor/samples/lint-baseline.xml
+++ b/wear/wear-watchface-editor/samples/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/wear/wear-watchface-editor/samples/src/main/java/androidx/wear/watchface/editor/sample/ComplicationConfigFragment.kt b/wear/wear-watchface-editor/samples/src/main/java/androidx/wear/watchface/editor/sample/ComplicationConfigFragment.kt
index 047f333..3855713 100644
--- a/wear/wear-watchface-editor/samples/src/main/java/androidx/wear/watchface/editor/sample/ComplicationConfigFragment.kt
+++ b/wear/wear-watchface-editor/samples/src/main/java/androidx/wear/watchface/editor/sample/ComplicationConfigFragment.kt
@@ -85,19 +85,28 @@
private val complicationButtons =
watchFaceConfigActivity.editorSession.complicationsState.mapValues { stateEntry ->
// TODO(alexclarke): This button is a Rect which makes the tap animation look bad.
- Button(context).apply {
- // Make the button transparent unless tapped upon.
- setBackgroundResource(
- TypedValue().apply {
- context.theme.resolveAttribute(
- android.R.attr.selectableItemBackground,
- this,
- true
- )
- }.resourceId
- )
- setOnClickListener { onComplicationButtonClicked(stateEntry.key) }
- addView(this)
+ if (stateEntry.value.fixedComplicationProvider ||
+ !stateEntry.value.isEnabled ||
+ stateEntry.key == watchFaceConfigActivity.editorSession.backgroundComplicationId
+ ) {
+ // Do not create a button for fixed complications, disabled complications, or
+ // background complications.
+ null
+ } else {
+ Button(context).apply {
+ // Make the button transparent unless tapped upon.
+ setBackgroundResource(
+ TypedValue().apply {
+ context.theme.resolveAttribute(
+ android.R.attr.selectableItemBackground,
+ this,
+ true
+ )
+ }.resourceId
+ )
+ setOnClickListener { onComplicationButtonClicked(stateEntry.key) }
+ addView(this)
+ }
}
}
@@ -113,7 +122,7 @@
super.onLayout(changed, left, top, right, bottom)
for ((id, view) in complicationButtons) {
val rect = watchFaceConfigActivity.editorSession.complicationsState[id]!!.bounds
- view.layout(
+ view?.layout(
rect.left,
rect.top,
rect.right,
diff --git a/wear/wear-watchface-editor/samples/src/main/java/androidx/wear/watchface/editor/sample/ConfigFragment.kt b/wear/wear-watchface-editor/samples/src/main/java/androidx/wear/watchface/editor/sample/ConfigFragment.kt
index ca6009b..7d3cab6 100644
--- a/wear/wear-watchface-editor/samples/src/main/java/androidx/wear/watchface/editor/sample/ConfigFragment.kt
+++ b/wear/wear-watchface-editor/samples/src/main/java/androidx/wear/watchface/editor/sample/ConfigFragment.kt
@@ -154,7 +154,7 @@
)
infoArray?.let {
it[0].info?.apply {
- backgroundConfigOption.summary = providerName!!
+ backgroundConfigOption.summary = name
}
configViewAdapter.notifyDataSetChanged()
}
diff --git a/wear/wear-watchface-editor/src/androidTest/java/androidx/wear/watchface/editor/EditorSessionGuavaTest.kt b/wear/wear-watchface-editor/src/androidTest/java/androidx/wear/watchface/editor/EditorSessionGuavaTest.kt
index f517881..48789bb 100644
--- a/wear/wear-watchface-editor/src/androidTest/java/androidx/wear/watchface/editor/EditorSessionGuavaTest.kt
+++ b/wear/wear-watchface-editor/src/androidTest/java/androidx/wear/watchface/editor/EditorSessionGuavaTest.kt
@@ -212,4 +212,4 @@
)
).isEqualTo("Provider3")
}
-}
\ No newline at end of file
+}
diff --git a/wear/wear-watchface-editor/src/main/java/androidx/wear/watchface/editor/EditorSession.kt b/wear/wear-watchface-editor/src/main/java/androidx/wear/watchface/editor/EditorSession.kt
index ea75a40..481d301 100644
--- a/wear/wear-watchface-editor/src/main/java/androidx/wear/watchface/editor/EditorSession.kt
+++ b/wear/wear-watchface-editor/src/main/java/androidx/wear/watchface/editor/EditorSession.kt
@@ -451,7 +451,14 @@
// Parallel fetch preview ComplicationData.
providerInfoArray?.associateBy(
{ it.watchFaceComplicationId },
- { async { getPreviewData(providerInfoRetriever, it.info) } }
+ {
+ async {
+ getPreviewData(
+ providerInfoRetriever,
+ it.info?.toWireComplicationProviderInfo()
+ )
+ }
+ }
// Coerce to a Map<Int, ComplicationData> omitting null values.
// If mapNotNullValues existed we would use it here.
)?.mapValues {
@@ -666,7 +673,7 @@
)
internal class ComplicationProviderChooserResult(
- /** The updated [ComplicationProviderInfo] or `null` if the operation was canceled. */
+ /** The updated [ComplicationProviderInfo] or `null` if the empty provider was chosen. */
internal val providerInfo: ComplicationProviderInfo?
)
diff --git a/wear/wear-watchface-style/lint-baseline.xml b/wear/wear-watchface-style/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/wear/wear-watchface-style/lint-baseline.xml
+++ b/wear/wear-watchface-style/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/wear/wear-watchface/lint-baseline.xml b/wear/wear-watchface/lint-baseline.xml
index 9ed4a74..5b18f1e 100644
--- a/wear/wear-watchface/lint-baseline.xml
+++ b/wear/wear-watchface/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="MissingClass"
@@ -56,4 +56,15 @@
column="5"/>
</issue>
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.wear.watchface.Renderer.CanvasRenderer is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" surfaceHolder.lockHardwareCanvas() // Requires API level 26."
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/wear/watchface/Renderer.kt"
+ line="304"
+ column="35"/>
+ </issue>
+
</issues>
diff --git a/wear/wear-watchface/samples/lint-baseline.xml b/wear/wear-watchface/samples/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/wear/wear-watchface/samples/lint-baseline.xml
+++ b/wear/wear-watchface/samples/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/wear/wear-watchface/src/main/java/androidx/wear/watchface/WatchFace.kt b/wear/wear-watchface/src/main/java/androidx/wear/watchface/WatchFace.kt
index 8bae582..6decc3b 100644
--- a/wear/wear-watchface/src/main/java/androidx/wear/watchface/WatchFace.kt
+++ b/wear/wear-watchface/src/main/java/androidx/wear/watchface/WatchFace.kt
@@ -32,7 +32,6 @@
import android.util.Base64
import android.view.Gravity
import android.view.Surface.FRAME_RATE_COMPATIBILITY_DEFAULT
-import android.view.ViewConfiguration
import androidx.annotation.ColorInt
import androidx.annotation.IntDef
import androidx.annotation.IntRange
@@ -447,8 +446,6 @@
@VisibleForTesting(otherwise = VisibleForTesting.PRIVATE)
public val calendar: Calendar = Calendar.getInstance()
- private val pendingSingleTap: CancellableUniqueTask =
- CancellableUniqueTask(watchFaceHostApi.getHandler())
private val pendingUpdateTime: CancellableUniqueTask =
CancellableUniqueTask(watchFaceHostApi.getHandler())
@@ -739,7 +736,6 @@
}
internal fun onDestroy() {
- pendingSingleTap.cancel()
pendingUpdateTime.cancel()
renderer.onDestroy()
watchState.isAmbient.removeObserver(ambientObserver)
@@ -912,7 +908,8 @@
) {
val tappedComplication = complicationsManager.getComplicationAt(x, y)
if (tappedComplication == null) {
- clearGesture()
+ // The event does not belong to any of the complications, pass to the listener.
+ lastTappedComplicationId = null
tapListener?.onTap(tapType, x, y)
return
}
@@ -922,45 +919,23 @@
if (tappedComplication.id != lastTappedComplicationId &&
lastTappedComplicationId != null
) {
- clearGesture()
+ // The UP event belongs to a different complication then the DOWN event,
+ // do not consider this a tap on either of them.
+ lastTappedComplicationId = null
return
}
- if (!pendingSingleTap.isPending()) {
- // Give the user immediate visual feedback, the UI feels sluggish if we defer
- // this.
- complicationsManager.displayPressedAnimation(tappedComplication.id)
-
- lastTappedComplicationId = tappedComplication.id
-
- // This could either be a single or a double tap, post a task to process the
- // single tap which will get canceled if a double tap gets there first
- pendingSingleTap.postDelayedUnique(
- ViewConfiguration.getDoubleTapTimeout().toLong()
- ) {
- complicationsManager.onComplicationSingleTapped(tappedComplication.id)
- watchFaceHostApi.invalidate()
- clearGesture()
- }
- }
+ complicationsManager.displayPressedAnimation(tappedComplication.id)
+ complicationsManager.onComplicationSingleTapped(tappedComplication.id)
+ watchFaceHostApi.invalidate()
+ lastTappedComplicationId = null
}
TapType.DOWN -> {
- // Make sure the user isn't doing a swipe.
- if (tappedComplication.id != lastTappedComplicationId &&
- lastTappedComplicationId != null
- ) {
- clearGesture()
- }
lastTappedComplicationId = tappedComplication.id
}
- else -> clearGesture()
+ else -> lastTappedComplicationId = null
}
}
- private fun clearGesture() {
- lastTappedComplicationId = null
- pendingSingleTap.cancel()
- }
-
@UiThread
internal fun dump(writer: IndentingPrintWriter) {
writer.println("WatchFaceImpl ($componentName): ")
@@ -971,7 +946,6 @@
writer.println("mockTime.speed=${mockTime.speed}")
writer.println("nextDrawTimeMillis=$nextDrawTimeMillis")
writer.println("muteMode=$muteMode")
- writer.println("pendingSingleTap=${pendingSingleTap.isPending()}")
writer.println("pendingUpdateTime=${pendingUpdateTime.isPending()}")
writer.println("lastTappedComplicationId=$lastTappedComplicationId")
writer.println("currentUserStyleRepository.userStyle=${userStyleRepository.userStyle}")
diff --git a/wear/wear-watchface/src/test/java/androidx/wear/watchface/TestCommon.kt b/wear/wear-watchface/src/test/java/androidx/wear/watchface/TestCommon.kt
index eb37ef6..d0f3929 100644
--- a/wear/wear-watchface/src/test/java/androidx/wear/watchface/TestCommon.kt
+++ b/wear/wear-watchface/src/test/java/androidx/wear/watchface/TestCommon.kt
@@ -50,12 +50,16 @@
private val preAndroidR: Boolean,
private val directBootParams: WallpaperInteractiveWatchFaceInstanceParams?
) : WatchFaceService() {
- var singleTapCount = 0
- var complicationSingleTapped: Int? = null
+ /** The ids of the complications that have been tapped. */
+ val tappedComplicationIds: List<Int>
+ get() = mutableTappedComplicationIds
var complicationSelected: Int? = null
var mockSystemTimeMillis = 0L
var lastUserStyle: UserStyle? = null
+ /** A mutable list of the ids of the complications that have been tapped. */
+ private val mutableTappedComplicationIds: MutableList<Int> = ArrayList()
+
init {
currentUserStyleRepository.addUserStyleChangeListener(
object : CurrentUserStyleRepository.UserStyleChangeListener {
@@ -68,8 +72,7 @@
complicationsManager.addTapListener(
object : ComplicationsManager.TapCallback {
override fun onComplicationTapped(complicationId: Int) {
- complicationSingleTapped = complicationId
- singleTapCount++
+ mutableTappedComplicationIds.add(complicationId)
}
})
}
@@ -82,7 +85,7 @@
}
fun clearTappedState() {
- complicationSingleTapped = null
+ mutableTappedComplicationIds.clear()
}
init {
diff --git a/wear/wear-watchface/src/test/java/androidx/wear/watchface/WatchFaceServiceTest.kt b/wear/wear-watchface/src/test/java/androidx/wear/watchface/WatchFaceServiceTest.kt
index d87dad3..7a426df 100644
--- a/wear/wear-watchface/src/test/java/androidx/wear/watchface/WatchFaceServiceTest.kt
+++ b/wear/wear-watchface/src/test/java/androidx/wear/watchface/WatchFaceServiceTest.kt
@@ -34,7 +34,6 @@
import android.support.wearable.watchface.WatchFaceStyle
import android.support.wearable.watchface.accessibility.ContentDescriptionLabel
import android.view.SurfaceHolder
-import android.view.ViewConfiguration
import android.view.WindowInsets
import androidx.annotation.Px
import androidx.test.core.app.ApplicationProvider
@@ -673,20 +672,6 @@
watchFaceImpl.onTapCommand(TapType.UP, x, y)
}
- private fun doubleTapAt(x: Int, y: Int, delayMillis: Long) {
- tapAt(x, y)
- runPostedTasksFor(delayMillis)
- tapAt(x, y)
- }
-
- private fun tripleTapAt(x: Int, y: Int, delayMillis: Long) {
- tapAt(x, y)
- runPostedTasksFor(delayMillis)
- tapAt(x, y)
- runPostedTasksFor(delayMillis)
- tapAt(x, y)
- }
-
private fun tapCancelAt(x: Int, y: Int) {
watchFaceImpl.onTapCommand(TapType.DOWN, x, y)
watchFaceImpl.onTapCommand(TapType.CANCEL, x, y)
@@ -706,8 +691,8 @@
// Tap left complication.
tapAt(30, 50)
assertThat(complicationDrawableLeft.isHighlighted).isTrue()
- runPostedTasksFor(ViewConfiguration.getDoubleTapTimeout().toLong())
- assertThat(testWatchFaceService.complicationSingleTapped).isEqualTo(LEFT_COMPLICATION_ID)
+ assertThat(testWatchFaceService.tappedComplicationIds)
+ .isEqualTo(listOf(LEFT_COMPLICATION_ID))
runPostedTasksFor(WatchFaceImpl.CANCEL_COMPLICATION_HIGHLIGHTED_DELAY_MS)
assertThat(complicationDrawableLeft.isHighlighted).isFalse()
@@ -716,8 +701,8 @@
testWatchFaceService.reset()
tapAt(70, 50)
assertThat(complicationDrawableRight.isHighlighted).isTrue()
- runPostedTasksFor(ViewConfiguration.getDoubleTapTimeout().toLong())
- assertThat(testWatchFaceService.complicationSingleTapped).isEqualTo(RIGHT_COMPLICATION_ID)
+ assertThat(testWatchFaceService.tappedComplicationIds)
+ .isEqualTo(listOf(RIGHT_COMPLICATION_ID))
runPostedTasksFor(WatchFaceImpl.CANCEL_COMPLICATION_HIGHLIGHTED_DELAY_MS)
assertThat(complicationDrawableLeft.isHighlighted).isFalse()
@@ -725,16 +710,15 @@
// Tap on blank space.
testWatchFaceService.reset()
tapAt(1, 1)
- runPostedTasksFor(ViewConfiguration.getDoubleTapTimeout().toLong())
- assertThat(testWatchFaceService.complicationSingleTapped).isNull()
+ assertThat(testWatchFaceService.tappedComplicationIds).isEmpty()
runPostedTasksFor(WatchFaceImpl.CANCEL_COMPLICATION_HIGHLIGHTED_DELAY_MS)
assertThat(complicationDrawableLeft.isHighlighted).isFalse()
- assertThat(testWatchFaceService.singleTapCount).isEqualTo(2)
+ assertThat(testWatchFaceService.tappedComplicationIds).isEmpty()
}
@Test
- public fun fastTap_onDifferentComplications() {
+ public fun singleTaps_onDifferentComplications() {
initEngine(
WatchFaceType.ANALOG,
listOf(leftComplication, rightComplication),
@@ -746,55 +730,20 @@
// Rapidly tap left then right complication.
tapAt(30, 50)
- runPostedTasksFor(ViewConfiguration.getDoubleTapTimeout().toLong() / 2)
tapAt(70, 50)
- // Both complications get temporarily highlighted but only the second one registers a tap.
+ // Both complications get temporarily highlighted.
assertThat(complicationDrawableLeft.isHighlighted).isTrue()
assertThat(complicationDrawableRight.isHighlighted).isTrue()
- assertThat(testWatchFaceService.complicationSingleTapped).isNull()
+ // And the highlight goes away after a delay.
runPostedTasksFor(WatchFaceImpl.CANCEL_COMPLICATION_HIGHLIGHTED_DELAY_MS)
assertThat(complicationDrawableLeft.isHighlighted).isFalse()
assertThat(complicationDrawableRight.isHighlighted).isFalse()
- assertThat(testWatchFaceService.complicationSingleTapped).isEqualTo(RIGHT_COMPLICATION_ID)
- assertThat(testWatchFaceService.singleTapCount).isEqualTo(1)
- }
- @Test
- public fun slow_doubleTap_recognisedAsSingleTap() {
- initEngine(
- WatchFaceType.ANALOG,
- listOf(leftComplication, rightComplication),
- UserStyleSchema(emptyList())
- )
-
- assertThat(complicationDrawableLeft.isHighlighted).isFalse()
- assertThat(complicationDrawableRight.isHighlighted).isFalse()
-
- // Slowly tap left complication twice.
- doubleTapAt(30, 50, ViewConfiguration.getDoubleTapTimeout().toLong() * 2)
-
- assertThat(testWatchFaceService.complicationSingleTapped).isEqualTo(LEFT_COMPLICATION_ID)
- assertThat(testWatchFaceService.singleTapCount).isEqualTo(1)
- }
-
- @Test
- public fun tripleTap_recognisedAsSingleTap() {
- initEngine(
- WatchFaceType.ANALOG,
- listOf(leftComplication, rightComplication),
- UserStyleSchema(emptyList())
- )
-
- assertThat(complicationDrawableLeft.isHighlighted).isFalse()
- assertThat(complicationDrawableRight.isHighlighted).isFalse()
-
- // Quickly tap left complication thrice.
- tripleTapAt(30, 50, ViewConfiguration.getDoubleTapTimeout().toLong() / 2)
-
- assertThat(testWatchFaceService.complicationSingleTapped).isEqualTo(LEFT_COMPLICATION_ID)
- assertThat(testWatchFaceService.singleTapCount).isEqualTo(1)
+ // Taps are registered on both complications.
+ assertThat(testWatchFaceService.tappedComplicationIds)
+ .isEqualTo(listOf(LEFT_COMPLICATION_ID, RIGHT_COMPLICATION_ID))
}
@Test
@@ -808,34 +757,7 @@
testWatchFaceService.reset()
// Tap/Cancel left complication
tapCancelAt(30, 50)
- runPostedTasksFor(ViewConfiguration.getDoubleTapTimeout().toLong())
- assertThat(testWatchFaceService.complicationSingleTapped).isNull()
- assertThat(testWatchFaceService.singleTapCount).isEqualTo(0)
- }
-
- @Test
- public fun singleTap_recognisedAfterTripleTap() {
- initEngine(
- WatchFaceType.ANALOG,
- listOf(leftComplication, rightComplication),
- UserStyleSchema(emptyList())
- )
-
- // Quickly tap right complication thrice.
- tripleTapAt(70, 50, ViewConfiguration.getDoubleTapTimeout().toLong() / 2)
-
- // Wait a bit for the condition to reset and clear our detection state.
- testWatchFaceService.clearTappedState()
- runPostedTasksFor(WatchFaceImpl.CANCEL_COMPLICATION_HIGHLIGHTED_DELAY_MS)
- assertThat(complicationDrawableLeft.isHighlighted).isFalse()
- assertThat(complicationDrawableRight.isHighlighted).isFalse()
-
- // Tap right complication.
- tapAt(70, 50)
- assertThat(complicationDrawableRight.isHighlighted).isTrue()
- runPostedTasksFor(ViewConfiguration.getDoubleTapTimeout().toLong())
- assertThat(testWatchFaceService.complicationSingleTapped).isEqualTo(RIGHT_COMPLICATION_ID)
- assertThat(testWatchFaceService.singleTapCount).isEqualTo(3)
+ assertThat(testWatchFaceService.tappedComplicationIds).isEmpty()
}
@Test
@@ -861,8 +783,8 @@
// Tap the edge complication.
tapAt(0, 50)
assertThat(complicationDrawableEdge.isHighlighted).isTrue()
- runPostedTasksFor(ViewConfiguration.getDoubleTapTimeout().toLong())
- assertThat(testWatchFaceService.complicationSingleTapped).isEqualTo(EDGE_COMPLICATION_ID)
+ assertThat(testWatchFaceService.tappedComplicationIds)
+ .isEqualTo(listOf(EDGE_COMPLICATION_ID))
runPostedTasksFor(WatchFaceImpl.CANCEL_COMPLICATION_HIGHLIGHTED_DELAY_MS)
assertThat(complicationDrawableEdge.isHighlighted).isFalse()
diff --git a/wear/wear/lint-baseline.xml b/wear/wear/lint-baseline.xml
index 599106e..86495bb 100644
--- a/wear/wear/lint-baseline.xml
+++ b/wear/wear/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="KotlinPropertyAccess"
diff --git a/webkit/integration-tests/testapp/lint-baseline.xml b/webkit/integration-tests/testapp/lint-baseline.xml
index e9359a9..62a1f07 100644
--- a/webkit/integration-tests/testapp/lint-baseline.xml
+++ b/webkit/integration-tests/testapp/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="BanSynchronizedMethods"
@@ -8,7 +8,7 @@
errorLine2=" ^">
<location
file="src/main/java/com/example/androidx/webkit/RendererTerminationActivity.java"
- line="154"
+ line="141"
column="9"/>
</issue>
@@ -19,7 +19,7 @@
errorLine2=" ^">
<location
file="src/main/java/com/example/androidx/webkit/RendererTerminationActivity.java"
- line="160"
+ line="147"
column="9"/>
</issue>
@@ -30,13 +30,13 @@
errorLine2=" ^">
<location
file="src/main/java/com/example/androidx/webkit/RendererTerminationActivity.java"
- line="166"
+ line="153"
column="9"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class com.example.androidx.webkit.AssetLoaderAjaxActivity.MyWebViewClient 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class com.example.androidx.webkit.AssetLoaderAjaxActivity.MyWebViewClient is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mUriIdlingResource.beginLoad(request.getUrl().toString());"
errorLine2=" ~~~~~~">
<location
@@ -46,8 +46,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class com.example.androidx.webkit.AssetLoaderAjaxActivity.MyWebViewClient 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class com.example.androidx.webkit.AssetLoaderAjaxActivity.MyWebViewClient is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" WebResourceResponse response = mAssetLoader.shouldInterceptRequest(request.getUrl());"
errorLine2=" ~~~~~~">
<location
@@ -57,8 +57,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class com.example.androidx.webkit.AssetLoaderAjaxActivity.MyWebViewClient 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class com.example.androidx.webkit.AssetLoaderAjaxActivity.MyWebViewClient is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mUriIdlingResource.endLoad(request.getUrl().toString());"
errorLine2=" ~~~~~~">
<location
@@ -68,8 +68,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class com.example.androidx.webkit.AssetLoaderInternalStorageActivity.MyWebViewClient 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class com.example.androidx.webkit.AssetLoaderInternalStorageActivity.MyWebViewClient is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return mAssetLoader.shouldInterceptRequest(request.getUrl());"
errorLine2=" ~~~~~~">
<location
@@ -79,8 +79,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class com.example.androidx.webkit.AssetLoaderSimpleActivity.MyWebViewClient 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class com.example.androidx.webkit.AssetLoaderSimpleActivity.MyWebViewClient is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return mAssetLoader.shouldInterceptRequest(request.getUrl());"
errorLine2=" ~~~~~~">
<location
@@ -90,8 +90,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class com.example.androidx.webkit.CustomInterstitialActivity.CustomInterstitialWebViewClient 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class com.example.androidx.webkit.CustomInterstitialActivity.CustomInterstitialWebViewClient is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" myIntent.putExtra(PopupInterstitialActivity.THREAT_URL, request.getUrl().toString());"
errorLine2=" ~~~~~~">
<location
@@ -101,19 +101,19 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class com.example.androidx.webkit.DocumentStartJavaScriptActivity.MyWebViewClient 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class com.example.androidx.webkit.DocumentStartJavaScriptActivity.MyWebViewClient is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return mAssetLoader.shouldInterceptRequest(request.getUrl());"
errorLine2=" ~~~~~~">
<location
file="src/main/java/com/example/androidx/webkit/DocumentStartJavaScriptActivity.java"
- line="70"
+ line="68"
column="64"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class com.example.androidx.webkit.ErrorLoggingWebViewClient 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class com.example.androidx.webkit.ErrorLoggingWebViewClient is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" logErrors(request.getUrl().toString(), error.getErrorCode());"
errorLine2=" ~~~~~~">
<location
@@ -123,19 +123,19 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class com.example.androidx.webkit.MenuListView 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class com.example.androidx.webkit.MenuListView is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" super(context, attrs, defStyleAttr, defStyleRes);"
errorLine2=" ~~~~~">
<location
file="src/main/java/com/example/androidx/webkit/MenuListView.java"
- line="48"
+ line="46"
column="9"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class com.example.androidx.webkit.WebMessageListenerActivity.MyWebViewClient 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class com.example.androidx.webkit.WebMessageListenerActivity.MyWebViewClient is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return mAssetLoader.shouldInterceptRequest(request.getUrl());"
errorLine2=" ~~~~~~">
<location
@@ -145,8 +145,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class com.example.androidx.webkit.WebMessageListenerMaliciousWebsiteActivity.MyWebViewClient 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class com.example.androidx.webkit.WebMessageListenerMaliciousWebsiteActivity.MyWebViewClient is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" WebResourceResponse response = loader.shouldInterceptRequest(request.getUrl());"
errorLine2=" ~~~~~~">
<location
@@ -157,39 +157,6 @@
<issue
id="SyntheticAccessor"
- message="Access to `private` method `allowlistSafeBrowsingTestSite` of class `AllowlistActivity` requires synthetic accessor"
- errorLine1=" allowlistSafeBrowsingTestSite(null);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/androidx/webkit/AllowlistActivity.java"
- line="63"
- column="21"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `clearAllowlist` of class `AllowlistActivity` requires synthetic accessor"
- errorLine1=" clearAllowlist();"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/androidx/webkit/AllowlistActivity.java"
- line="65"
- column="21"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mAllowlistWebView` of class `AllowlistActivity` requires synthetic accessor"
- errorLine1=" mAllowlistWebView.loadUrl(SafeBrowsingHelpers.TEST_SAFE_BROWSING_SITE);"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/androidx/webkit/AllowlistActivity.java"
- line="83"
- column="17"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
message="Access to `private` field `mUriIdlingResource` of class `AssetLoaderAjaxActivity` requires synthetic accessor"
errorLine1=" if (mUriIdlingResource != null) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -421,35 +388,24 @@
<issue
id="SyntheticAccessor"
- message="Access to `private` field `mContext` of class `MenuListView` requires synthetic accessor"
- errorLine1=" featureArrayAdapter.getItem(position).start(mContext);"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/com/example/androidx/webkit/MenuListView.java"
- line="91"
- column="61"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
message="Access to `private` method `recreateWebView` of class `RendererTerminationActivity` requires synthetic accessor"
- errorLine1=" ((RendererTerminationActivity) getActivity())"
- errorLine2=" ^">
+ errorLine1=" ((RendererTerminationActivity) getActivity()).recreateWebView())"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/androidx/webkit/RendererTerminationActivity.java"
- line="110"
- column="29"/>
+ line="102"
+ column="33"/>
</issue>
<issue
id="SyntheticAccessor"
message="Access to `private` method `terminateWebViewRenderer` of class `RendererTerminationActivity` requires synthetic accessor"
- errorLine1=" ((RendererTerminationActivity) getActivity())"
- errorLine2=" ^">
+ errorLine1=" ((RendererTerminationActivity) getActivity())"
+ errorLine2=" ^">
<location
file="src/main/java/com/example/androidx/webkit/RendererTerminationActivity.java"
- line="136"
- column="29"/>
+ line="126"
+ column="37"/>
</issue>
<issue
@@ -459,7 +415,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/androidx/webkit/RendererTerminationActivity.java"
- line="151"
+ line="138"
column="13"/>
</issue>
@@ -470,7 +426,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/androidx/webkit/RendererTerminationActivity.java"
- line="157"
+ line="144"
column="13"/>
</issue>
@@ -481,7 +437,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/com/example/androidx/webkit/RendererTerminationActivity.java"
- line="162"
+ line="149"
column="13"/>
</issue>
@@ -492,7 +448,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/androidx/webkit/RendererTerminationActivity.java"
- line="163"
+ line="150"
column="13"/>
</issue>
@@ -503,7 +459,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/com/example/androidx/webkit/RendererTerminationActivity.java"
- line="216"
+ line="203"
column="17"/>
</issue>
@@ -514,7 +470,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/com/example/androidx/webkit/RendererTerminationActivity.java"
- line="217"
+ line="204"
column="17"/>
</issue>
@@ -525,7 +481,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/com/example/androidx/webkit/RendererTerminationActivity.java"
- line="222"
+ line="209"
column="17"/>
</issue>
@@ -536,7 +492,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/com/example/androidx/webkit/RendererTerminationActivity.java"
- line="242"
+ line="229"
column="21"/>
</issue>
@@ -547,40 +503,18 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/com/example/androidx/webkit/RendererTerminationActivity.java"
- line="252"
+ line="239"
column="21"/>
</issue>
<issue
id="SyntheticAccessor"
- message="Access to `private` method `setupLayout` of class `SafeBrowsingActivity` requires synthetic accessor"
- errorLine1=" setupLayout();"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/androidx/webkit/SafeBrowsingActivity.java"
- line="48"
- column="33"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `showSafeBrowsingRequirementsInBrowser` of class `SafeBrowsingActivity` requires synthetic accessor"
- errorLine1=" showSafeBrowsingRequirementsInBrowser();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/androidx/webkit/SafeBrowsingActivity.java"
- line="54"
- column="37"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
message="Access to `private` field `mInfo` of class `TracingControllerActivity` requires synthetic accessor"
errorLine1=" mInfo.setVisibility(View.VISIBLE);"
errorLine2=" ~~~~~">
<location
file="src/main/java/com/example/androidx/webkit/TracingControllerActivity.java"
- line="96"
+ line="97"
column="33"/>
</issue>
@@ -591,7 +525,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/com/example/androidx/webkit/TracingControllerActivity.java"
- line="97"
+ line="98"
column="33"/>
</issue>
@@ -602,7 +536,7 @@
errorLine2=" ~~~~~">
<location
file="src/main/java/com/example/androidx/webkit/TracingControllerActivity.java"
- line="98"
+ line="99"
column="33"/>
</issue>
@@ -613,7 +547,7 @@
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/com/example/androidx/webkit/TracingControllerActivity.java"
- line="99"
+ line="100"
column="89"/>
</issue>
@@ -624,7 +558,7 @@
errorLine2=" ~~~~~~~~~~">
<location
file="src/main/java/com/example/androidx/webkit/TracingControllerActivity.java"
- line="101"
+ line="102"
column="37"/>
</issue>
@@ -635,7 +569,7 @@
errorLine2=" ~~~~~">
<location
file="src/main/java/com/example/androidx/webkit/TracingControllerActivity.java"
- line="103"
+ line="104"
column="37"/>
</issue>
@@ -668,7 +602,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/com/example/androidx/webkit/AllowlistActivity.java"
- line="46"
+ line="44"
column="29"/>
</issue>
@@ -756,7 +690,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/com/example/androidx/webkit/MenuListView.java"
- line="34"
+ line="32"
column="25"/>
</issue>
@@ -767,7 +701,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/com/example/androidx/webkit/MenuListView.java"
- line="38"
+ line="36"
column="25"/>
</issue>
@@ -778,7 +712,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/com/example/androidx/webkit/MenuListView.java"
- line="38"
+ line="36"
column="42"/>
</issue>
@@ -789,7 +723,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/com/example/androidx/webkit/MenuListView.java"
- line="42"
+ line="40"
column="25"/>
</issue>
@@ -800,7 +734,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/com/example/androidx/webkit/MenuListView.java"
- line="42"
+ line="40"
column="42"/>
</issue>
@@ -811,7 +745,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/com/example/androidx/webkit/MenuListView.java"
- line="47"
+ line="45"
column="25"/>
</issue>
@@ -822,7 +756,7 @@
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/com/example/androidx/webkit/MenuListView.java"
- line="47"
+ line="45"
column="42"/>
</issue>
@@ -833,7 +767,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/com/example/androidx/webkit/MenuListView.java"
- line="59"
+ line="57"
column="25"/>
</issue>
@@ -844,7 +778,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/com/example/androidx/webkit/MenuListView.java"
- line="59"
+ line="57"
column="38"/>
</issue>
@@ -855,7 +789,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/com/example/androidx/webkit/MenuListView.java"
- line="76"
+ line="74"
column="27"/>
</issue>
@@ -866,7 +800,7 @@
errorLine2=" ~~~~~~~~~~">
<location
file="src/main/java/com/example/androidx/webkit/MenuListView.java"
- line="84"
+ line="82"
column="26"/>
</issue>
@@ -899,7 +833,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/com/example/androidx/webkit/PopupInterstitialActivity.java"
- line="51"
+ line="50"
column="29"/>
</issue>
@@ -910,7 +844,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/androidx/webkit/Proxy.java"
- line="60"
+ line="61"
column="28"/>
</issue>
@@ -921,7 +855,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/androidx/webkit/RendererTerminationActivity.java"
- line="95"
+ line="87"
column="23"/>
</issue>
@@ -932,7 +866,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/com/example/androidx/webkit/RendererTerminationActivity.java"
- line="102"
+ line="94"
column="16"/>
</issue>
@@ -943,7 +877,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/com/example/androidx/webkit/RendererTerminationActivity.java"
- line="102"
+ line="94"
column="38"/>
</issue>
@@ -954,7 +888,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/androidx/webkit/RendererTerminationActivity.java"
- line="121"
+ line="111"
column="23"/>
</issue>
@@ -965,7 +899,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/com/example/androidx/webkit/RendererTerminationActivity.java"
- line="128"
+ line="118"
column="16"/>
</issue>
@@ -976,7 +910,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/com/example/androidx/webkit/RendererTerminationActivity.java"
- line="128"
+ line="118"
column="38"/>
</issue>
diff --git a/webkit/webkit/lint-baseline.xml b/webkit/webkit/lint-baseline.xml
index 5e2bf42..bf080b6 100644
--- a/webkit/webkit/lint-baseline.xml
+++ b/webkit/webkit/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="BanUncheckedReflection"
@@ -8,7 +8,7 @@
errorLine2=" ^">
<location
file="src/main/java/androidx/webkit/WebViewCompat.java"
- line="384"
+ line="383"
column="30"/>
</issue>
@@ -19,7 +19,7 @@
errorLine2=" ^">
<location
file="src/main/java/androidx/webkit/WebViewCompat.java"
- line="405"
+ line="404"
column="47"/>
</issue>
@@ -46,8 +46,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.webkit.internal.AssetHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.webkit.internal.AssetHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return context.getDataDir();"
errorLine2=" ~~~~~~~~~~">
<location
@@ -57,8 +57,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 27, the call containing class androidx.webkit.internal.SafeBrowsingResponseImpl is not annotated with @RequiresApi(x) where x is at least 27. Either annotate the containing class with at least @RequiresApi(27) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(27)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 27; however, the containing class androidx.webkit.internal.SafeBrowsingResponseImpl is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" getFrameworksImpl().showInterstitial(allowReporting);"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -68,8 +68,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 27, the call containing class androidx.webkit.internal.SafeBrowsingResponseImpl is not annotated with @RequiresApi(x) where x is at least 27. Either annotate the containing class with at least @RequiresApi(27) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(27)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 27; however, the containing class androidx.webkit.internal.SafeBrowsingResponseImpl is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" getFrameworksImpl().proceed(report);"
errorLine2=" ~~~~~~~">
<location
@@ -79,8 +79,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 27, the call containing class androidx.webkit.internal.SafeBrowsingResponseImpl is not annotated with @RequiresApi(x) where x is at least 27. Either annotate the containing class with at least @RequiresApi(27) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(27)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 27; however, the containing class androidx.webkit.internal.SafeBrowsingResponseImpl is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" getFrameworksImpl().backToSafety(report);"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -90,8 +90,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.webkit.internal.ServiceWorkerControllerImpl 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.webkit.internal.ServiceWorkerControllerImpl is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mFrameworksImpl = ServiceWorkerController.getInstance();"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -101,8 +101,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.webkit.internal.ServiceWorkerControllerImpl 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.webkit.internal.ServiceWorkerControllerImpl is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mFrameworksImpl.getServiceWorkerWebSettings());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -112,8 +112,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.webkit.internal.ServiceWorkerControllerImpl 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.webkit.internal.ServiceWorkerControllerImpl is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mFrameworksImpl = ServiceWorkerController.getInstance();"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -123,8 +123,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.webkit.internal.ServiceWorkerControllerImpl 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.webkit.internal.ServiceWorkerControllerImpl is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" getFrameworksImpl().setServiceWorkerClient(new FrameworkServiceWorkerClient(client));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -134,8 +134,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.webkit.internal.ServiceWorkerWebSettingsImpl 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.webkit.internal.ServiceWorkerWebSettingsImpl is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" getFrameworksImpl().setCacheMode(mode);"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -145,8 +145,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.webkit.internal.ServiceWorkerWebSettingsImpl 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.webkit.internal.ServiceWorkerWebSettingsImpl is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return getFrameworksImpl().getCacheMode();"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -156,8 +156,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.webkit.internal.ServiceWorkerWebSettingsImpl 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.webkit.internal.ServiceWorkerWebSettingsImpl is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" getFrameworksImpl().setAllowContentAccess(allow);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -167,8 +167,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.webkit.internal.ServiceWorkerWebSettingsImpl 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.webkit.internal.ServiceWorkerWebSettingsImpl is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return getFrameworksImpl().getAllowContentAccess();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -178,8 +178,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.webkit.internal.ServiceWorkerWebSettingsImpl 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.webkit.internal.ServiceWorkerWebSettingsImpl is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" getFrameworksImpl().setAllowFileAccess(allow);"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
@@ -189,8 +189,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.webkit.internal.ServiceWorkerWebSettingsImpl 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.webkit.internal.ServiceWorkerWebSettingsImpl is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return getFrameworksImpl().getAllowFileAccess();"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
@@ -200,8 +200,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.webkit.internal.ServiceWorkerWebSettingsImpl 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.webkit.internal.ServiceWorkerWebSettingsImpl is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" getFrameworksImpl().setBlockNetworkLoads(flag);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
@@ -211,8 +211,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.webkit.internal.ServiceWorkerWebSettingsImpl 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.webkit.internal.ServiceWorkerWebSettingsImpl is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return getFrameworksImpl().getBlockNetworkLoads();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
@@ -222,8 +222,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.webkit.internal.TracingControllerImpl 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.webkit.internal.TracingControllerImpl is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mFrameworksImpl = android.webkit.TracingController.getInstance();"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -233,8 +233,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.webkit.internal.TracingControllerImpl 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.webkit.internal.TracingControllerImpl is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mFrameworksImpl = android.webkit.TracingController.getInstance();"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -244,8 +244,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.webkit.internal.TracingControllerImpl 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.webkit.internal.TracingControllerImpl is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return getFrameworksImpl().isTracing();"
errorLine2=" ~~~~~~~~~">
<location
@@ -255,8 +255,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.webkit.internal.TracingControllerImpl 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.webkit.internal.TracingControllerImpl is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" android.webkit.TracingConfig config = new android.webkit.TracingConfig.Builder()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -266,8 +266,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.webkit.internal.TracingControllerImpl 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.webkit.internal.TracingControllerImpl is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .addCategories(tracingConfig.getPredefinedCategories())"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -277,8 +277,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.webkit.internal.TracingControllerImpl 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.webkit.internal.TracingControllerImpl is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .addCategories(tracingConfig.getCustomIncludedCategories())"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -288,8 +288,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.webkit.internal.TracingControllerImpl 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.webkit.internal.TracingControllerImpl is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setTracingMode(tracingConfig.getTracingMode())"
errorLine2=" ~~~~~~~~~~~~~~">
<location
@@ -299,8 +299,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.webkit.internal.TracingControllerImpl 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.webkit.internal.TracingControllerImpl is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .build();"
errorLine2=" ~~~~~">
<location
@@ -310,8 +310,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.webkit.internal.TracingControllerImpl 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.webkit.internal.TracingControllerImpl is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" getFrameworksImpl().start(config);"
errorLine2=" ~~~~~">
<location
@@ -321,8 +321,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.webkit.internal.TracingControllerImpl 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.webkit.internal.TracingControllerImpl is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return getFrameworksImpl().stop(outputStream, executor);"
errorLine2=" ~~~~">
<location
@@ -332,8 +332,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.webkit.internal.WebMessagePortImpl 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.webkit.internal.WebMessagePortImpl is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" getFrameworksImpl().postMessage(compatToFrameworkMessage(message));"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -343,8 +343,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.webkit.internal.WebMessagePortImpl 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.webkit.internal.WebMessagePortImpl is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" getFrameworksImpl().close();"
errorLine2=" ~~~~~">
<location
@@ -354,8 +354,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.webkit.internal.WebMessagePortImpl 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.webkit.internal.WebMessagePortImpl is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" getFrameworksImpl().setWebMessageCallback(new WebMessagePort.WebMessageCallback() {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -365,8 +365,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.webkit.internal.WebMessagePortImpl 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.webkit.internal.WebMessagePortImpl is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" getFrameworksImpl().setWebMessageCallback(new WebMessagePort.WebMessageCallback() {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -376,8 +376,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.webkit.internal.WebMessagePortImpl 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.webkit.internal.WebMessagePortImpl is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return new WebMessage("
errorLine2=" ~~~~~~~~~~~~~~">
<location
@@ -387,8 +387,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.webkit.internal.WebMessagePortImpl 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.webkit.internal.WebMessagePortImpl is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" message.getData(),"
errorLine2=" ~~~~~~~">
<location
@@ -398,8 +398,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.webkit.internal.WebMessagePortImpl 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.webkit.internal.WebMessagePortImpl is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" portsToCompat(message.getPorts()));"
errorLine2=" ~~~~~~~~">
<location
@@ -409,8 +409,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.webkit.internal.WebResourceErrorImpl 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.webkit.internal.WebResourceErrorImpl is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return getFrameworksImpl().getErrorCode();"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -420,8 +420,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.webkit.internal.WebResourceErrorImpl 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.webkit.internal.WebResourceErrorImpl is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return getFrameworksImpl().getDescription();"
errorLine2=" ~~~~~~~~~~~~~~">
<location
@@ -431,8 +431,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.webkit.WebResourceRequestCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.webkit.WebResourceRequestCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return request.isRedirect();"
errorLine2=" ~~~~~~~~~~">
<location
@@ -442,8 +442,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.webkit.WebSettingsCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.webkit.WebSettingsCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" settings.setOffscreenPreRaster(enabled);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -453,8 +453,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.webkit.WebSettingsCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.webkit.WebSettingsCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return settings.getOffscreenPreRaster();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -464,8 +464,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.webkit.WebSettingsCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.webkit.WebSettingsCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" settings.setSafeBrowsingEnabled(enabled);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -475,8 +475,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.webkit.WebSettingsCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.webkit.WebSettingsCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return settings.getSafeBrowsingEnabled();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -486,8 +486,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.webkit.WebSettingsCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.webkit.WebSettingsCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" settings.setDisabledActionModeMenuItems(menuItems);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -497,8 +497,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.webkit.WebSettingsCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.webkit.WebSettingsCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return settings.getDisabledActionModeMenuItems();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -508,8 +508,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.webkit.WebSettingsCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.webkit.WebSettingsCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" settings.setForceDark(forceDarkMode);"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -519,8 +519,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.webkit.WebSettingsCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.webkit.WebSettingsCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return settings.getForceDark();"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -530,8 +530,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.webkit.WebViewClientCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.webkit.WebViewClientCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (request.isForMainFrame()) {"
errorLine2=" ~~~~~~~~~~~~~~">
<location
@@ -541,8 +541,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.webkit.WebViewClientCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.webkit.WebViewClientCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" request.getUrl().toString());"
errorLine2=" ~~~~~~">
<location
@@ -552,8 +552,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.webkit.WebViewClientCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.webkit.WebViewClientCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return shouldOverrideUrlLoading(view, request.getUrl().toString());"
errorLine2=" ~~~~~~">
<location
@@ -563,173 +563,173 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.webkit.WebViewCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.webkit.WebViewCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" webview.postVisualStateCallback(requestId,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/webkit/WebViewCompat.java"
- line="167"
+ line="166"
column="21"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 27, the call containing class androidx.webkit.WebViewCompat is not annotated with @RequiresApi(x) where x is at least 27. Either annotate the containing class with at least @RequiresApi(27) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(27)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 27; however, the containing class androidx.webkit.WebViewCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" WebView.startSafeBrowsing(context, callback);"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/webkit/WebViewCompat.java"
- line="212"
+ line="211"
column="21"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 27, the call containing class androidx.webkit.WebViewCompat is not annotated with @RequiresApi(x) where x is at least 27. Either annotate the containing class with at least @RequiresApi(27) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(27)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 27; however, the containing class androidx.webkit.WebViewCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" WebView.setSafeBrowsingWhitelist(hostsList, callback);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/webkit/WebViewCompat.java"
- line="263"
+ line="262"
column="21"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 27, the call containing class androidx.webkit.WebViewCompat is not annotated with @RequiresApi(x) where x is at least 27. Either annotate the containing class with at least @RequiresApi(27) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(27)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 27; however, the containing class androidx.webkit.WebViewCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return WebView.getSafeBrowsingPrivacyPolicyUrl();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/webkit/WebViewCompat.java"
- line="328"
+ line="327"
column="28"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.webkit.WebViewCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.webkit.WebViewCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return WebView.getCurrentWebViewPackage();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/webkit/WebViewCompat.java"
- line="358"
+ line="357"
column="28"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.webkit.WebViewCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.webkit.WebViewCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return WebMessagePortImpl.portsToCompat(webview.createWebMessageChannel());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/webkit/WebViewCompat.java"
- line="453"
+ line="452"
column="61"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.webkit.WebViewCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.webkit.WebViewCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" webview.postWebMessage("
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/webkit/WebViewCompat.java"
- line="493"
+ line="492"
column="21"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.webkit.WebViewCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.webkit.WebViewCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return webview.getWebViewClient();"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/webkit/WebViewCompat.java"
- line="741"
+ line="767"
column="28"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.webkit.WebViewCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.webkit.WebViewCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return webview.getWebChromeClient();"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/webkit/WebViewCompat.java"
- line="765"
+ line="791"
column="28"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.webkit.WebViewCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.webkit.WebViewCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" android.webkit.WebViewRenderProcess renderer = webview.getWebViewRenderProcess();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/webkit/WebViewCompat.java"
- line="800"
+ line="826"
column="68"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.webkit.WebViewCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.webkit.WebViewCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" webview.setWebViewRenderProcessClient(executor, webViewRenderProcessClient != null"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/webkit/WebViewCompat.java"
- line="851"
+ line="877"
column="21"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.webkit.WebViewCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.webkit.WebViewCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" webview.setWebViewRenderProcessClient(webViewRenderProcessClient != null"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/webkit/WebViewCompat.java"
- line="890"
+ line="916"
column="21"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.webkit.WebViewCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.webkit.WebViewCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" webview.getWebViewRenderProcessClient();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/webkit/WebViewCompat.java"
- line="921"
+ line="947"
column="29"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.webkit.WebViewCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.webkit.WebViewCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (webview.getWebViewLooper() != Looper.myLooper()) {"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/webkit/WebViewCompat.java"
- line="966"
+ line="992"
column="25"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.webkit.WebViewCompat 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.webkit.WebViewCompat is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" + "(Expected Looper " + webview.getWebViewLooper() + " called on ""
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/webkit/WebViewCompat.java"
- line="970"
+ line="996"
column="57"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.webkit.internal.WebViewGlueCommunicator 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.webkit.internal.WebViewGlueCommunicator is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return WebView.getWebViewClassLoader();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -739,8 +739,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class androidx.webkit.internal.WebViewRenderProcessImpl 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class androidx.webkit.internal.WebViewRenderProcessImpl is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return renderer != null ? renderer.terminate() : false;"
errorLine2=" ~~~~~~~~~">
<location
diff --git a/window/window-extensions/lint-baseline.xml b/window/window-extensions/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/window/window-extensions/lint-baseline.xml
+++ b/window/window-extensions/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/window/window-samples/lint-baseline.xml b/window/window-samples/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/window/window-samples/lint-baseline.xml
+++ b/window/window-samples/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/window/window-sidecar/lint-baseline.xml b/window/window-sidecar/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/window/window-sidecar/lint-baseline.xml
+++ b/window/window-sidecar/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/window/window/lint-baseline.xml b/window/window/lint-baseline.xml
index cb49e17..6527643 100644
--- a/window/window/lint-baseline.xml
+++ b/window/window/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="BanUncheckedReflection"
@@ -41,13 +41,13 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/window/WindowBoundsHelper.java"
- line="379"
+ line="383"
column="13"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.window.WindowBoundsHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.window.WindowBoundsHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (activity.isInMultiWindowMode()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
@@ -57,8 +57,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.window.WindowBoundsHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.window.WindowBoundsHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" currentDisplay.getRealSize(realDisplaySize);"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -68,8 +68,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.window.WindowBoundsHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.window.WindowBoundsHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (!activity.isInMultiWindowMode()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
@@ -79,8 +79,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.window.WindowBoundsHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.window.WindowBoundsHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" && !activity.isInMultiWindowMode()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
@@ -90,8 +90,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.window.WindowBoundsHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.window.WindowBoundsHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (bounds.left == displayCutout.getSafeInsetLeft()) {"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -101,8 +101,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.window.WindowBoundsHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.window.WindowBoundsHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (realDisplaySize.x - bounds.right == displayCutout.getSafeInsetRight()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -112,8 +112,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.window.WindowBoundsHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.window.WindowBoundsHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" bounds.right += displayCutout.getSafeInsetRight();"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
@@ -123,8 +123,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.window.WindowBoundsHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.window.WindowBoundsHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (bounds.top == displayCutout.getSafeInsetTop()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
@@ -134,8 +134,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.window.WindowBoundsHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.window.WindowBoundsHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (realDisplaySize.y - bounds.bottom == displayCutout.getSafeInsetBottom()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
@@ -145,8 +145,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.window.WindowBoundsHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.window.WindowBoundsHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" bounds.bottom += displayCutout.getSafeInsetBottom();"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
@@ -156,8 +156,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.window.WindowBoundsHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.window.WindowBoundsHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (!activity.isInMultiWindowMode()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
@@ -167,13 +167,13 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 17, the call containing class androidx.window.WindowBoundsHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 17; however, the containing class androidx.window.WindowBoundsHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" display.getRealSize(size);"
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/androidx/window/WindowBoundsHelper.java"
- line="326"
+ line="330"
column="21"/>
</issue>
diff --git a/work/integration-tests/testapp/lint-baseline.xml b/work/integration-tests/testapp/lint-baseline.xml
index 9f8217d..cb9618f 100644
--- a/work/integration-tests/testapp/lint-baseline.xml
+++ b/work/integration-tests/testapp/lint-baseline.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.work.integration.testapp.ForegroundWorker 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.work.integration.testapp.ForegroundWorker is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" val channel = NotificationChannel(id, name, NotificationManager.IMPORTANCE_LOW)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -13,8 +13,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.work.integration.testapp.ForegroundWorker 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.work.integration.testapp.ForegroundWorker is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" channel.description = description"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -24,8 +24,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.work.integration.testapp.ForegroundWorker 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.work.integration.testapp.ForegroundWorker is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" channel.lockscreenVisibility = Notification.VISIBILITY_PRIVATE"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
@@ -35,8 +35,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.work.integration.testapp.ForegroundWorker 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.work.integration.testapp.ForegroundWorker is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" notificationManager.createNotificationChannel(channel)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -46,8 +46,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.work.integration.testapp.imageprocessing.ImageProcessingActivity 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.work.integration.testapp.imageprocessing.ImageProcessingActivity is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" && Build.VERSION.SDK_INT >= 16 && data.getClipData() != null) {"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -57,8 +57,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.work.integration.testapp.imageprocessing.ImageProcessingActivity 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.work.integration.testapp.imageprocessing.ImageProcessingActivity is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" int count = data.getClipData().getItemCount();"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -68,8 +68,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 16, the call containing class androidx.work.integration.testapp.imageprocessing.ImageProcessingActivity 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 16; however, the containing class androidx.work.integration.testapp.imageprocessing.ImageProcessingActivity is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" String uriString = data.getClipData().getItemAt(i).getUri().toString();"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -79,57 +79,57 @@
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" jobScheduler.cancelAll();"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/androidx/work/integration/testapp/MainActivity.java"
- line="523"
+ line="558"
column="34"/>
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" jobScheduler.schedule("
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/work/integration/testapp/MainActivity.java"
- line="525"
+ line="560"
column="38"/>
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" new JobInfo.Builder("
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/work/integration/testapp/MainActivity.java"
- line="526"
+ line="561"
column="33"/>
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .setMinimumLatency(10 * 60 * 1000)"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/work/integration/testapp/MainActivity.java"
- line="529"
+ line="564"
column="42"/>
</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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" .build());"
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/work/integration/testapp/MainActivity.java"
- line="530"
+ line="565"
column="42"/>
</issue>
@@ -140,7 +140,7 @@
errorLine2=" ~~~">
<location
file="src/main/java/androidx/work/integration/testapp/MainActivity.java"
- line="174"
+ line="179"
column="26"/>
</issue>
@@ -151,7 +151,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/strings.xml"
- line="42"
+ line="45"
column="14"/>
</issue>
@@ -162,7 +162,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/strings.xml"
- line="45"
+ line="48"
column="14"/>
</issue>
@@ -437,7 +437,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/work/integration/testapp/MainActivity.java"
- line="76"
+ line="81"
column="29"/>
</issue>
diff --git a/work/workmanager-benchmark/lint-baseline.xml b/work/workmanager-benchmark/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/work/workmanager-benchmark/lint-baseline.xml
+++ b/work/workmanager-benchmark/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/work/workmanager-gcm/lint-baseline.xml b/work/workmanager-gcm/lint-baseline.xml
index ca653be..2f222a0 100644
--- a/work/workmanager-gcm/lint-baseline.xml
+++ b/work/workmanager-gcm/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta04" client="gradle" variant="debug" version="4.2.0-beta04">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="BanKeepAnnotation"
diff --git a/work/workmanager-inspection/lint-baseline.xml b/work/workmanager-inspection/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/work/workmanager-inspection/lint-baseline.xml
+++ b/work/workmanager-inspection/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/work/workmanager-ktx/lint-baseline.xml b/work/workmanager-ktx/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/work/workmanager-ktx/lint-baseline.xml
+++ b/work/workmanager-ktx/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/work/workmanager-lint/lint-baseline.xml b/work/workmanager-lint/lint-baseline.xml
index 297ae16..8794ae8 100644
--- a/work/workmanager-lint/lint-baseline.xml
+++ b/work/workmanager-lint/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" version="4.2.0-beta06">
</issues>
diff --git a/work/workmanager-multiprocess/lint-baseline.xml b/work/workmanager-multiprocess/lint-baseline.xml
index 6a82a8f..aaebb86 100644
--- a/work/workmanager-multiprocess/lint-baseline.xml
+++ b/work/workmanager-multiprocess/lint-baseline.xml
@@ -1,15 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta04" client="gradle" variant="debug" version="4.2.0-beta04">
-
- <issue
- id="BanKeepAnnotation"
- message="Uses @Keep annotation"
- errorLine1=" @Keep"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/work/multiprocess/RemoteWorkManagerClient.java"
- line="80"
- column="5"/>
- </issue>
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/work/workmanager-rxjava2/lint-baseline.xml b/work/workmanager-rxjava2/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/work/workmanager-rxjava2/lint-baseline.xml
+++ b/work/workmanager-rxjava2/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/work/workmanager-rxjava3/lint-baseline.xml b/work/workmanager-rxjava3/lint-baseline.xml
index 8f1aa4b..aaebb86 100644
--- a/work/workmanager-rxjava3/lint-baseline.xml
+++ b/work/workmanager-rxjava3/lint-baseline.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
</issues>
diff --git a/work/workmanager-testing/lint-baseline.xml b/work/workmanager-testing/lint-baseline.xml
index 9529618..cad2625 100644
--- a/work/workmanager-testing/lint-baseline.xml
+++ b/work/workmanager-testing/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="KotlinPropertyAccess"
diff --git a/work/workmanager/lint-baseline.xml b/work/workmanager/lint-baseline.xml
index ef161ab..c4e74ad 100644
--- a/work/workmanager/lint-baseline.xml
+++ b/work/workmanager/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="5" by="lint 4.2.0-beta02" client="gradle" variant="debug" version="4.2.0-beta02">
+<issues format="5" by="lint 4.2.0-beta06" client="gradle" variant="debug" version="4.2.0-beta06">
<issue
id="BanSynchronizedMethods"
@@ -79,8 +79,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.work.impl.background.systemalarm.Alarms 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.work.impl.background.systemalarm.Alarms is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" alarmManager.setExact(RTC_WAKEUP, triggerAtMillis, pendingIntent);"
errorLine2=" ~~~~~~~~">
<location
@@ -90,8 +90,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.work.Constraints.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.work.Constraints.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mTriggerContentUpdateDelay = duration.toMillis();"
errorLine2=" ~~~~~~~~">
<location
@@ -101,8 +101,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.work.Constraints.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.work.Constraints.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mTriggerContentMaxDelay = duration.toMillis();"
errorLine2=" ~~~~~~~~">
<location
@@ -112,19 +112,19 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 19, the call containing class androidx.work.impl.utils.ForceStopRunnable 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 19; however, the containing class androidx.work.impl.utils.ForceStopRunnable is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" alarmManager.setExact(RTC_WAKEUP, triggerAt, pendingIntent);"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/work/impl/utils/ForceStopRunnable.java"
- line="294"
+ line="303"
column="30"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.work.impl.constraints.trackers.NetworkStateTracker 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.work.impl.constraints.trackers.NetworkStateTracker is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mConnectivityManager.registerDefaultNetworkCallback(mNetworkCallback);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -134,8 +134,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.work.impl.constraints.trackers.NetworkStateTracker 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.work.impl.constraints.trackers.NetworkStateTracker is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mConnectivityManager.unregisterNetworkCallback(mNetworkCallback);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -145,8 +145,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 23, the call containing class androidx.work.impl.constraints.trackers.NetworkStateTracker 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 23; however, the containing class androidx.work.impl.constraints.trackers.NetworkStateTracker is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" Network network = mConnectivityManager.getActiveNetwork();"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
@@ -156,8 +156,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.work.impl.constraints.trackers.NetworkStateTracker 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.work.impl.constraints.trackers.NetworkStateTracker is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" NetworkCapabilities capabilities = mConnectivityManager.getNetworkCapabilities(network);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -167,8 +167,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.work.impl.constraints.trackers.NetworkStateTracker 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.work.impl.constraints.trackers.NetworkStateTracker is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" && capabilities.hasCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED);"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -178,8 +178,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.work.PeriodicWorkRequest.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.work.PeriodicWorkRequest.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mWorkSpec.setPeriodic(repeatInterval.toMillis());"
errorLine2=" ~~~~~~~~">
<location
@@ -189,8 +189,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.work.PeriodicWorkRequest.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.work.PeriodicWorkRequest.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mWorkSpec.setPeriodic(repeatInterval.toMillis(), flexInterval.toMillis());"
errorLine2=" ~~~~~~~~">
<location
@@ -200,8 +200,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.work.PeriodicWorkRequest.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.work.PeriodicWorkRequest.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mWorkSpec.setPeriodic(repeatInterval.toMillis(), flexInterval.toMillis());"
errorLine2=" ~~~~~~~~">
<location
@@ -211,8 +211,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.work.impl.utils.ProcessUtils 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.work.impl.utils.ProcessUtils is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return Application.getProcessName();"
errorLine2=" ~~~~~~~~~~~~~~">
<location
@@ -222,8 +222,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 29, the call containing class null 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 29; however, the containing class null is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" startForeground(notificationId, notification, notificationType);"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
@@ -233,85 +233,96 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.work.impl.background.systemjob.SystemJobInfoConverter 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.work.impl.background.systemjob.SystemJobInfoConverter is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" builder.setImportantWhileForeground(true);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/work/impl/background/systemjob/SystemJobInfoConverter.java"
- line="102"
+ line="105"
column="25"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.work.impl.background.systemjob.SystemJobInfoConverter 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.work.impl.background.systemjob.SystemJobInfoConverter is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" builder.addTriggerContentUri(convertContentUriTrigger(trigger));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/work/impl/background/systemjob/SystemJobInfoConverter.java"
- line="109"
+ line="112"
column="25"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.work.impl.background.systemjob.SystemJobInfoConverter 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.work.impl.background.systemjob.SystemJobInfoConverter is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" builder.setTriggerContentUpdateDelay(constraints.getTriggerContentUpdateDelay());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/work/impl/background/systemjob/SystemJobInfoConverter.java"
- line="111"
+ line="114"
column="21"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.work.impl.background.systemjob.SystemJobInfoConverter 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.work.impl.background.systemjob.SystemJobInfoConverter is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" builder.setTriggerContentMaxDelay(constraints.getTriggerMaxContentDelay());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/work/impl/background/systemjob/SystemJobInfoConverter.java"
- line="112"
+ line="115"
column="21"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.work.impl.background.systemjob.SystemJobInfoConverter 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.work.impl.background.systemjob.SystemJobInfoConverter is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" builder.setRequiresBatteryNotLow(constraints.requiresBatteryNotLow());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/work/impl/background/systemjob/SystemJobInfoConverter.java"
- line="119"
+ line="122"
column="21"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.work.impl.background.systemjob.SystemJobInfoConverter 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.work.impl.background.systemjob.SystemJobInfoConverter is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" builder.setRequiresStorageNotLow(constraints.requiresStorageNotLow());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/work/impl/background/systemjob/SystemJobInfoConverter.java"
- line="120"
+ line="123"
column="21"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.work.impl.background.systemjob.SystemJobInfoConverter 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.work.impl.background.systemjob.SystemJobInfoConverter is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return new JobInfo.TriggerContentUri(trigger.getUri(), flag);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/work/impl/background/systemjob/SystemJobInfoConverter.java"
- line="130"
+ line="133"
column="16"/>
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.work.impl.background.systemjob.SystemJobService 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.work.impl.background.systemjob.SystemJobInfoConverter is reachable from earlier API levels and will fail run-time class verification."
+ errorLine1=" builder.setRequiredNetwork(networkRequest);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/work/impl/background/systemjob/SystemJobInfoConverter.java"
+ line="152"
+ column="21"/>
+ </issue>
+
+ <issue
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.work.impl.background.systemjob.SystemJobService is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (params.getTriggeredContentUris() != null) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -321,8 +332,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.work.impl.background.systemjob.SystemJobService 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.work.impl.background.systemjob.SystemJobService is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" Arrays.asList(params.getTriggeredContentUris());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -332,8 +343,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.work.impl.background.systemjob.SystemJobService 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.work.impl.background.systemjob.SystemJobService is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (params.getTriggeredContentAuthorities() != null) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -343,8 +354,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.work.impl.background.systemjob.SystemJobService 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.work.impl.background.systemjob.SystemJobService is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" Arrays.asList(params.getTriggeredContentAuthorities());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -354,8 +365,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 28, the call containing class androidx.work.impl.background.systemjob.SystemJobService 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 28; however, the containing class androidx.work.impl.background.systemjob.SystemJobService is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" runtimeExtras.network = params.getNetwork();"
errorLine2=" ~~~~~~~~~~">
<location
@@ -365,8 +376,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 21, the call containing class androidx.work.impl.WorkDatabasePathHelper 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 21; however, the containing class androidx.work.impl.WorkDatabasePathHelper is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" return new File(context.getNoBackupFilesDir(), filePath);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
@@ -376,8 +387,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 24, the call containing class androidx.work.impl.WorkManagerImpl 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 24; however, the containing class androidx.work.impl.WorkManagerImpl is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N && context.isDeviceProtectedStorage()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -387,8 +398,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.work.WorkRequest.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.work.WorkRequest.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mWorkSpec.setBackoffDelayDuration(duration.toMillis());"
errorLine2=" ~~~~~~~~">
<location
@@ -398,8 +409,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.work.WorkRequest.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.work.WorkRequest.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mWorkSpec.minimumRetentionDuration = duration.toMillis();"
errorLine2=" ~~~~~~~~">
<location
@@ -409,8 +420,8 @@
</issue>
<issue
- id="UnsafeNewApiCall"
- message="This call is to a method from API 26, the call containing class androidx.work.WorkRequest.Builder 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)."
+ id="ClassVerificationFailure"
+ message="This call references a method added in API level 26; however, the containing class androidx.work.WorkRequest.Builder is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" mWorkSpec.initialDelay = duration.toMillis();"
errorLine2=" ~~~~~~~~">
<location
@@ -947,39 +958,6 @@
<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 Operation getOperation() {"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/work/impl/utils/EnqueueRunnable.java"
- line="106"
- column="12"/>
- </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 onReceive(Context context, Intent intent) {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/work/impl/utils/ForceStopRunnable.java"
- line="313"
- column="31"/>
- </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 onReceive(Context context, Intent intent) {"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/work/impl/utils/ForceStopRunnable.java"
- line="313"
- column="48"/>
- </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 InputMerger fromClassName(String className) {"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -2051,7 +2029,7 @@
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/work/impl/model/WorkTypeConverters.java"
- line="88"
+ line="90"
column="34"/>
</issue>
@@ -2062,7 +2040,7 @@
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/work/impl/model/WorkTypeConverters.java"
- line="121"
+ line="123"
column="19"/>
</issue>
@@ -2073,7 +2051,7 @@
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/work/impl/model/WorkTypeConverters.java"
- line="154"
+ line="156"
column="42"/>
</issue>
@@ -2084,7 +2062,7 @@
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/work/impl/model/WorkTypeConverters.java"
- line="175"
+ line="177"
column="19"/>
</issue>
@@ -2095,7 +2073,7 @@
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/androidx/work/impl/model/WorkTypeConverters.java"
- line="196"
+ line="199"
column="40"/>
</issue>
@@ -2106,7 +2084,7 @@
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/androidx/work/impl/model/WorkTypeConverters.java"
- line="226"
+ line="234"
column="19"/>
</issue>
@@ -2117,7 +2095,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/work/impl/model/WorkTypeConverters.java"
- line="255"
+ line="267"
column="19"/>
</issue>
@@ -2128,7 +2106,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/work/impl/model/WorkTypeConverters.java"
- line="255"
+ line="267"
column="56"/>
</issue>
@@ -2139,7 +2117,7 @@
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/work/impl/model/WorkTypeConverters.java"
- line="293"
+ line="306"
column="19"/>
</issue>
@@ -2150,7 +2128,7 @@
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/work/impl/model/WorkTypeConverters.java"
- line="293"
+ line="306"
column="68"/>
</issue>
@@ -2161,7 +2139,7 @@
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/work/WorkerParameters.java"
- line="208"
+ line="216"
column="16"/>
</issue>
@@ -2172,7 +2150,7 @@
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/work/impl/WorkerWrapper.java"
- line="685"
+ line="684"
column="16"/>
</issue>