diff options
author | Nick Chameyev <nickchameyev@google.com> | 2021-08-27 18:08:01 +0000 |
---|---|---|
committer | Nick Chameyev <nickchameyev@google.com> | 2021-09-20 09:55:02 +0000 |
commit | 0a14f33198d939db9cca92c44b7f2789c32fe001 (patch) | |
tree | cd7c3b59cf779ff1777507155c5f8948ee236edc /core/api | |
parent | 754976361bf929b5c104f48f3d5a84899addf97a (diff) |
Add should use default unfold transition attribute to wallpaper
Adds new attribute to wallpaper XML declaration to indicate
whether a wallpaper should receive default zooming transition
updates when folding or unfolding. This attribute allows to
opt-out from the default behaviour during this transition and
implement custom behaviour.
Bug: 196933493
Test: atest android.app.cts.WallpaperInfoTest
Change-Id: I7cb104bf7dfbbe92de72e505ec31d866a59bae4a
Diffstat (limited to 'core/api')
-rw-r--r-- | core/api/current.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/api/current.txt b/core/api/current.txt index ec8dce0837cd..3aabe8dd6f20 100644 --- a/core/api/current.txt +++ b/core/api/current.txt @@ -1298,6 +1298,7 @@ package android { field public static final int shortcutLongLabel = 16844074; // 0x101052a field public static final int shortcutShortLabel = 16844073; // 0x1010529 field public static final int shouldDisableView = 16843246; // 0x10101ee + field public static final int shouldUseDefaultUnfoldTransition; field public static final int showAsAction = 16843481; // 0x10102d9 field public static final int showDefault = 16843258; // 0x10101fa field public static final int showDividers = 16843561; // 0x1010329 @@ -6926,6 +6927,7 @@ package android.app { method public android.graphics.drawable.Drawable loadIcon(android.content.pm.PackageManager); method public CharSequence loadLabel(android.content.pm.PackageManager); method public android.graphics.drawable.Drawable loadThumbnail(android.content.pm.PackageManager); + method public boolean shouldUseDefaultUnfoldTransition(); method public boolean supportsMultipleDisplays(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator<android.app.WallpaperInfo> CREATOR; |