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 /AndroidManifest.xml | |
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 'AndroidManifest.xml')
-rw-r--r-- | AndroidManifest.xml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 418b1d2d5..80ffa43dc 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -141,6 +141,11 @@ </intent-filter> </receiver> + <service android:name=".dynamicui.ColorExtractionService" + android:exported="false" + android:process=":wallpaper_chooser"> + </service> + <!-- The settings provider contains Home's data, like the workspace favorites --> <provider android:name="com.android.launcher3.LauncherProvider" |