diff options
author | Tony Wickham <twickham@google.com> | 2016-03-17 15:39:39 -0700 |
---|---|---|
committer | Tony Wickham <twickham@google.com> | 2016-04-01 15:40:57 -0700 |
commit | 827cef203f386cb548b98a7fa9888b75478c8e20 (patch) | |
tree | f310b21ce3092156534cf94602a3ecf25283a44e /build.gradle | |
parent | 855b1b5fff5f6f03a641b3b6973780a24fd9641e (diff) | |
download | android_packages_apps_Trebuchet-827cef203f386cb548b98a7fa9888b75478c8e20.tar.gz android_packages_apps_Trebuchet-827cef203f386cb548b98a7fa9888b75478c8e20.tar.bz2 android_packages_apps_Trebuchet-827cef203f386cb548b98a7fa9888b75478c8e20.zip |
Added ColorExtractionService and ExtractedColors.
- Launcher has an instance of ExtractedColors, which is loaded from
LauncherProvider in onCreate() and whenever the wallpaper changes.
- When the wallpaper changes, the ColorExtractionService is started
in the :wallpaper-chooser process.
- ColorExtractionService builds an ExtractedColors instance and saves
it as a String in LauncherProvider.
- When the results are saved, Launcher gets a callback through
LauncherProviderChangeListener and reloads the ExtractedColors.
- Whenever Launcher loads Extractecolors, it also re-colors items
(currently a no-op).
Change-Id: I319e2cfe0a86abcbc6bb39ef6b9fbbcad54ad743
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle index 6620c1001..2306744c6 100644 --- a/build.gradle +++ b/build.gradle @@ -52,12 +52,14 @@ repositories { dependencies { compile 'com.android.support:support-v4:23.1.1' compile 'com.android.support:recyclerview-v7:23.1.1' + compile 'com.android.support:palette-v7:23.2.0' compile 'com.google.protobuf.nano:protobuf-javanano:3.0.0-alpha-2' compile project(":WallpaperPicker-Lib") testCompile 'junit:junit:4.12' androidTestCompile 'com.android.support.test:runner:0.5' androidTestCompile 'com.android.support.test.uiautomator:uiautomator-v18:2.1.2' + androidTestCompile 'com.android.support:support-annotations:23.2.0' } protobuf { |