summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorVadim Caen <caen@google.com>2022-03-21 13:46:02 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2022-03-21 13:46:02 +0000
commit276387cce1be7ded5c62b9a49822c8406af91aa0 (patch)
tree6cee6c2417eac899817de3115c30a6310d6da7f0 /core
parent3d4721836e7e9e15b25ee55283ee93723881b393 (diff)
parentffad2f714dcd95eb0052ec5917187bf5f74e41b1 (diff)
Merge "Fix setSplashScreenTheme documentation" into sc-dev am: ffad2f714d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16343578 Change-Id: I6c6bae41a0f49117a7dc670a4a7e54721bf45925
Diffstat (limited to 'core')
-rw-r--r--core/java/android/window/SplashScreen.java8
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);