summaryrefslogtreecommitdiff
path: root/core/java/android/window/SplashScreen.java
diff options
context:
space:
mode:
authorVadim Caen <caen@google.com>2021-11-02 19:09:37 +0000
committerVadim Caen <caen@google.com>2021-11-03 10:21:35 +0000
commit180d2613e194f52df7541dcc994e3d821cb0cc0f (patch)
tree5d7f2b0c3a0c7b2b69882edba6ca500c48479ad5 /core/java/android/window/SplashScreen.java
parentc99378b0f1ce01fded9ec765f4215043d94a3f63 (diff)
Add details about theme stability
Fixes: 186611969 Change-Id: Ie537eb3b73f5b440aa3da507a769e4ba26ea1cd0
Diffstat (limited to 'core/java/android/window/SplashScreen.java')
-rw-r--r--core/java/android/window/SplashScreen.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/java/android/window/SplashScreen.java b/core/java/android/window/SplashScreen.java
index 3e0075857402..0c4d273f6ce8 100644
--- a/core/java/android/window/SplashScreen.java
+++ b/core/java/android/window/SplashScreen.java
@@ -92,6 +92,9 @@ public interface SplashScreen {
* overrides and persists the theme used for the {@link SplashScreen} of this application.
* <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.
*/
void setSplashScreenTheme(@StyleRes int themeId);