Commit Graph

14 Commits

Author SHA1 Message Date
Romain Guy 1ce1a24cba Fixes #1937447. Home was not saving the appropriate state when losing focus. 2009-06-23 17:34:54 -07:00
Romain Guy 417d23428a Fixes #1930608. Drop the gestures tables before attempting to recreate it. 2009-06-19 14:28:51 -07:00
Romain Guy 73b979d8c1 Add gestures to Home.
Press the Home key while in Home to enable the gestures pad.
2009-06-10 02:21:15 -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
Dianne Hackborn bd2e54d8ae Automated import from //branches/donutburger/...@141844,141844 2009-03-24 21:00:33 -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 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 15a8880cb1 auto import from //branches/cupcake/...@130745 2009-02-10 15:44:05 -08:00
The Android Open Source Project d097a1880f Code drop from //branches/cupcake/...@124589 2008-12-17 18:05:58 -08:00