Fixed
Status Update
Comments
al...@google.com <al...@google.com>
ap...@google.com <ap...@google.com> #2
Trying to reproduce this on my 4.2.2 (v17) Nexus 4. Added this drawable:
<transition xmlns:android="http://schemas.android.com/apk/res/android " >
<item android:drawable="@drawable/test_drawable_blue"/>
<item android:drawable="@drawable/test_drawable_green"/>
</transition>
where blue/green drawables look like this:
<shape
xmlns:android="http://schemas.android.com/apk/res/android "
android:shape="rectangle">
<size
android:width="@dimen/drawable_large_size"
android:height="@dimen/drawable_small_size" />
<solid
android:color="@color/test_blue" />
</shape>
Then added this test:
@Test
public void testMutateTransitionDrawable() {
Drawable drawable = ResourcesCompat.getDrawable(mResources,
R.drawable.test_transition_drawable, null);
assertTrue(drawable instanceof TransitionDrawable);
Drawable mutated = drawable.mutate();
assertTrue(drawable instanceof TransitionDrawable);
assertTrue(mutated instanceof TransitionDrawable);
}
It passes on the device. Going to also try on other earlier devices a bit later in the day once they are charged.
<transition xmlns:android="
<item android:drawable="@drawable/test_drawable_blue"/>
<item android:drawable="@drawable/test_drawable_green"/>
</transition>
where blue/green drawables look like this:
<shape
xmlns:android="
android:shape="rectangle">
<size
android:width="@dimen/drawable_large_size"
android:height="@dimen/drawable_small_size" />
<solid
android:color="@color/test_blue" />
</shape>
Then added this test:
@Test
public void testMutateTransitionDrawable() {
Drawable drawable = ResourcesCompat.getDrawable(mResources,
R.drawable.test_transition_drawable, null);
assertTrue(drawable instanceof TransitionDrawable);
Drawable mutated = drawable.mutate();
assertTrue(drawable instanceof TransitionDrawable);
assertTrue(mutated instanceof TransitionDrawable);
}
It passes on the device. Going to also try on other earlier devices a bit later in the day once they are charged.
Description
The following lint check is baseline suppressed in your project. Please remove all instances of this suppression from
core/core/lint-baseline.xml
and address the associated issues before your next stable release.62 instance(s) of
ClassVerificationFailure
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.
Found in
src/main/java/androidx/core/app/Person.java
at line 71: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.
Found in
src/main/java/androidx/core/app/Person.java
at line 72: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.
Found in
src/main/java/androidx/core/app/Person.java
at line 73: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.
Found in
src/main/java/androidx/core/app/Person.java
at line 74: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.
Found in
src/main/java/androidx/core/app/Person.java
at line 75: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.
Found in
src/main/java/androidx/core/app/Person.java
at line 89: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.
Found in
src/main/java/androidx/core/app/Person.java
at line 91: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.
Found in
src/main/java/androidx/core/app/Person.java
at line 92: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.
Found in
src/main/java/androidx/core/app/Person.java
at line 94: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.
Found in
src/main/java/androidx/core/app/Person.java
at line 95: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.
Found in
src/main/java/androidx/core/app/Person.java
at line 96: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.
Found in
src/main/java/androidx/core/app/Person.java
at line 97: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.
Found in
src/main/java/androidx/core/app/Person.java
at line 151: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.
Found in
src/main/java/androidx/core/app/Person.java
at line 152: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.
Found in
src/main/java/androidx/core/app/Person.java
at line 153: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.
Found in
src/main/java/androidx/core/app/Person.java
at line 154: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.
Found in
src/main/java/androidx/core/app/Person.java
at line 155: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.
Found in
src/main/java/androidx/core/app/Person.java
at line 156: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.
Found in
src/main/java/androidx/core/app/Person.java
at line 175: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.
Found in
src/main/java/androidx/core/app/Person.java
at line 176: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.
Found in
src/main/java/androidx/core/app/Person.java
at line 177: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.
Found in
src/main/java/androidx/core/app/Person.java
at line 178: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.
Found in
src/main/java/androidx/core/app/Person.java
at line 179: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.
Found in
src/main/java/androidx/core/app/Person.java
at line 180: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.
Found in
src/main/java/androidx/core/app/Person.java
at line 181: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.
Found in
src/main/java/androidx/core/app/Person.java
at line 182: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.
Found in
src/main/java/androidx/core/app/RemoteActionCompat.java
at line 117: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.
Found in
src/main/java/androidx/core/app/RemoteActionCompat.java
at line 117: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.
Found in
src/main/java/androidx/core/app/RemoteActionCompat.java
at line 118: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.
Found in
src/main/java/androidx/core/app/RemoteActionCompat.java
at line 118: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.
Found in
src/main/java/androidx/core/app/RemoteActionCompat.java
at line 119: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.
Found in
src/main/java/androidx/core/app/RemoteActionCompat.java
at line 121: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.
Found in
src/main/java/androidx/core/app/RemoteActionCompat.java
at line 190: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.
Found in
src/main/java/androidx/core/app/RemoteActionCompat.java
at line 192: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.
Found in
src/main/java/androidx/core/app/RemoteActionCompat.java
at line 194: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.
Found in
src/main/java/androidx/core/app/RemoteInput.java
at line 339: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.
Found in
src/main/java/androidx/core/app/RemoteInput.java
at line 377: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.
Found in
src/main/java/androidx/core/app/RemoteInput.java
at line 403: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.
Found in
src/main/java/androidx/core/app/RemoteInput.java
at line 426: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.
Found in
src/main/java/androidx/core/app/RemoteInput.java
at line 452: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.
Found in
src/main/java/androidx/core/app/RemoteInput.java
at line 467: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.
Found in
src/main/java/androidx/core/app/RemoteInput.java
at line 487: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.
Found in
src/main/java/androidx/core/app/RemoteInput.java
at line 506: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.
Found in
src/main/java/androidx/core/app/RemoteInput.java
at line 513: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.
Found in
src/main/java/androidx/core/app/RemoteInput.java
at line 531: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.
Found in
src/main/java/androidx/core/app/RemoteInput.java
at line 562: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.
Found in
src/main/java/androidx/core/app/RemoteInput.java
at line 563: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.
Found in
src/main/java/androidx/core/app/RemoteInput.java
at line 564: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.
Found in
src/main/java/androidx/core/app/RemoteInput.java
at line 565: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.
Found in
src/main/java/androidx/core/app/RemoteInput.java
at line 566: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.
Found in
src/main/java/androidx/core/app/RemoteInput.java
at line 568: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.
Found in
src/main/java/androidx/core/app/RemoteInput.java
at line 570: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.
Found in
src/main/java/androidx/core/app/RemoteInput.java
at line 576: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.
Found in
src/main/java/androidx/core/app/RemoteInput.java
at line 577: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.
Found in
src/main/java/androidx/core/app/RemoteInput.java
at line 578: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.
Found in
src/main/java/androidx/core/app/RemoteInput.java
at line 579: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.
Found in
src/main/java/androidx/core/app/RemoteInput.java
at line 580: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.
Found in
src/main/java/androidx/core/app/RemoteInput.java
at line 582: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.
Found in
src/main/java/androidx/core/app/RemoteInput.java
at line 589: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.
Found in
src/main/java/androidx/core/app/ServiceCompat.java
at line 99: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.
Found in
src/main/java/androidx/core/app/ShareCompat.java
at line 835: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.
Found in
src/main/java/androidx/core/app/TaskStackBuilder.java
at line 341: