Merge "Add details about theme stability" into sc-dev am: 9aff8397c8

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16176790

Change-Id: Ic3a9683cb316a1c47566550368b3b6a01c0b24d8
This commit is contained in:
Vadim Caen
2021-11-05 12:12:44 +00:00
committed by Automerger Merge Worker

View File

@@ -92,6 +92,9 @@ public interface SplashScreen {
* overrides and persists the theme used for the {@link SplashScreen} of this application. * overrides and persists the theme used for the {@link SplashScreen} of this application.
* <p> * <p>
* To reset to the default theme, set this the themeId to {@link Resources#ID_NULL}. * 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); void setSplashScreenTheme(@StyleRes int themeId);