summaryrefslogtreecommitdiff
path: root/core/java/android
diff options
context:
space:
mode:
authorVadim Caen <caen@google.com>2021-11-05 12:25:36 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-11-05 12:25:36 +0000
commite37c9cb7ac4ece8e01d5b1a96ed6cfbfe93f499a (patch)
treef7b4d4d57ac3ee6ad0f82c6dd6890db5c7070086 /core/java/android
parenta1f9bd53c73f3211b526ae90fbcb38347075290f (diff)
parent6814291fde2df2cc2cf4d5153946c0433bd48652 (diff)
Merge "Add details about theme stability" into sc-dev am: 9aff8397c8 am: 6814291fde
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16176790 Change-Id: Iba0b6e951ddcb66e0b07014fef389f0ab04c1453
Diffstat (limited to 'core/java/android')
-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 3354a6ca7738..b9bf009fb2bb 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);