Status Update
Comments
wi...@google.com <wi...@google.com> #2
<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.
ra...@gmail.com <ra...@gmail.com> #3
ra...@gmail.com <ra...@gmail.com> #4
wi...@google.com <wi...@google.com> #5
No, this should fix from the compat library.
Maybe targeting for next release.
ra...@gmail.com <ra...@gmail.com> #6
alright 👍🏻
ap...@google.com <ap...@google.com> #7
Branch: androidx-main
commit e231abf4623dd97b75b35ded10e6016ca57e8668
Author: wilsonshih <wilsonshih@google.com>
Date: Wed Aug 24 14:38:04 2022
Create empty view for SplashScreenViewProvider#iconView if needed
There can return nullable for SplashScreenView#getIconView, which
allow developers to customize exit animation for solid color splash
screen.
Bug: 243457485
Test: SplashscreenParametrizedTest SplashScreenTests
Change-Id: I4c323d4f9307af9759da548dcadcd7b8318ecf60
M core/core-splashscreen/src/main/java/androidx/core/splashscreen/SplashScreenViewProvider.kt
wi...@google.com <wi...@google.com> #8
Fixed in library, please wait for next release.
da...@allaboutapps.at <da...@allaboutapps.at> #9
It seems that we can mitigate the issue by setting the preferred style to icon_preferred
in the theme (while waiting for this to get fixed)
<item name="android:windowSplashScreenBehavior">icon_preferred</item>
At least this way it shouldn't crash with a NPE
gb...@jeniusbank.com <gb...@jeniusbank.com> #10
#9 doesn't fix the issue
gb...@manubank.com <gb...@manubank.com> #11
se...@gmail.com <se...@gmail.com> #12
kb...@jaguarlandrover.com <kb...@jaguarlandrover.com> #13
If it is fixed since September please consider releasing a minor or patch version.
ca...@greenfly.com <ca...@greenfly.com> #14
je...@veo.co <je...@veo.co> #16
Dependency 'androidx.core:core-splashscreen:1.1.0-alpha01' requires libraries and applications that
depend on it to compile against codename "UpsideDownCake" of the
Android APIs.
:app is currently compiled against android-33.
Recommended action: Use a different version of dependency 'androidx.core:core-splashscreen:1.1.0-alpha01',
or set compileSdkPreview to "UpsideDownCake" in your build.gradle
file if you intend to experiment with that preview SDK.
Any idea why this is happening?
wi...@google.com <wi...@google.com> #17
al...@google.com <al...@google.com> #18
Releases from androidx-platform-dev
during the Android 14 pre-release timeline were built against preview SDKs and can only be compiled against the same preview SDKs.
You will need to run a new release from androidx-main
.
je...@veo.co <je...@veo.co> #19
wi...@google.com <wi...@google.com>
an...@gmail.com <an...@gmail.com> #20
ap...@google.com <ap...@google.com> #21
Branch: androidx-main
commit 6ec30b56541bdc314f59f6564ca5122b535719c7
Author: wilsonshih <wilsonshih@google.com>
Date: Tue Aug 29 10:24:39 2023
Bump library version for core-splashscreen to 1.1.0-alpha02
Bug: 243457485
Test: NA
Change-Id: I7fc30ffe933609711e7f430238ede1c7565f14a3
M libraryversions.toml
wi...@google.com <wi...@google.com> #22
1.1.0-alpha02
scheduled on September 7, 2023
wi...@google.com <wi...@google.com> #23
wi...@google.com <wi...@google.com>
ru...@gmail.com <ru...@gmail.com> #24
ni...@flycatcherapps.com <ni...@flycatcherapps.com> #25
na...@google.com <na...@google.com> #26
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.core:core-splashscreen:1.2.0-alpha01
ro...@gmail.com <ro...@gmail.com> #27
ro...@gmail.com <ro...@gmail.com> #28
wi...@google.com <wi...@google.com> #29
Re #27, mind provide a sample app? and what's version of library?
rh...@gmail.com <rh...@gmail.com> #30
Having the same issue.. can this be released in a stable release? Our team would definitely prefer not to opt into an alpha version for use in an enterprise production environment.
Description
Component used: SplashScreen Version used: 1.0.0-rc01 Devices/Android versions reproduced on: 100% Android 13
Artifact used: androidx.core:core-splashscreen Theme used: Theme.SplashScreen Crash Reproducible: False Devices/Android versions reproduced on: Pixel 4a (5G) (Android 13), Pixel 6/6 PRO
crash logs:
Fatal Exception: java.lang.NullPointerException at androidx.core.splashscreen.SplashScreenViewProvider$ViewImpl31.getIconView(SplashScreenViewProvider.kt:125) at androidx.core.splashscreen.SplashScreenViewProvider.getIconView(SplashScreenViewProvider.java:66) at fm.dice.splash.presentation.views.SplashActivity.triggerViewExitAnimation$lambda-0(SplashActivity.java:101) at fm.dice.discount.presentation.views.EventClaimCodeActivity$$InternalSyntheticLambda$2$e3b1050cf4cd59cef767f70a2238c7fe944dade6077bc18a7c181ca18936655c$0.onAnimationUpdate$bridge(EventClaimCodeActivity.java:9) at android.animation.ValueAnimator.animateValue(ValueAnimator.java:1653) at android.animation.ValueAnimator.setCurrentFraction(ValueAnimator.java:775) at android.animation.ValueAnimator.setCurrentPlayTime(ValueAnimator.java:738) at android.animation.ValueAnimator.start(ValueAnimator.java:1170) at android.animation.ValueAnimator.start(ValueAnimator.java:1189) at fm.dice.splash.presentation.views.SplashActivity.triggerViewExitAnimation(SplashActivity.java:117) at fm.dice.splash.presentation.views.SplashActivity.access$triggerViewExitAnimation(SplashActivity.java:49) at fm.dice.splash.presentation.views.SplashActivity$onCreate$1.onSplashScreenExit(SplashActivity.kt:83) at androidx.core.splashscreen.SplashScreen$Impl31.setOnExitAnimationListener$lambda-0(SplashScreen.kt:459) at androidx.core.splashscreen.SplashScreen$Impl31.$r8$lambda$_AQ1xSddL7-kLq4WrGTBd4lTQaY(SplashScreen.kt:29) at androidx.core.splashscreen.SplashScreen$Impl31$$InternalSyntheticLambda$1$761acc8e6019f840a6c78651dfd204d1aa5d02a4d0503ed9e876fedb200d42e5$0.onSplashScreenExit(SplashScreen.java:4) at android.window.SplashScreen$SplashScreenManagerGlobal.dispatchOnExitAnimation(SplashScreen.java:271) at android.window.SplashScreen$SplashScreenManagerGlobal.handOverSplashScreenView(SplashScreen.java:258) at android.app.ActivityThread.reportSplashscreenViewShown(ActivityThread.java:4147) at android.app.ActivityThread.lambda$syncTransferSplashscreenViewTransaction$1$android-app-ActivityThread(ActivityThread.java:4164) at android.app.ActivityThread$$ExternalSyntheticLambda5.run(ActivityThread.java:6) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1231) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1239) at android.view.Choreographer.doCallbacks(Choreographer.java:899) at android.view.Choreographer.doFrame(Choreographer.java:827) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1214) at android.os.Handler.handleCallback(Handler.java:942) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:201) at android.os.Looper.loop(Looper.java:288) at android.app.ActivityThread.main(ActivityThread.java:7898) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)