summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/LauncherProviderChangeListener.java
Commit message (Collapse)AuthorAgeFilesLines
* Alienating QSBSunny Goyal2016-10-181-2/+4
| | | | | | | | | | | | | > Moving all QSB widget handling code in a separate package > QSB is handled on a separate host, independent of the main host. This allows us to safely reset either of the two hosts > Also removing the logic around closeSystemDialog: Launcher does not use any panels which need closing System sends an onActivityResult(RESULT_CANCELLED), we do not need special handling for waitingForResult > Fixing bug when auto-generated qsb widget id was not being saved Change-Id: I2d889b7b1c80b14785d14f35624142a4b78452de
* Moving the QSB to the workspace grid.Sunny Goyal2016-05-271-2/+0
| | | | | | | | | | | | The QSB will only be resent on the first screen of the workspace covering the full width of the first row. If will not be movable. The first screen of the workspace will not be movable. The searchDropTargetBar no longer contains the QSB (it can be renamed in aseparate cl). Refactoring all QSB related logic by moving it to a custom view inflated only using xml. Change-Id: Icb4fd6eb855df1af15f685961c38351bf4fd4f4a
* Chaning the behavior of settings activity.Sunny Goyal2016-05-021-2/+0
| | | | | | | | > Making all twoState prefs backed by content provider > Using the stadard intent defined in N for settings > Using SharedPrefsListener instead of LauncherProvider Change-Id: I8272f54aa780bc0436e3d0aa89096a4bd2a9194f
* Added ColorExtractionService and ExtractedColors.Tony Wickham2016-04-011-0/+2
| | | | | | | | | | | | | | | - 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
* Removing ContentObserver in launcherSunny Goyal2015-06-161-0/+2
| | | | | | | > Using callback insted of using a content observer > Setting the listener in LauncherAppState to prevent resource leak Change-Id: Id23a4d5c8812e86178997e536226e09ec3740f84
* Using content provider to update launcher settingsSunny Goyal2015-06-121-0/+2
| | | | | | | | > Removing cross process preference file > Removed broadcast listener management for settings changes > Defining content provider method to get/set laucnehr preferences Change-Id: Ida36eac0ab17c1d48fedc9404817a53a89b36c4f
* Add LauncherProviderChangeListenerAnjali Koppal2014-03-171-0/+11
Change-Id: I2333a157c488cd048a860982cc675ed9cec626ae