diff options
author | Lucas Dupin <dupin@google.com> | 2017-04-11 14:00:00 -0700 |
---|---|---|
committer | Lucas Dupin <dupin@google.com> | 2017-04-26 19:03:48 +0000 |
commit | c3fea38e75ad3da467e6ef049ae7fb791c2a145a (patch) | |
tree | 3f05c3490ba6d0088fa6e0c8bd504f721e6939e7 /src | |
parent | 5630a2d143299acecf74e624509cad330e72d4f9 (diff) | |
download | android_packages_wallpapers_LivePicker-c3fea38e75ad3da467e6ef049ae7fb791c2a145a.tar.gz android_packages_wallpapers_LivePicker-c3fea38e75ad3da467e6ef049ae7fb791c2a145a.tar.bz2 android_packages_wallpapers_LivePicker-c3fea38e75ad3da467e6ef049ae7fb791c2a145a.zip |
Api compatibility regarding WallpaperManager in O
Bug: 36856508
Change-Id: Id073300f790caf779aae6c8e67424b5def345644
Topic: wallpaper_color_extraction
Test: make
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/wallpaper/livepicker/LiveWallpaperPreview.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/com/android/wallpaper/livepicker/LiveWallpaperPreview.java b/src/com/android/wallpaper/livepicker/LiveWallpaperPreview.java index 3991a5c..a341cc4 100644 --- a/src/com/android/wallpaper/livepicker/LiveWallpaperPreview.java +++ b/src/com/android/wallpaper/livepicker/LiveWallpaperPreview.java @@ -18,6 +18,7 @@ package com.android.wallpaper.livepicker; import android.app.Activity; import android.app.AlertDialog; +import android.app.WallpaperColors; import android.app.WallpaperInfo; import android.app.WallpaperManager; import android.content.ActivityNotFoundException; @@ -484,6 +485,11 @@ public class LiveWallpaperPreview extends Activity { } @Override + public void onWallpaperColorsChanged(WallpaperColors colors) throws RemoteException { + + } + + @Override public void engineShown(IWallpaperEngine engine) throws RemoteException { mLoading.post(() -> { mLoading.animate() |