Commit Graph

15 Commits

Author SHA1 Message Date
Sunny Goyal 7e5d5fc3c6 Revert "Calling start/stop listening in onStart/onStop"
This reverts commit 23ac9cb3e1.

Bug: 28421447
Change-Id: Id04e7b7827d8b897b7c7992705d36f9d83a13320
2016-04-28 22:24:50 +00:00
Sunny Goyal 23ac9cb3e1 Calling start/stop listening in onStart/onStop
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
2016-04-07 12:17:18 -07:00
Sunny Goyal 2e1efb480a Changing the widget loading strategy
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
2016-03-09 20:21:22 -08:00
Sunny Goyal 1b323794f2 Ignoring DeadObjectException in startListening
> As of android M, the platform somtimes throws DeadObjectException
instead of TransactionTooLargeException

Bug: 25305031
Change-Id: I3a98db8a5041aef01640d16f9beb71b72bf598f1
2015-11-05 16:10:55 +05:30
Sunny Goyal ec88204389 Update the widget spans after the provider changes
Bug: 24003213
Change-Id: I51ad5919a808ef10385d62a48a94589eefcb06bc
2015-10-05 13:23:52 -07:00
Sunny Goyal 2d648b057f Refreshing widget list when a package containing a widget changes
Bug: 20698931
Change-Id: I50bafac1fc0a855edb1ace633a8a6f87a5c3040e
2015-08-11 21:25:19 -07:00
Sunny Goyal 8d59509f1a Using an empty error view for QSB
Bug: 21731323
Change-Id: I837b7bf9bac443cd2062ab2d4c24e081eb01732d
2015-07-06 12:22:39 -07:00
Hyunyoung Song 227239e7c0 update widgets model when package is updated
Fixing a bug where onProviderChanged is called before Package update.
And icon loaded on the widget tray is the default icon.

Change-Id: I4ffea846d057920fd894537432ac5881642bc570
2015-05-04 18:17:35 -07:00
Hyunyoung Song d4af148444 Remove duplicate calls to getSortedWidgetsAndShortcuts
Note: this is a manual CP of the CL that was submitted to ub-launcher3-almonte

b/19904873

Change-Id: I2e56bc0c7524caa2ef3c5fb00f35cb032cd1860b
2015-04-21 16:07:30 -07:00
Sunny Goyal 7e2a3608b6 Preventing concurrent modification exception during widget restore
Change-Id: If896c5ea7136d132f30be8127b651449bde17447
2015-04-20 18:19:25 -07:00
Hyunyoung Song 70a48befe4 Fix widget refresh issue on package install/uninstall
Culprit CL: https://googleplex-android-review.git.corp.google.com/#/c/592303/3/src/com/android/launcher3/LauncherModel.java

b/19658229

Change-Id: I02b0b2a0ed9bc3200bbe1edcb251cf0efe939e53
2015-03-11 16:36:52 -07:00
Adam Cohen 5940042d39 Supporting custom widgets provided by launcher
-> This change provides integration for widgets provided by
   the launcher package which can run arbitrary code.

Change-Id: I6052da5c4afed7ee72e3b44d045b9c46f2d84c42
2014-12-05 16:18:41 -08:00
Sunny Goyal 0fc1be164e Updating the ui for widget restore flow
> 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
2014-08-12 16:00:03 -07:00
Adam Cohen 084c31873e Catching TransactionTooLargeException in AppWidgetHost#startListening
solution b) from issue 14255011

Change-Id: I1dc521632a132de496ff9a583b1e0b29415aacdd
2014-06-16 15:31:27 -07:00
Daniel Sandler 325dc23624 Launcher2 is now Launcher3.
Changes include
  - moving from com.android.launcher{,2} to
    com.android.launcher3
  - removing wallpapers
  - new temporary icon

Change-Id: I1eabd06059e94a8f3bdf6b620777bd1d2b7c212b
2013-06-05 23:30:20 -04:00