diff options
| author | wilsonshih <wilsonshih@google.com> | 2021-06-11 11:27:38 +0800 |
|---|---|---|
| committer | wilsonshih <wilsonshih@google.com> | 2021-06-11 11:34:33 +0800 |
| commit | 192aef77d7ae2d51f8e830cfc73bd65f37216079 (patch) | |
| tree | dda6c760f422bfa52c90b46b3fed9354bbaa0e5d /core/java/android/window/SplashScreenView.java | |
| parent | aa12b6a492a1f3d9839a3fc07b1971ac9fa57e55 (diff) | |
Always do the app reveal animation when dismissing the splash screen
Let empty-style splash screen do reveal animation.
Also remove the extra animation duration if the icon is empty.
Bug: 190695897
Bug: 190695665
Test: manual
Test: atest SplashscreenTests
Change-Id: I8b3b52369c12fbddc32af8c40f37650cc84a88dd
Diffstat (limited to 'core/java/android/window/SplashScreenView.java')
| -rw-r--r-- | core/java/android/window/SplashScreenView.java | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/core/java/android/window/SplashScreenView.java b/core/java/android/window/SplashScreenView.java index 000dfb2bfa59..6772afeb0270 100644 --- a/core/java/android/window/SplashScreenView.java +++ b/core/java/android/window/SplashScreenView.java @@ -85,7 +85,6 @@ public final class SplashScreenView extends FrameLayout { | FLAG_TRANSLUCENT_NAVIGATION | FLAG_TRANSLUCENT_STATUS; private boolean mNotCopyable; - private boolean mRevealAnimationSupported = true; private int mInitBackgroundColor; private int mInitIconBackgroundColor; private View mIconView; @@ -353,25 +352,6 @@ public final class SplashScreenView extends FrameLayout { } /** - * If set to true, indicates to the system that this view can be dismissed by playing the - * Reveal animation. - * <p> - * If the exit animation is handled by the client, the animation won't be played anyway. - * @hide - */ - public void setRevealAnimationSupported(boolean support) { - mRevealAnimationSupported = support; - } - - /** - * Whether this view support reveal animation. - * @hide - */ - public boolean isRevealAnimationSupported() { - return mRevealAnimationSupported; - } - - /** * Called when this {@link SplashScreenView} has been copied to be transferred to the client. * * @hide |
