[go: nahoru, domu]

blob: 29410e5c82174fc52b497663c6cb51c65a1e8426 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 8.0.0-beta03" type="baseline" client="cli" dependencies="false" name="AGP (8.0.0-beta03)" variant="all" version="8.0.0-beta03">
<issue
id="NewApi"
message="Call requires API level 21 (current min is 14): `android.graphics.drawable.Drawable#getColorFilter`"
errorLine1=" assertNotNull(ld.getDrawable(0).getColorFilter());"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/androidTest/java/androidx/appcompat/widget/TintResourcesTest.java"/>
</issue>
<issue
id="BanSynchronizedMethods"
message="Use of synchronized methods is not recommended"
errorLine1=" /**"
errorLine2=" ^">
<location
file="src/main/java/androidx/appcompat/widget/ResourceManagerInternal.java"/>
</issue>
<issue
id="BanSynchronizedMethods"
message="Use of synchronized methods is not recommended"
errorLine1=" public synchronized void setHooks(ResourceManagerHooks hooks) {"
errorLine2=" ^">
<location
file="src/main/java/androidx/appcompat/widget/ResourceManagerInternal.java"/>
</issue>
<issue
id="BanSynchronizedMethods"
message="Use of synchronized methods is not recommended"
errorLine1=" public synchronized Drawable getDrawable(@NonNull Context context, @DrawableRes int resId) {"
errorLine2=" ^">
<location
file="src/main/java/androidx/appcompat/widget/ResourceManagerInternal.java"/>
</issue>
<issue
id="BanSynchronizedMethods"
message="Use of synchronized methods is not recommended"
errorLine1=" synchronized Drawable getDrawable(@NonNull Context context, @DrawableRes int resId,"
errorLine2=" ^">
<location
file="src/main/java/androidx/appcompat/widget/ResourceManagerInternal.java"/>
</issue>
<issue
id="BanSynchronizedMethods"
message="Use of synchronized methods is not recommended"
errorLine1=" public synchronized void onConfigurationChanged(@NonNull Context context) {"
errorLine2=" ^">
<location
file="src/main/java/androidx/appcompat/widget/ResourceManagerInternal.java"/>
</issue>
<issue
id="BanSynchronizedMethods"
message="Use of synchronized methods is not recommended"
errorLine1=" private synchronized Drawable getCachedDrawable(@NonNull final Context context,"
errorLine2=" ^">
<location
file="src/main/java/androidx/appcompat/widget/ResourceManagerInternal.java"/>
</issue>
<issue
id="BanSynchronizedMethods"
message="Use of synchronized methods is not recommended"
errorLine1=" private synchronized boolean addDrawableToCache(@NonNull final Context context, final long key,"
errorLine2=" ^">
<location
file="src/main/java/androidx/appcompat/widget/ResourceManagerInternal.java"/>
</issue>
<issue
id="BanSynchronizedMethods"
message="Use of synchronized methods is not recommended"
errorLine1=" synchronized Drawable onDrawableLoadedFromResources(@NonNull Context context,"
errorLine2=" ^">
<location
file="src/main/java/androidx/appcompat/widget/ResourceManagerInternal.java"/>
</issue>
<issue
id="BanSynchronizedMethods"
message="Use of synchronized methods is not recommended"
errorLine1=" synchronized ColorStateList getTintList(@NonNull Context context, @DrawableRes int resId) {"
errorLine2=" ^">
<location
file="src/main/java/androidx/appcompat/widget/ResourceManagerInternal.java"/>
</issue>
<issue
id="BanSynchronizedMethods"
message="Use of synchronized methods is not recommended"
errorLine1=" public static synchronized PorterDuffColorFilter getPorterDuffColorFilter("
errorLine2=" ^">
<location
file="src/main/java/androidx/appcompat/widget/ResourceManagerInternal.java"/>
</issue>
<issue
id="KotlinPropertyAccess"
message="The getter return type (`Theme`) and setter parameter type (`int`) getter and setter methods for property `theme` 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 Resources.Theme getTheme() {"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/TintContextWrapper.java"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static ColorStateList getColorStateList(@NonNull Context context, @ColorRes int resId) {"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/content/res/AppCompatResources.java"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void setColorFilter(ColorFilter colorFilter) {"
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/graphics/drawable/DrawableContainerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void setTintList(ColorStateList tint) {"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/graphics/drawable/DrawableContainerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" protected void onBoundsChange(Rect bounds) {"
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/appcompat/graphics/drawable/DrawableContainerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public final ConstantState getConstantState() {"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/graphics/drawable/DrawableContainerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Drawable mutate() {"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/graphics/drawable/DrawableContainerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static PorterDuff.Mode parseTintMode(int value, PorterDuff.Mode defaultMode) {"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/DrawableUtils.java"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static PorterDuff.Mode parseTintMode(int value, PorterDuff.Mode defaultMode) {"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/DrawableUtils.java"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public DrawableWrapperCompat(Drawable drawable) {"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/graphics/drawable/DrawableWrapperCompat.java"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" protected void onBoundsChange(Rect bounds) {"
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/appcompat/graphics/drawable/DrawableWrapperCompat.java"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void setColorFilter(ColorFilter cf) {"
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/graphics/drawable/DrawableWrapperCompat.java"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public boolean setState(final int[] stateSet) {"
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/appcompat/graphics/drawable/DrawableWrapperCompat.java"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public int[] getState() {"
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/appcompat/graphics/drawable/DrawableWrapperCompat.java"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Drawable getCurrent() {"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/graphics/drawable/DrawableWrapperCompat.java"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Region getTransparentRegion() {"
errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/appcompat/graphics/drawable/DrawableWrapperCompat.java"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public boolean getPadding(Rect padding) {"
errorLine2=" ~~~~">
<location
file="src/main/java/androidx/appcompat/graphics/drawable/DrawableWrapperCompat.java"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void invalidateDrawable(Drawable who) {"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/graphics/drawable/DrawableWrapperCompat.java"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void scheduleDrawable(Drawable who, Runnable what, long when) {"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/graphics/drawable/DrawableWrapperCompat.java"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void scheduleDrawable(Drawable who, Runnable what, long when) {"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/graphics/drawable/DrawableWrapperCompat.java"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void unscheduleDrawable(Drawable who, Runnable what) {"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/graphics/drawable/DrawableWrapperCompat.java"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void unscheduleDrawable(Drawable who, Runnable what) {"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/graphics/drawable/DrawableWrapperCompat.java"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void setTintList(ColorStateList tint) {"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/graphics/drawable/DrawableWrapperCompat.java"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void setTintMode(PorterDuff.Mode tintMode) {"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/graphics/drawable/DrawableWrapperCompat.java"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static synchronized ResourceManagerInternal get() {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/ResourceManagerInternal.java"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public synchronized void setHooks(ResourceManagerHooks hooks) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/ResourceManagerInternal.java"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public synchronized Drawable getDrawable(@NonNull Context context, @DrawableRes int resId) {"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/ResourceManagerInternal.java"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static synchronized PorterDuffColorFilter getPorterDuffColorFilter("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/ResourceManagerInternal.java"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" int color, PorterDuff.Mode mode) {"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/ResourceManagerInternal.java"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void addState(int[] stateSet, Drawable drawable) {"
errorLine2=" ~~~~~">
<location
file="src/main/java/androidx/appcompat/graphics/drawable/StateListDrawableCompat.java"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void addState(int[] stateSet, Drawable drawable) {"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/graphics/drawable/StateListDrawableCompat.java"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static Context wrap(@NonNull final Context context) {"
errorLine2=" ~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/TintContextWrapper.java"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public ColorStateList mTintList;"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/TintInfo.java"/>
</issue>
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public PorterDuff.Mode mTintMode;"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/appcompat/widget/TintInfo.java"/>
</issue>
</issues>