Commit Graph
32 Commits
Author SHA1 Message Date
Jeffrey Sharkey 7bd74a410b AI 143908: am: CL 143907 Make search widget drop-down wider.
Original author: jsharkey
  Merged from: //branches/cupcake/...

Automated import of CL 143908
2009-03-31 18:25:03 -07:00
Jeffrey Sharkey 2bbcae1922 AI 143776: am: CL 143622 Correctly startListening() for widget updates when first boot completes.
During the first boot upgrade, LauncherProvider will deleteHost() to clear out any old appWidgetId bindings.  During the first boot, Launcher calls AppWidgetHost.startListening() to watch for widget updates.  It also calls loadUserItems(), which loads data from LauncherProvider, triggering the database creation and deleteHost() call.  Because deleteHost() removes any existing callbacks, any future widget updates are dropped on the floor.  (This can currently be solved by rebooting, because there isn't an upgrade on subsequent boots.)
  This bug was particularly evident on vfpioneer-userdebug builds, as there aren't any configuration changes that cause Launcher to be destroyed and recreated.  (When destroyed and recreated, we startListening() again, and LauncherProvider doesn't call deleteHost().)
  To handle this special case, Launcher creates a ContentObserver pointing at a specific URI, which the LauncherProvider notifies when the AppWidgetHost is reset through deleteHost(), allowing Launcher to correctly startListening() again.
  Original author: jsharkey
  Merged from: //branches/cupcake/...

Automated import of CL 143776
2009-03-31 14:37:57 -07:00
Romain Guy fedc4fcebc AI 143295: am: CL 143294 Fixes #1725672. For good this time. When Home starts for the first time, it spawns a loading thread for the workspace items. That loader is responsible for starting the drawer loader after it's done. Unfortunately, after a wipe data or a database upgrade, the worksapce loader could be interrupted by a ContentProvider notification change which would cause the loader to be cancelled and another workspace loader to be spawned. The new workspace loader, however, would not start the drawer loader because the appropriate flag was not set correctly. This change simply duplicates the flag from the old loader in the new one and all is well.
Original author: romainguy
  Merged from: //branches/cupcake/...

Automated import of CL 143295
2009-03-27 20:48:20 -07:00
Jeffrey Sharkey 591d6d77cc AI 143232: am: CL 143057 Don't NPE when editing a folder name.
Only happens when user changes orientation while editing, where getFolderById can return the wrong folder type for the given ID.
  Original author: jsharkey
  Merged from: //branches/cupcake/...

Automated import of CL 143232
2009-03-27 19:45:21 -07:00
Romain Guy 829f56a020 AI 143187: am: CL 142933 Fixes #1725672. Rebind the drawer's content early to avoid the dreaded "blank drawer" bug.
Original author: romainguy
  Merged from: //branches/cupcake/...

Automated import of CL 143187
2009-03-27 16:58:13 -07:00
Jeffrey Sharkey c4bbd0a5c0 Automated import from //branches/donutburger/...@142474,142474 2009-03-24 22:47:52 -07:00
Jeffrey Sharkey 2d132af2bb Automated import from //branches/donutburger/...@142038,142038 2009-03-24 21:21:09 -07:00
Romain Guy d93a7d1716 Automated import from //branches/donutburger/...@142016,142016 2009-03-24 21:17:50 -07:00
Romain Guy 9ffb5439b6 Automated import from //branches/donutburger/...@141885,141885 2009-03-24 21:04:15 -07:00
Dianne Hackborn bd2e54d8ae Automated import from //branches/donutburger/...@141844,141844 2009-03-24 21:00:33 -07:00
Romain Guy c5aa56da9a Automated import from //branches/donutburger/...@141664,141664 2009-03-24 20:42:40 -07:00
Jeffrey Sharkey c7fdae1763 Automated import from //branches/donutburger/...@141651,141651 2009-03-24 20:41:22 -07:00
Jeffrey Sharkey d18299f1d8 Automated import from //branches/donutburger/...@140670,140670 2009-03-24 18:11:49 -07:00
Romain Guy 9b141a29ba Automated import from //branches/donutburger/...@140648,140648 2009-03-24 18:08:41 -07:00
Jeffrey Sharkey 99c8758563 Automated import from //branches/donutburger/...@140592,140592 2009-03-24 17:59:43 -07:00
The Android Open Source Project f96811cdf5 auto import from //branches/cupcake_rel/...@140373 2009-03-18 17:39:48 -07:00
The Android Open Source Project ca9475f040 auto import from //branches/cupcake_rel/...@138607 2009-03-13 13:04:24 -07:00
The Android Open Source Project 7376faefbb auto import from //branches/cupcake/...@137873 2009-03-11 12:11:58 -07:00
The Android Open Source Project bc219c3c12 auto import from //branches/cupcake/...@137197 2009-03-09 11:52:14 -07:00
The Android Open Source Project 1ff70f7f72 auto import from //depot/cupcake/@136594 2009-03-05 14:34:38 -08:00
The Android Open Source Project 31dd503c6a auto import from //depot/cupcake/@135843 2009-03-03 19:32:27 -08:00
The Android Open Source Project 3189679370 auto import from //depot/cupcake/@135843 2009-03-03 18:28:51 -08:00
The Android Open Source Project 38a75b2d89 auto import from //depot/cupcake/@132589 2009-03-03 14:04:32 -08:00
The Android Open Source Project b28e1b7d95 auto import from //depot/cupcake/@137055 2009-03-02 22:54:41 -08:00
The Android Open Source Project 233a0136ea auto import from //branches/cupcake/...@132276 2009-02-19 10:57:35 -08:00
The Android Open Source Project 98baae654d auto import from //branches/cupcake/...@131421 2009-02-13 12:57:53 -08:00
The Android Open Source Project 15a8880cb1 auto import from //branches/cupcake/...@130745 2009-02-10 15:44:05 -08:00
The Android Open Source Project 62b49bb3f5 auto import from //branches/cupcake/...@127101 2009-01-20 14:04:00 -08:00
The Android Open Source Project 946cd91e36 auto import from //branches/cupcake/...@126645 2009-01-15 16:12:13 -08:00
The Android Open Source Project 0e320b21ad auto import from //branches/cupcake/...@125939 2009-01-09 17:51:25 -08:00
The Android Open Source Project d097a1880f Code drop from //branches/cupcake/...@124589 2008-12-17 18:05:58 -08:00
The Android Open Source Project c8f00b61c6 Initial Contribution 2008-10-21 07:00:00 -07:00