Make getSplashScreenStyle public.

Bug: 217953215
Test: atest ActivityOptionsTest#testActivityOptionsBundle_fromBundle
Change-Id: I16c5ffbbbc2c40a6216b4338943ae45fadc92f76
This commit is contained in:
wilsonshih
2022-02-08 13:26:29 +08:00
committed by Wei Sheng Shih
parent 68b0ca053d
commit 64d96eba95
2 changed files with 1 additions and 1 deletions

View File

@@ -4503,6 +4503,7 @@ package android.app {
method @Nullable public android.graphics.Rect getLaunchBounds();
method public int getLaunchDisplayId();
method public boolean getLockTaskMode();
method public int getSplashScreenStyle();
method public boolean isPendingIntentBackgroundActivityLaunchAllowed();
method public static android.app.ActivityOptions makeBasic();
method public static android.app.ActivityOptions makeClipRevealAnimation(android.view.View, int, int, int, int);

View File

@@ -1429,7 +1429,6 @@ public class ActivityOptions extends ComponentOptions {
/**
* Gets the style can be used for cold-launching an activity.
* @see #setSplashScreenStyle(int)
* @hide
*/
public @SplashScreen.SplashScreenStyle int getSplashScreenStyle() {
return mSplashScreenStyle;