Commit Graph

17541 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 1796c48dd7 AI 143907: Make search widget drop-down wider.
BUG=1749373

Automated import of CL 143907
2009-03-31 18:24:45 -07:00
Jeffrey Sharkey 3fca10b8cd AI 143792: am: CL 143746 Fix search widget assets to not overlap in landscape mode.
Done by using small button framework assets, but with manual padding adjustments to bring back to original button size.
  Original author: jsharkey
  Merged from: //branches/cupcake/...

Automated import of CL 143792
2009-03-31 14:59:08 -07:00
Jeffrey Sharkey 5ffd4ae172 AI 143816: am: CL 143792 am: CL 143746 Fix search widget assets to not overlap in landscape mode.
Done by using small button framework assets, but with manual padding adjustments to bring back to original button size.
  Original author: jsharkey
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143816
2009-03-31 14:43:35 -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
Jeffrey Sharkey 9dc115efc0 AI 143789: am: CL 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/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143789
2009-03-31 14:35:45 -07:00
Eric Fischer 577ef46489 AI 143712: am: CL 143685 am: CL 143547 Import revised translations.
Original author: enf
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143712
2009-03-31 14:20:41 -07:00
Jeffrey Sharkey cde7470888 AI 143746: Fix search widget assets to not overlap in landscape mode.
Done by using small button framework assets, but with manual padding adjustments to bring back to original button size.
  BUG=1749120

Automated import of CL 143746
2009-03-31 12:09:02 -07:00
Eric Fischer c026e8ef0b AI 143685: am: CL 143547 Import revised translations.
Original author: enf
  Merged from: //branches/cupcake/...

Automated import of CL 143685
2009-03-31 11:11:17 -07:00
Jeffrey Sharkey e5b142656c AI 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.
  BUG=1746104

Automated import of CL 143622
2009-03-31 10:12:20 -07:00
Eric Fischer 314cd6db6a AI 143547: Import revised translations.
BUG=1738388

Automated import of CL 143547
2009-03-30 15:52:27 -07:00
The Android Open Source Project 0cf0a6ad03 Merge branch 'open_source_no_contributions' into google_internal 2009-03-29 08:55:11 -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
Romain Guy 38d6761db6 AI 143403: am: CL 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/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143403
2009-03-27 20:03:51 -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
Jeffrey Sharkey c975a06ac3 AI 143382: am: CL 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/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143382
2009-03-27 19:39:58 -07:00
Dianne Hackborn ccb1ecbe63 AI 143364: am: CL 143214 am: CL 143009 More work on issue #1739507 (kila-user build is too big): remove some unused application resources I found.
Original author: hackbod
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143364
2009-03-27 19:19:20 -07:00
Jeffrey Sharkey ea70526ec7 AI 143342: am: CL 143191 am: CL 142952 Make Launcher norotate to prevent false-positive rotations.
Original author: jsharkey
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143342
2009-03-27 18:53:11 -07:00
The Android Open Source Project ddf2204161 Merge commit 'goog/cupcake' 2009-03-27 18:48:33 -07:00
Romain Guy bdde6f9126 AI 143338: am: CL 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/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143338
2009-03-27 18:48:11 -07:00
Dianne Hackborn 083b210af9 AI 143214: am: CL 143009 More work on issue #1739507 (kila-user build is too big): remove some unused application resources I found.
Original author: hackbod
  Merged from: //branches/cupcake/...

Automated import of CL 143214
2009-03-27 18:26:13 -07:00
Romain Guy bcc7c577d3 AI 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.
BUG=1725672

Automated import of CL 143294
2009-03-27 17:34:37 -07:00
Jeffrey Sharkey d1d36bab30 AI 143191: am: CL 142952 Make Launcher norotate to prevent false-positive rotations.
Original author: jsharkey
  Merged from: //branches/cupcake/...

Automated import of CL 143191
2009-03-27 17:13:54 -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
The Android Open Source Project 2e6a82faa9 Merge commit 'korg/cupcake' 2009-03-27 15:31:12 -07:00
Jeffrey Sharkey 21b086984b AI 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.
  BUG=1740367

Automated import of CL 143057
2009-03-26 21:35:10 -07:00
Dianne Hackborn dd8cbc24b9 Automated import from //branches/cupcake/...@143009,143009 2009-03-26 16:28:26 -07:00
Jeffrey Sharkey 62dd201747 Automated import from //branches/cupcake/...@142952,142952 2009-03-26 11:42:34 -07:00
Romain Guy 49643eb1d1 Automated import from //branches/cupcake/...@142933,142933 2009-03-26 10:08:23 -07:00
Jeffrey Sharkey 340be220fb Automated import from //branches/donutburger/...@142721,142721 2009-03-25 17:07:33 -07:00
Eric Fischer 7bf61317bf Automated import from //branches/donutburger/...@142720,142720 2009-03-25 17:04:28 -07:00
Jeffrey Sharkey ec511024c2 Automated import from //branches/master/...@142762,142762 2009-03-25 16:15:03 -07:00
Eric Fischer 86977e0a0c Automated import from //branches/master/...@142759,142759 2009-03-25 16:13:52 -07:00
Jeffrey Sharkey f38e1ab675 Automated import from //branches/cupcake/...@142649,142649 2009-03-25 15:23:55 -07:00
Eric Fischer 101898b039 Automated import from //branches/cupcake/...@142643,142643 2009-03-25 15:22:44 -07:00
Jeffrey Sharkey 5883119918 Automated import from //branches/master/...@142577,142577 2009-03-25 15:10:41 -07:00
Jeffrey Sharkey c4bbd0a5c0 Automated import from //branches/donutburger/...@142474,142474 2009-03-24 22:47:52 -07:00
Jeffrey Sharkey e9f6ef5072 Automated import from //branches/master/...@142043,142043 2009-03-24 21:26:12 -07:00
Jeffrey Sharkey 5de05864eb Automated import from //branches/master/...@142041,142041 2009-03-24 21:25:37 -07:00
Romain Guy d4185fdddc Automated import from //branches/master/...@142018,142018 2009-03-24 21:22:28 -07:00
Jeffrey Sharkey 37c2345627 Automated import from //branches/donutburger/...@142040,142040 2009-03-24 21:21:35 -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 232f15682d Automated import from //branches/master/...@141886,141886 2009-03-24 21:07:55 -07:00
Eric Fischer 45a61bbddf Automated import from //branches/master/...@141869,141869 2009-03-24 21:06:32 -07:00
Romain Guy 9ffb5439b6 Automated import from //branches/donutburger/...@141885,141885 2009-03-24 21:04:15 -07:00
Dianne Hackborn 02b4081b52 Automated import from //branches/master/...@141845,141845 2009-03-24 21:04:14 -07:00
Eric Fischer f14a666407 Automated import from //branches/donutburger/...@141868,141868 2009-03-24 21:02:50 -07:00
Dianne Hackborn bd2e54d8ae Automated import from //branches/donutburger/...@141844,141844 2009-03-24 21:00:33 -07:00
Romain Guy 2f8e96eb75 Automated import from //branches/master/...@141665,141665 2009-03-24 20:44:11 -07:00