diff options
author | Vadim Caen <caen@google.com> | 2022-03-21 13:18:56 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2022-03-21 13:18:56 +0000 |
commit | ffad2f714dcd95eb0052ec5917187bf5f74e41b1 (patch) | |
tree | 4d5e288903c7e4eb00f9a90b38404eb51adffa16 /core | |
parent | ba634e4a67b9411458bfaf1ed42f8e004ac8f00f (diff) | |
parent | 4df0a65468c4fa0f99229efb69217a07883e6ff1 (diff) |
Merge "Fix setSplashScreenTheme documentation" into sc-dev
Diffstat (limited to 'core')
-rw-r--r-- | core/java/android/window/SplashScreen.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/core/java/android/window/SplashScreen.java b/core/java/android/window/SplashScreen.java index 0c4d273f6ce8..7d836d456093 100644 --- a/core/java/android/window/SplashScreen.java +++ b/core/java/android/window/SplashScreen.java @@ -93,8 +93,12 @@ public interface SplashScreen { * <p> * To reset to the default theme, set this the themeId to {@link Resources#ID_NULL}. * <p> - * <b>Note:</b> The theme name must be stable across versions, otherwise it won't be found - * after your application is updated. + * <b>Note:</b> 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); |