summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/LauncherAppWidgetHost.java
Commit message (Collapse)AuthorAgeFilesLines
* Calling start/stop listening in onStart/onStopSunny Goyal2016-06-231-6/+0
| | | | | | | | | AppWidgetHost in N-MR1 was changed to make start/stop lisenting calls light weight, which allows launcher to avoid getting unnecessary updates when its not visible Bug: 23892701 Change-Id: I1f40a1ddc51a9eee304e17e72106bc75afe6c1bc
* Moving the QSB to the workspace grid.Sunny Goyal2016-05-271-15/+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
* Revert "Calling start/stop listening in onStart/onStop"Sunny Goyal2016-04-281-0/+6
| | | | | | | This reverts commit 23ac9cb3e1bed8de0155f1a117739a582cb8abae. Bug: 28421447 Change-Id: Id04e7b7827d8b897b7c7992705d36f9d83a13320
* Calling start/stop listening in onStart/onStopSunny Goyal2016-04-071-6/+0
| | | | | | | | | AppWidgetHost in N was changed to make start/stop lisenting calls light weight, which allows launcher to avoid getting unnecessary updates when its not visible Bug: 23892701 Change-Id: I0ca6e02400992bc4e0359e45a3d66b9252751402
* Changing the widget loading strategySunny Goyal2016-03-091-0/+4
| | | | | | | | | Widget is loaded only when the user enters the overview mode and we keep the list updated as long as the user is in the overview mode. Once the user leaves the overview mode, we stop responding to widget updates Bug: 26077457 Change-Id: I9e4904b8f1300bfe0d77e2bc5f59aa6963fad8d1
* Ignoring DeadObjectException in startListeningSunny Goyal2015-11-051-1/+3
| | | | | | | | > As of android M, the platform somtimes throws DeadObjectException instead of TransactionTooLargeException Bug: 25305031 Change-Id: I3a98db8a5041aef01640d16f9beb71b72bf598f1
* Update the widget spans after the provider changesSunny Goyal2015-10-051-0/+3
| | | | | Bug: 24003213 Change-Id: I51ad5919a808ef10385d62a48a94589eefcb06bc
* Refreshing widget list when a package containing a widget changesSunny Goyal2015-08-111-2/+0
| | | | | Bug: 20698931 Change-Id: I50bafac1fc0a855edb1ace633a8a6f87a5c3040e
* Using an empty error view for QSBSunny Goyal2015-07-061-1/+17
| | | | | Bug: 21731323 Change-Id: I837b7bf9bac443cd2062ab2d4c24e081eb01732d
* update widgets model when package is updatedHyunyoung Song2015-05-041-1/+2
| | | | | | | Fixing a bug where onProviderChanged is called before Package update. And icon loaded on the widget tray is the default icon. Change-Id: I4ffea846d057920fd894537432ac5881642bc570
* Remove duplicate calls to getSortedWidgetsAndShortcutsHyunyoung Song2015-04-211-5/+1
| | | | | | | | Note: this is a manual CP of the CL that was submitted to ub-launcher3-almonte b/19904873 Change-Id: I2e56bc0c7524caa2ef3c5fb00f35cb032cd1860b
* Preventing concurrent modification exception during widget restoreSunny Goyal2015-04-201-2/+4
| | | | Change-Id: If896c5ea7136d132f30be8127b651449bde17447
* Fix widget refresh issue on package install/uninstallHyunyoung Song2015-03-111-1/+2
| | | | | | | | Culprit CL: https://googleplex-android-review.git.corp.google.com/#/c/592303/3/src/com/android/launcher3/LauncherModel.java b/19658229 Change-Id: I02b0b2a0ed9bc3200bbe1edcb251cf0efe939e53
* Supporting custom widgets provided by launcherAdam Cohen2014-12-051-0/+27
| | | | | | | -> This change provides integration for widgets provided by the launcher package which can run arbitrary code. Change-Id: I6052da5c4afed7ee72e3b44d045b9c46f2d84c42
* Updating the ui for widget restore flowSunny Goyal2014-08-121-0/+16
| | | | | | | | | | | | | | > Pending widget show a PreloadIconDrawable to indicate installation progress > Only the concerned widgets are reinflated on package install and not the whole workspace. > Adding support for storing default package icon in IconCache issue: 10779035 issue: 16737660 Change-Id: Id787ae4a5ef72d6e01aeb5a1bae5ab8840037679
* Catching TransactionTooLargeException in AppWidgetHost#startListeningAdam Cohen2014-06-161-0/+17
| | | | | | solution b) from issue 14255011 Change-Id: I1dc521632a132de496ff9a583b1e0b29415aacdd
* Launcher2 is now Launcher3.Daniel Sandler2013-06-051-0/+55
Changes include - moving from com.android.launcher{,2} to com.android.launcher3 - removing wallpapers - new temporary icon Change-Id: I1eabd06059e94a8f3bdf6b620777bd1d2b7c212b