diff options
| author | 2022-03-21 14:05:10 +0000 | |
|---|---|---|
| committer | 2022-03-21 14:05:10 +0000 | |
| commit | 44311a6646d870902c306dc6e7037c19adc65d52 (patch) | |
| tree | 368fc4525565f983935db9d72247ac842e401252 | |
| parent | be193c0b9dc79e4d4b3d8454712bf4063dee5b63 (diff) | |
| parent | 73ee4fe036b3df347c0b381238f9267407dab7f2 (diff) | |
Merge "Fix setSplashScreenTheme documentation" into sc-dev am: ffad2f714d am: 73ee4fe036
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16343578
Change-Id: I11ada44b09906012acd33000caeed2b479420572
| -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 fab180dae0bf..f1c0d8dee525 100644 --- a/core/java/android/window/SplashScreen.java +++ b/core/java/android/window/SplashScreen.java @@ -100,8 +100,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); |