From 4df0a65468c4fa0f99229efb69217a07883e6ff1 Mon Sep 17 00:00:00 2001 From: Vadim Caen Date: Thu, 25 Nov 2021 18:18:19 +0000 Subject: [PATCH] Fix setSplashScreenTheme documentation Test: N/A Fixes: 186611969 Change-Id: I192aac4422ffcd8a2eafec2b7cd0325360dfb7e8 --- core/java/android/window/SplashScreen.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/core/java/android/window/SplashScreen.java b/core/java/android/window/SplashScreen.java index 0c4d273f6ce80..7d836d456093f 100644 --- a/core/java/android/window/SplashScreen.java +++ b/core/java/android/window/SplashScreen.java @@ -93,8 +93,12 @@ public interface SplashScreen { *

* To reset to the default theme, set this the themeId to {@link Resources#ID_NULL}. *

- * Note: The theme name must be stable across versions, otherwise it won't be found - * after your application is updated. + * Note: Internally, the theme name is resolved and persisted. This means that the theme + * name must be stable across versions, otherwise it won't be found after your application is + * updated. + * + * @param themeId The ID of the splashscreen theme to be used in place of the one defined in + * the manifest. */ void setSplashScreenTheme(@StyleRes int themeId);