History log of /packages/apps/Launcher3/src/com/android/launcher3/AppWidgetsRestoredReceiver.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
64a75aa305bdd1ca8f22d2b48dedc5cada8fabc5 03-Jul-2017 Sunny Goyal <sunnygoyal@google.com> Adding A feature flag to disable widgets and a corresponding build
target Launcher3Go without widgets support

Bug: 62353159
Change-Id: Ia03d2235a9bcf75f9ef191924f81630e63a2c684
/packages/apps/Launcher3/src/com/android/launcher3/AppWidgetsRestoredReceiver.java
f5b4b8097239411bdad28be71d50ae883bd82278 12-Jul-2017 Sunny Goyal <sunnygoyal@google.com> Fixing widget id restore broadcast.

Ignoring thw broadcast if its not for the main widget host, or if
the Launcher DB is already in use. Launcher already handles missing
widget-Id map broadcast, by binding a new widgetId at runtime.

Bug: 63389280
Change-Id: Iaa9774d6d7adde3711cba9615328020e2b2e66aa
/packages/apps/Launcher3/src/com/android/launcher3/AppWidgetsRestoredReceiver.java
b434fde42702000cfb8eacfdfc85c2f759be0a75 06-Jun-2017 Sunny Goyal <sunnygoyal@google.com> Moving LoaderTask to a separate class file

Bug: 34112546
Change-Id: I86d93cfb5d3903bfd3878564cbe8b67b64fd8423
/packages/apps/Launcher3/src/com/android/launcher3/AppWidgetsRestoredReceiver.java
dd96a5e4fd4af1d230c474346e73ff56f5475fa0 17-Feb-2017 Sunny Goyal <sunnygoyal@google.com> Simplifying Model data load state management

Instead of maintaining 3 different states, each tied to a subset of data,
maintaing a single state that represents all the data. Individual subset
data is invalidated in rare cases and these invalidates are tightly tied
to the UI. This also allows us to add new data to the model, without worring
about classifying the data into a subset.

Bug: 34112546
Change-Id: Id9cb273de35b79e84a2ef8d6556fcf1e72fb4b75
/packages/apps/Launcher3/src/com/android/launcher3/AppWidgetsRestoredReceiver.java
2eb9cc48a6a0d3a1dd6c6c5f098d903de2845cab 11-Jan-2017 Sunny Goyal <sunnygoyal@google.com> Fixing AppWidgetsRestoredReceiver updating model on UI thread

Bug: 34203314
Change-Id: If2c149f353109350e45e581a654956bec78bce96
/packages/apps/Launcher3/src/com/android/launcher3/AppWidgetsRestoredReceiver.java
aaf86fe9a0406720cca7cfe204f28e2d2de085eb 06-Jan-2017 Sunny Goyal <sunnygoyal@google.com> Refactoring some loadWorkspace logic in a separate class

Bug: 34112546
Change-Id: I8a43ed1646056aa1957ac3d6ea82018691df6386
/packages/apps/Launcher3/src/com/android/launcher3/AppWidgetsRestoredReceiver.java
047317735c039e8ca08331d364f9edc7ddb98fb7 19-Mar-2016 Sunny Goyal <sunnygoyal@google.com> Deleting the unrestored widget id synchronously

> We are making the DB call (IO) on the UI thread which is costlier than
the AppWidgetHost call.
> The process can get killed after the broadcast receiver returns, which
can prevent these ids from getting deleted.

Change-Id: I47746cf03d0eae573b6baa25cde9e573fd1f1a60
/packages/apps/Launcher3/src/com/android/launcher3/AppWidgetsRestoredReceiver.java
8ac727b2c6627028960a1efe18ab9c72442eef48 24-Sep-2015 Sunny Goyal <sunnygoyal@google.com> Using custom threadpool executor instead of the one defined in AsyncTask

Change-Id: I8fe95d932c5de14c74f0576bfc3d1f641d12b448
/packages/apps/Launcher3/src/com/android/launcher3/AppWidgetsRestoredReceiver.java
84b4adc3fb2301466468828ccbd742209619e597 13-Aug-2015 Sunny Goyal <sunnygoyal@google.com> Disabling auto restore of widgets.
> Always show "Setup" button for a widget which has a config activity.

Bug: 23155863
Change-Id: I60683889e76be830a76ac1245e079574aaf0ad10
/packages/apps/Launcher3/src/com/android/launcher3/AppWidgetsRestoredReceiver.java
1d4a2df091e2b5928406ea503321563a0ec8a01e 30-Mar-2015 Sunny Goyal <sunnygoyal@google.com> Removing ContentObserver from LauncherModel, and calling reload
whereever necessary

Change-Id: Ia4a8abdfe2be9703f3217a60527d3a1220b33bdc
/packages/apps/Launcher3/src/com/android/launcher3/AppWidgetsRestoredReceiver.java
ff572277112ec3d6a6a8c1be274d6fa1019e3648 23-Jul-2014 Sunny Goyal <sunnygoyal@google.com> Adding support to restore widgets even for jelly beans.

> Show 'widget-not-ready' until the widget app is installed
> Once the app is installed, bind a new widget id (not required on L if
id-remap was received).
**Remove the widget if bind failed
> If the widget has no configuration screen, show the widget, otherwise
show 'setup-widget'.
> Clicking 'setup-widget' shows the config screen, and updates the
widget on RESULT_OK.

issue: 10779035

Change-Id: I2f8b06d09dd6acbc498cdd93edc59c26e5ce17af
/packages/apps/Launcher3/src/com/android/launcher3/AppWidgetsRestoredReceiver.java
513edaebce9846c2d5eb4c0c013a9dcf6232c0e3 30-Jul-2014 Sameer Padala <sxp@google.com> Modify code so it compiles on google3

The diamond operator isn't supported on google3 Android projects.

Change-Id: Ie7298b051330bb2cd32426d4c537882faa2f8ebd
/packages/apps/Launcher3/src/com/android/launcher3/AppWidgetsRestoredReceiver.java
651077bdd603bb182be039925fd17bdf0da15016 30-Jun-2014 Sunny Goyal <sunnygoyal@google.com> Adding app widget restore support in Launcher3 for android L

When the app is restored, it displays placeholders for all pending widgets.
These placeholders can be moved and removed similar to a widget (size is fixed
to what defined in backup). Once the system notifies the launcher of the new
widget ids, the place holders are replaced with actual widgets.

issue: 10779035

Change-Id: I68cbe4da01e9ca2978cb4471a7c645d2aa592055
/packages/apps/Launcher3/src/com/android/launcher3/AppWidgetsRestoredReceiver.java