From 180d2613e194f52df7541dcc994e3d821cb0cc0f Mon Sep 17 00:00:00 2001 From: Vadim Caen Date: Tue, 2 Nov 2021 19:09:37 +0000 Subject: [PATCH] Add details about theme stability Fixes: 186611969 Change-Id: Ie537eb3b73f5b440aa3da507a769e4ba26ea1cd0 --- core/java/android/window/SplashScreen.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/java/android/window/SplashScreen.java b/core/java/android/window/SplashScreen.java index 3e0075857402d..0c4d273f6ce80 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. *

* 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. */ void setSplashScreenTheme(@StyleRes int themeId);