Commit Graph

27 Commits

Author SHA1 Message Date
Romain Guy 5a94139ff6 Fixes #1780990. Do not save the open state of the drawer when the user leaves Home by launching an application. 2009-04-28 15:18:25 -07:00
Karl Rosaen 138a04170d AI 147564: Merge back from search branch to donut. Notes:
- all public apis and framework changes have been reviewed by relevant folks in our branch (e.g romainguy)
  - all new public apis are @hidden; they will still get reviewed by api council once we're in git
  - other than that, it's mostly GlobalSearch and search dialog stuff, a new apps provider, and some tweaks
  to the contacts provider that was reviewed by jham

Automated import of CL 147564
2009-04-23 19:00:21 -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 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 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
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
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 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