Fixed
Status Update
Comments
il...@google.com <il...@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.
il...@google.com <il...@google.com> #3
Also not reproducible on Galaxy Nexus running 4.0.1 (v14), 4.0.4 (v15) and 4.2.2 (v17)
il...@google.com <il...@google.com> #4
il...@google.com <il...@google.com>
ap...@google.com <ap...@google.com> #5
Project: platform/prebuilts/androidx/internal
Branch: androidx-main
commit c401d55212506185e88030c06634e3538e0ac4b2
Author: Jeremy Woods <jbwoods@google.com>
Date: Wed Jul 14 16:37:50 2021
Add core 1.4.0 prebuilts
./development/importMaven/import_maven_artifacts.py -n
`androidx.test:core:1.4.0`
Test: ./gradlew bOS
Bug: 189353863
Change-Id: Ifb47a868341a7153204ed5383d4065e063b73b59
A androidx/test/core/1.4.0/core-1.4.0-sources.jar
A androidx/test/core/1.4.0/core-1.4.0-sources.jar.md5
A androidx/test/core/1.4.0/core-1.4.0-sources.jar.sha1
A androidx/test/core/1.4.0/core-1.4.0.aar
A androidx/test/core/1.4.0/core-1.4.0.aar.md5
A androidx/test/core/1.4.0/core-1.4.0.aar.sha1
A androidx/test/core/1.4.0/core-1.4.0.pom
A androidx/test/core/1.4.0/core-1.4.0.pom.md5
A androidx/test/core/1.4.0/core-1.4.0.pom.sha1
A androidx/test/ext/truth/1.4.0/truth-1.4.0-sources.jar
A androidx/test/ext/truth/1.4.0/truth-1.4.0-sources.jar.md5
A androidx/test/ext/truth/1.4.0/truth-1.4.0-sources.jar.sha1
A androidx/test/ext/truth/1.4.0/truth-1.4.0.aar
A androidx/test/ext/truth/1.4.0/truth-1.4.0.aar.md5
A androidx/test/ext/truth/1.4.0/truth-1.4.0.aar.sha1
A androidx/test/ext/truth/1.4.0/truth-1.4.0.pom
A androidx/test/ext/truth/1.4.0/truth-1.4.0.pom.md5
A androidx/test/ext/truth/1.4.0/truth-1.4.0.pom.sha1
A androidx/test/monitor/1.4.0/monitor-1.4.0-sources.jar
A androidx/test/monitor/1.4.0/monitor-1.4.0-sources.jar.md5
A androidx/test/monitor/1.4.0/monitor-1.4.0-sources.jar.sha1
A androidx/test/monitor/1.4.0/monitor-1.4.0.aar
A androidx/test/monitor/1.4.0/monitor-1.4.0.aar.md5
A androidx/test/monitor/1.4.0/monitor-1.4.0.aar.sha1
A androidx/test/monitor/1.4.0/monitor-1.4.0.pom
A androidx/test/monitor/1.4.0/monitor-1.4.0.pom.md5
A androidx/test/monitor/1.4.0/monitor-1.4.0.pom.sha1
A androidx/test/rules/1.4.0/rules-1.4.0-sources.jar
A androidx/test/rules/1.4.0/rules-1.4.0-sources.jar.md5
A androidx/test/rules/1.4.0/rules-1.4.0-sources.jar.sha1
A androidx/test/rules/1.4.0/rules-1.4.0.aar
A androidx/test/rules/1.4.0/rules-1.4.0.aar.md5
A androidx/test/rules/1.4.0/rules-1.4.0.aar.sha1
A androidx/test/rules/1.4.0/rules-1.4.0.pom
A androidx/test/rules/1.4.0/rules-1.4.0.pom.md5
A androidx/test/rules/1.4.0/rules-1.4.0.pom.sha1
A androidx/test/runner/1.4.0/runner-1.4.0-sources.jar
A androidx/test/runner/1.4.0/runner-1.4.0-sources.jar.md5
A androidx/test/runner/1.4.0/runner-1.4.0-sources.jar.sha1
A androidx/test/runner/1.4.0/runner-1.4.0.aar
A androidx/test/runner/1.4.0/runner-1.4.0.aar.md5
A androidx/test/runner/1.4.0/runner-1.4.0.aar.sha1
A androidx/test/runner/1.4.0/runner-1.4.0.pom
A androidx/test/runner/1.4.0/runner-1.4.0.pom.md5
A androidx/test/runner/1.4.0/runner-1.4.0.pom.sha1
A androidx/test/services/storage/1.4.0/storage-1.4.0-sources.jar
A androidx/test/services/storage/1.4.0/storage-1.4.0-sources.jar.md5
A androidx/test/services/storage/1.4.0/storage-1.4.0-sources.jar.sha1
A androidx/test/services/storage/1.4.0/storage-1.4.0.aar
A androidx/test/services/storage/1.4.0/storage-1.4.0.aar.md5
A androidx/test/services/storage/1.4.0/storage-1.4.0.aar.sha1
A androidx/test/services/storage/1.4.0/storage-1.4.0.pom
A androidx/test/services/storage/1.4.0/storage-1.4.0.pom.md5
A androidx/test/services/storage/1.4.0/storage-1.4.0.pom.sha1
https://android-review.googlesource.com/1766663
Branch: androidx-main
commit c401d55212506185e88030c06634e3538e0ac4b2
Author: Jeremy Woods <jbwoods@google.com>
Date: Wed Jul 14 16:37:50 2021
Add core 1.4.0 prebuilts
./development/importMaven/import_maven_artifacts.py -n
`androidx.test:core:1.4.0`
Test: ./gradlew bOS
Bug: 189353863
Change-Id: Ifb47a868341a7153204ed5383d4065e063b73b59
A androidx/test/core/1.4.0/core-1.4.0-sources.jar
A androidx/test/core/1.4.0/core-1.4.0-sources.jar.md5
A androidx/test/core/1.4.0/core-1.4.0-sources.jar.sha1
A androidx/test/core/1.4.0/core-1.4.0.aar
A androidx/test/core/1.4.0/core-1.4.0.aar.md5
A androidx/test/core/1.4.0/core-1.4.0.aar.sha1
A androidx/test/core/1.4.0/core-1.4.0.pom
A androidx/test/core/1.4.0/core-1.4.0.pom.md5
A androidx/test/core/1.4.0/core-1.4.0.pom.sha1
A androidx/test/ext/truth/1.4.0/truth-1.4.0-sources.jar
A androidx/test/ext/truth/1.4.0/truth-1.4.0-sources.jar.md5
A androidx/test/ext/truth/1.4.0/truth-1.4.0-sources.jar.sha1
A androidx/test/ext/truth/1.4.0/truth-1.4.0.aar
A androidx/test/ext/truth/1.4.0/truth-1.4.0.aar.md5
A androidx/test/ext/truth/1.4.0/truth-1.4.0.aar.sha1
A androidx/test/ext/truth/1.4.0/truth-1.4.0.pom
A androidx/test/ext/truth/1.4.0/truth-1.4.0.pom.md5
A androidx/test/ext/truth/1.4.0/truth-1.4.0.pom.sha1
A androidx/test/monitor/1.4.0/monitor-1.4.0-sources.jar
A androidx/test/monitor/1.4.0/monitor-1.4.0-sources.jar.md5
A androidx/test/monitor/1.4.0/monitor-1.4.0-sources.jar.sha1
A androidx/test/monitor/1.4.0/monitor-1.4.0.aar
A androidx/test/monitor/1.4.0/monitor-1.4.0.aar.md5
A androidx/test/monitor/1.4.0/monitor-1.4.0.aar.sha1
A androidx/test/monitor/1.4.0/monitor-1.4.0.pom
A androidx/test/monitor/1.4.0/monitor-1.4.0.pom.md5
A androidx/test/monitor/1.4.0/monitor-1.4.0.pom.sha1
A androidx/test/rules/1.4.0/rules-1.4.0-sources.jar
A androidx/test/rules/1.4.0/rules-1.4.0-sources.jar.md5
A androidx/test/rules/1.4.0/rules-1.4.0-sources.jar.sha1
A androidx/test/rules/1.4.0/rules-1.4.0.aar
A androidx/test/rules/1.4.0/rules-1.4.0.aar.md5
A androidx/test/rules/1.4.0/rules-1.4.0.aar.sha1
A androidx/test/rules/1.4.0/rules-1.4.0.pom
A androidx/test/rules/1.4.0/rules-1.4.0.pom.md5
A androidx/test/rules/1.4.0/rules-1.4.0.pom.sha1
A androidx/test/runner/1.4.0/runner-1.4.0-sources.jar
A androidx/test/runner/1.4.0/runner-1.4.0-sources.jar.md5
A androidx/test/runner/1.4.0/runner-1.4.0-sources.jar.sha1
A androidx/test/runner/1.4.0/runner-1.4.0.aar
A androidx/test/runner/1.4.0/runner-1.4.0.aar.md5
A androidx/test/runner/1.4.0/runner-1.4.0.aar.sha1
A androidx/test/runner/1.4.0/runner-1.4.0.pom
A androidx/test/runner/1.4.0/runner-1.4.0.pom.md5
A androidx/test/runner/1.4.0/runner-1.4.0.pom.sha1
A androidx/test/services/storage/1.4.0/storage-1.4.0-sources.jar
A androidx/test/services/storage/1.4.0/storage-1.4.0-sources.jar.md5
A androidx/test/services/storage/1.4.0/storage-1.4.0-sources.jar.sha1
A androidx/test/services/storage/1.4.0/storage-1.4.0.aar
A androidx/test/services/storage/1.4.0/storage-1.4.0.aar.md5
A androidx/test/services/storage/1.4.0/storage-1.4.0.aar.sha1
A androidx/test/services/storage/1.4.0/storage-1.4.0.pom
A androidx/test/services/storage/1.4.0/storage-1.4.0.pom.md5
A androidx/test/services/storage/1.4.0/storage-1.4.0.pom.sha1
ap...@google.com <ap...@google.com> #6
Project: platform/frameworks/support
Branch: androidx-main
commit 90402bb1a78f6962bc095d01d667ece5356cc8dd
Author: Jeremy Woods <jbwoods@google.com>
Date: Wed Jul 14 16:40:24 2021
Bump androidx.test.core to 1.4.0
Test Core 1.4.0 has some fixes that allows it to work with Android S. We
should update our dependency so that all libraries that depend on test
core will be compatible with Android S.
RelNote: "Libraries that depend on the `Test Core` library have been
upgraded to version `1.4.0` and will now work with Android platform
version S."
Test: ./gradlew bOS
Bug: 189353863
Change-Id: I44a0ac73cd30709a9f3eb65f9bcc0541f913b595
M compose/ui/ui-inspection/build.gradle
M gradle/libs.versions.toml
https://android-review.googlesource.com/1766664
Branch: androidx-main
commit 90402bb1a78f6962bc095d01d667ece5356cc8dd
Author: Jeremy Woods <jbwoods@google.com>
Date: Wed Jul 14 16:40:24 2021
Bump androidx.test.core to 1.4.0
Test Core 1.4.0 has some fixes that allows it to work with Android S. We
should update our dependency so that all libraries that depend on test
core will be compatible with Android S.
RelNote: "Libraries that depend on the `Test Core` library have been
upgraded to version `1.4.0` and will now work with Android platform
version S."
Test: ./gradlew bOS
Bug: 189353863
Change-Id: I44a0ac73cd30709a9f3eb65f9bcc0541f913b595
M compose/ui/ui-inspection/build.gradle
M gradle/libs.versions.toml
ap...@google.com <ap...@google.com> #7
Project: platform/frameworks/support
Branch: androidx-main
commit fa788954621181fa8131961688634d7f739a354b
Author: Jeremy Woods <jbwoods@google.com>
Date: Thu Jul 29 16:12:29 2021
Bump androidx.test.core to 1.4.0
Test Core 1.4.0 has some fixes that allows it to work with Android S. We
should update our dependency so that all libraries that depend on test
core will be compatible with Android S.
This was previously reverted in aosp/1773211 due to failures in a number
of large test (i.e.
https://android-build.googleplex.com/builds/tests/view?invocationId=I63900009972892409 ).
Those failures have been addressed by adding explicit dependencies on
the affected libraries. The failures in camera, compose-material,
compose-ui-inspection, and media2 seem to be unrelated to this change.
RelNote: "Libraries that depend on the `Test Core` library have been
upgraded to version `1.4.0` and will now work with Android platform
version S."
Test: ./gradlew bOS
Bug: 189353863
Change-Id: I88b726b2d76735ac012ea47298e0bf02092cd857
M benchmark/benchmark-junit4/build.gradle
M compose/ui/ui-inspection/build.gradle
M gradle/libs.versions.toml
M lifecycle/integration-tests/kotlintestapp/build.gradle
M window/window-testing/build.gradle
M window/window/build.gradle
https://android-review.googlesource.com/1780300
Branch: androidx-main
commit fa788954621181fa8131961688634d7f739a354b
Author: Jeremy Woods <jbwoods@google.com>
Date: Thu Jul 29 16:12:29 2021
Bump androidx.test.core to 1.4.0
Test Core 1.4.0 has some fixes that allows it to work with Android S. We
should update our dependency so that all libraries that depend on test
core will be compatible with Android S.
This was previously reverted in aosp/1773211 due to failures in a number
of large test (i.e.
Those failures have been addressed by adding explicit dependencies on
the affected libraries. The failures in camera, compose-material,
compose-ui-inspection, and media2 seem to be unrelated to this change.
RelNote: "Libraries that depend on the `Test Core` library have been
upgraded to version `1.4.0` and will now work with Android platform
version S."
Test: ./gradlew bOS
Bug: 189353863
Change-Id: I88b726b2d76735ac012ea47298e0bf02092cd857
M benchmark/benchmark-junit4/build.gradle
M compose/ui/ui-inspection/build.gradle
M gradle/libs.versions.toml
M lifecycle/integration-tests/kotlintestapp/build.gradle
M window/window-testing/build.gradle
M window/window/build.gradle
jb...@google.com <jb...@google.com> #8
This has been fixed internally and will be available in the Fragment 1.4.0-alpha07
release.
Description
Version used: 1.4.0-alpha01
Devices/Android versions reproduced on: Android S
It's currently not possible to build an app which depends on fragment-testing for Android S since it depends on androidx.test:core:1.3.0 which does not properly export activities with intent filters.
androidx.test:core:1.4.0 fixes this.