diff options
| -rw-r--r-- | api/current.txt | 2 | ||||
| -rw-r--r-- | api/system-current.txt | 2 | ||||
| -rw-r--r-- | api/test-current.txt | 2 | ||||
| -rw-r--r-- | core/java/android/service/wallpaper/WallpaperService.java | 2 |
4 files changed, 2 insertions, 6 deletions
diff --git a/api/current.txt b/api/current.txt index 5dd3839b48a9..a533ff6784b7 100644 --- a/api/current.txt +++ b/api/current.txt @@ -37581,12 +37581,10 @@ package android.service.wallpaper { method public int getDesiredMinimumHeight(); method public int getDesiredMinimumWidth(); method public android.view.SurfaceHolder getSurfaceHolder(); - method public void invalidateColors(); method public boolean isPreview(); method public boolean isVisible(); method public void onApplyWindowInsets(android.view.WindowInsets); method public android.os.Bundle onCommand(java.lang.String, int, int, int, android.os.Bundle, boolean); - method public android.app.WallpaperColors onComputeWallpaperColors(); method public void onCreate(android.view.SurfaceHolder); method public void onDesiredSizeChanged(int, int); method public void onDestroy(); diff --git a/api/system-current.txt b/api/system-current.txt index dfad7a2d6883..fa1ef49c6162 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -40793,12 +40793,10 @@ package android.service.wallpaper { method public int getDesiredMinimumHeight(); method public int getDesiredMinimumWidth(); method public android.view.SurfaceHolder getSurfaceHolder(); - method public void invalidateColors(); method public boolean isPreview(); method public boolean isVisible(); method public void onApplyWindowInsets(android.view.WindowInsets); method public android.os.Bundle onCommand(java.lang.String, int, int, int, android.os.Bundle, boolean); - method public android.app.WallpaperColors onComputeWallpaperColors(); method public void onCreate(android.view.SurfaceHolder); method public void onDesiredSizeChanged(int, int); method public void onDestroy(); diff --git a/api/test-current.txt b/api/test-current.txt index 9bafd5f74b14..fe04b8b04b31 100644 --- a/api/test-current.txt +++ b/api/test-current.txt @@ -37788,12 +37788,10 @@ package android.service.wallpaper { method public int getDesiredMinimumHeight(); method public int getDesiredMinimumWidth(); method public android.view.SurfaceHolder getSurfaceHolder(); - method public void invalidateColors(); method public boolean isPreview(); method public boolean isVisible(); method public void onApplyWindowInsets(android.view.WindowInsets); method public android.os.Bundle onCommand(java.lang.String, int, int, int, android.os.Bundle, boolean); - method public android.app.WallpaperColors onComputeWallpaperColors(); method public void onCreate(android.view.SurfaceHolder); method public void onDesiredSizeChanged(int, int); method public void onDestroy(); diff --git a/core/java/android/service/wallpaper/WallpaperService.java b/core/java/android/service/wallpaper/WallpaperService.java index 539278fd47f1..da6b1f5f460e 100644 --- a/core/java/android/service/wallpaper/WallpaperService.java +++ b/core/java/android/service/wallpaper/WallpaperService.java @@ -548,6 +548,7 @@ public abstract class WallpaperService extends Service { /** * Notifies the engine that wallpaper colors changed significantly. * This will trigger a {@link #onComputeWallpaperColors()} call. + * @hide */ public void invalidateColors() { try { @@ -564,6 +565,7 @@ public abstract class WallpaperService extends Service { * you might want to call {@link #invalidateColors()} in a near future. * * @return List of wallpaper colors and their weights. + * @hide */ public @Nullable WallpaperColors onComputeWallpaperColors() { return null; |