Commit Graph

1170 Commits

Author SHA1 Message Date
Bjorn Bringert
cd8fec0281 Don't hardcode component name for search widget
Note that this does not convert any widgets what were bound when
a different global search app was installed. Thus Froyo -> Froyo
upgrades without userdata wipe will see "Problem loading widget".
Workaround: Remove the search widget and add a new one.

Change-Id: I2bcd211c10bbaba66f5f3f82b6785396d957aa25
2010-01-14 15:12:04 +00:00
Romain Guy
629de3ef73 Remove widgets when the corresponding apk is uninstalled.
Bug #2298872
2010-01-13 12:20:59 -08:00
Romain Guy
5c16f3ecd6 Remove LiveFolders when corresponding package is uninstalled.
Bug #2298872
2010-01-12 17:24:58 -08:00
Romain Guy
ea3763c267 Fix dpad nav: go left/right when dpad is moved and dots are focused.
Bug #2359364
2010-01-11 18:02:04 -08:00
Joe Onorato
c45b168629 Fix 2325492 - No icons in launcher after pressing home from within an app
It looks like the evil hack in 14f122bf84 to make the workspace
not animate didn't completely work.  The key to reproducing this bug is to make sure the
activity is destroyed and to have last gone to an app from a screen other than the center
screen, because that causes it to get reloaded from the icicle, which makes the timing
more amenable to missing the animation, because the view isn't attached yet.
2010-01-11 18:48:40 -05:00
Joe Onorato
6374c51a89 Fix bug 2337808 - zoom state gets out of sync when the surface disappears 2010-01-11 11:15:08 -05:00
Romain Guy
8f19cdd62f Deprecate fill_parent and introduce match_parent.
Bug: #2361749.
2010-01-08 15:11:52 -08:00
Eric Fischer
677298ac89 Update with latest translations. 2010-01-07 15:58:34 -08:00
Jason Sams
d15f3ef981 cleanup RS scripts leftover from previous design and rename final script. 2010-01-06 14:58:06 -08:00
Jean-Baptiste Queru
2583ac54b4 explicit set an "optional" tag 2010-01-05 11:11:17 -08:00
Romain Guy
b5de775467 Prevent crash when the app passes the wrong data type as a shortcut icon.
Bug: #2353444.
2010-01-04 14:43:49 -08:00
Tom Taylor
9e97dc97b4 am 0663d1d9: am fd1e757f: Update imports to android-common
Merge commit '0663d1d90dc943e8bfaadb27f270f600d7d2e0a0'

* commit '0663d1d90dc943e8bfaadb27f270f600d7d2e0a0':
  Update imports to android-common
2009-12-21 17:24:40 -08:00
Tom Taylor
0663d1d90d am fd1e757f: Update imports to android-common
Merge commit 'fd1e757ff2095cb1c41fb0f5bb39d6b8461617ea' into eclair-mr2-plus-aosp

* commit 'fd1e757ff2095cb1c41fb0f5bb39d6b8461617ea':
  Update imports to android-common
2009-12-21 15:44:41 -08:00
Tom Taylor
fd1e757ff2 Update imports to android-common
Several files were moved to android-common. Update all the references
to import those files from the new location.
2009-12-21 14:00:50 -08:00
Android (Google) Code Review
4c073b965e Merge change I72f1d310
* changes:
  Update to new RS texture API.
2009-12-18 12:01:48 -08:00
Android (Google) Code Review
a99d82f869 Merge change I510ee049
* changes:
  Remove WAR for handling uploads when no surface was present.
2009-12-17 17:17:03 -08:00
Jason Sams
72f1d3100c Update to new RS texture API. 2009-12-17 16:58:25 -08:00
Android (Google) Code Review
60055882c2 Merge change I8ad4a378
* changes:
  Remove obsolete doc references to LauncherAppWidgetBinder
2009-12-16 10:42:37 -08:00
Bjorn Bringert
93c45765cc Remove obsolete doc references to LauncherAppWidgetBinder
Change-Id: I8b9c2d8145d56b891f26dabebead35275d81b6ba
2009-12-16 13:23:45 +00:00
Joe Onorato
752a1244be am 34a0e1b0: fix bug 2326478
Merge commit '34a0e1b00b9baeff19e94f1ee35dd890063489d2'

* commit '34a0e1b00b9baeff19e94f1ee35dd890063489d2':
  fix bug 2326478
2009-12-15 15:05:31 -08:00
Jason Sams
510ee04942 Remove WAR for handling uploads when no surface was present. 2009-12-15 14:23:37 -08:00
Bjorn Bringert
3425134204 Bind converted widgets directly.
Before, Launcher2 sent an intent to
com.android.settings/com.android.settings.LauncherAppWidgetBinder
to bind any converted appwidgets. That doesn't seem to work anymore,
and is not how non-converted widgets are bound. Changing to
binding the widgets directly fixes a problem where the search
widget was not bound after an upgrade from Eclair to Master.

The search widget conversion problem was introduced in
Change I85d64defe155c0cad97fafef6a3db62c6cab504a
where I got rid of the built-in search widget.

This patch may break conversion of legacy built-in
clock and photo widgets, but I believe that was already broken
because of the non-functional widget binding mechanism.

Bug: http://b/2322160
2009-12-15 13:33:11 +00:00
Joe Onorato
34a0e1b00b fix bug 2326478 2009-12-14 17:44:51 -08:00
Romain Guy
1cc7f41015 Remove unused class from Launcher2. 2009-12-14 14:18:51 -08:00
Joe Onorato
7a4819aba0 am bc7d1d01: am bdc5a45d: am 3ecbd81f: Still trying to fix 2320348 - Launcher2 crashed: AIOOBE at com.android.launcher2.AllAppsView.removeApp
Merge commit 'bc7d1d01640d44c1b4f1b468e6365abc4e340bf3'

* commit 'bc7d1d01640d44c1b4f1b468e6365abc4e340bf3':
  Still trying to fix 2320348 - Launcher2 crashed: AIOOBE at com.android.launcher2.AllAppsView$RolloRS.removeApp
2009-12-13 12:42:10 -08:00
Joe Onorato
bc7d1d0164 am bdc5a45d: am 3ecbd81f: Still trying to fix 2320348 - Launcher2 crashed: AIOOBE at com.android.launcher2.AllAppsView.removeApp
Merge commit 'bdc5a45de6708c241a414805bdec65428c9ddd88' into eclair-mr2-plus-aosp

* commit 'bdc5a45de6708c241a414805bdec65428c9ddd88':
  Still trying to fix 2320348 - Launcher2 crashed: AIOOBE at com.android.launcher2.AllAppsView$RolloRS.removeApp
2009-12-13 12:34:31 -08:00
Joe Onorato
bdc5a45de6 am 3ecbd81f: Still trying to fix 2320348 - Launcher2 crashed: AIOOBE at com.android.launcher2.AllAppsView.removeApp
Merge commit '3ecbd81f99d2005172f431d2bf207b698154fe29' into eclair-mr2

* commit '3ecbd81f99d2005172f431d2bf207b698154fe29':
  Still trying to fix 2320348 - Launcher2 crashed: AIOOBE at com.android.launcher2.AllAppsView$RolloRS.removeApp
2009-12-13 12:23:49 -08:00
Joe Onorato
3ecbd81f99 Still trying to fix 2320348 - Launcher2 crashed: AIOOBE at com.android.launcher2.AllAppsView$RolloRS.removeApp 2009-12-11 13:38:54 -08:00
Joe Onorato
a8d2e67892 am 68017667: am 15237db0: am 8cf34293: Launcher2 - This might fix the missing app problem and the crash in removeApp.
Merge commit '6801766784c752609fc4a63db9038e5f64db6453'

* commit '6801766784c752609fc4a63db9038e5f64db6453':
  Launcher2 - This might fix the missing app problem and the crash in removeApp.
2009-12-11 11:37:58 -08:00
Joe Onorato
6801766784 am 15237db0: am 8cf34293: Launcher2 - This might fix the missing app problem and the crash in removeApp.
Merge commit '15237db04c12c3bf193211a878aa69ea91e2052a' into eclair-mr2-plus-aosp

* commit '15237db04c12c3bf193211a878aa69ea91e2052a':
  Launcher2 - This might fix the missing app problem and the crash in removeApp.
2009-12-11 11:35:32 -08:00
Joe Onorato
15237db04c am 8cf34293: Launcher2 - This might fix the missing app problem and the crash in removeApp.
Merge commit '8cf34293dc2f078bf023ac77d007f5182f9b9357' into eclair-mr2

* commit '8cf34293dc2f078bf023ac77d007f5182f9b9357':
  Launcher2 - This might fix the missing app problem and the crash in removeApp.
2009-12-11 11:31:39 -08:00
Joe Onorato
8cf34293dc Launcher2 - This might fix the missing app problem and the crash in removeApp.
This marks the apps list as dirty by default.  Usually, because of how long
it takes the loader thread to run, the apps list comes in after the surface
has been initialized.  However, if the surface isn't around yet when setApps
is called, then setApps won't set mRollo.mAppsDirty because mRollo is null.
The extra null check is necessary for the normal case when mAllAppsList isn't
ready yet when the surface comes in.
2009-12-11 10:59:51 -08:00
Eric Fischer
8cc199db4e am 5d9dacc6: (-s ours) am 41ed4478: am 6799f0f9: (-s ours) Import revised translations. DO NOT MERGE
Merge commit '5d9dacc682b6cade694d0fc29c6951ede173c727'

* commit '5d9dacc682b6cade694d0fc29c6951ede173c727':
  Import revised translations.  DO NOT MERGE
2009-12-10 17:57:34 -08:00
Joe Onorato
84af1965c0 am fd379524: am 616e3a08: am 8eea3914: fix 2315821 and 2315729 - problems caused because the apps list could become unsynchronized with the list of icons.
Merge commit 'fd379524674a3af9d00b7df13bb2f3ed44fd4f90'

* commit 'fd379524674a3af9d00b7df13bb2f3ed44fd4f90':
  fix 2315821 and 2315729 - problems caused because the apps list could become
2009-12-10 17:57:31 -08:00
Eric Fischer
5d9dacc682 am 41ed4478: am 6799f0f9: (-s ours) Import revised translations. DO NOT MERGE
Merge commit '41ed4478ad9782a1d68de733e4cef8fec0647ef9' into eclair-mr2-plus-aosp

* commit '41ed4478ad9782a1d68de733e4cef8fec0647ef9':
  Import revised translations.  DO NOT MERGE
2009-12-10 17:49:51 -08:00
Joe Onorato
fd37952467 am 616e3a08: am 8eea3914: fix 2315821 and 2315729 - problems caused because the apps list could become unsynchronized with the list of icons.
Merge commit '616e3a0892511e14b812228e6e8d879c44082cb4' into eclair-mr2-plus-aosp

* commit '616e3a0892511e14b812228e6e8d879c44082cb4':
  fix 2315821 and 2315729 - problems caused because the apps list could become
2009-12-10 17:49:47 -08:00
Eric Fischer
41ed4478ad am 6799f0f9: (-s ours) Import revised translations. DO NOT MERGE
Merge commit '6799f0f9ced102e84475b5af3dbca16c0e6f2280' into eclair-mr2

* commit '6799f0f9ced102e84475b5af3dbca16c0e6f2280':
  Import revised translations.  DO NOT MERGE
2009-12-10 17:42:59 -08:00
Joe Onorato
616e3a0892 am 8eea3914: fix 2315821 and 2315729 - problems caused because the apps list could become unsynchronized with the list of icons.
Merge commit '8eea3914a012eec703b5c7829361bbc6e356dc66' into eclair-mr2

* commit '8eea3914a012eec703b5c7829361bbc6e356dc66':
  fix 2315821 and 2315729 - problems caused because the apps list could become
2009-12-10 17:39:36 -08:00
Bjorn Bringert
540e9576e1 am ca1ae49c: am 7984c949: Get rid of the built-in search widget in Launcher2
Merge commit 'ca1ae49cebd6b0cc56be4e83a69d279c141533a6'

* commit 'ca1ae49cebd6b0cc56be4e83a69d279c141533a6':
  Get rid of the built-in search widget in Launcher2
2009-12-10 14:40:13 -08:00
Joe Onorato
1f7b4296b1 am 31f8c994: am 5a7970b5: am af5b4cb2: Fix 2305903 Scrolling trackball upwards at the top of the app menu selects app at the bottom left
Merge commit '31f8c994a34dbff4573d32dcc49eec75e7bb546d'

* commit '31f8c994a34dbff4573d32dcc49eec75e7bb546d':
  Fix 2305903 Scrolling trackball upwards at the top of the app menu selects app at the bottom left
2009-12-10 13:32:36 -08:00
Joe Onorato
3ad4357ebd am 53d0a749: am 546917a5: am a276fc59: Fix 2306862 - Launcher2 crashed: in libs/rs. Uploading texture without a context.
Merge commit '53d0a74996bc2274e64c5582c63ae87beb9f5dde'

* commit '53d0a74996bc2274e64c5582c63ae87beb9f5dde':
  Fix 2306862 - Launcher2 crashed: in libs/rs.  Uploading texture without a context.
2009-12-10 13:32:32 -08:00
Joe Onorato
3223093ffc am ffd6081b: am 199c4825: am bf173f11: Fix 2304151 - crash while installing apps
Merge commit 'ffd6081b5163cfb15845281c19455f6bc6f4ec40'

* commit 'ffd6081b5163cfb15845281c19455f6bc6f4ec40':
  Fix 2304151 - crash while installing apps
2009-12-10 13:32:28 -08:00
Romain Guy
4183f8499b am 761d6da8: am f8e6a80a: Let the user click the dots during a scroll on Home.
Merge commit '761d6da8f68d619c7e6cb079504903904da54433'

* commit '761d6da8f68d619c7e6cb079504903904da54433':
  Let the user click the dots during a scroll on Home.
2009-12-10 13:32:24 -08:00
Bjorn Bringert
ca1ae49ceb am 7984c949: Get rid of the built-in search widget in Launcher2
Merge commit '7984c9496bcaeca23ee7fdecc4d4f1bb2467e0f2' into eclair-mr2-plus-aosp

* commit '7984c9496bcaeca23ee7fdecc4d4f1bb2467e0f2':
  Get rid of the built-in search widget in Launcher2
2009-12-09 23:41:55 -08:00
Eric Fischer
6799f0f9ce Import revised translations. DO NOT MERGE 2009-12-09 17:26:55 -08:00
Joe Onorato
31f8c994a3 am 5a7970b5: am af5b4cb2: Fix 2305903 Scrolling trackball upwards at the top of the app menu selects app at the bottom left
Merge commit '5a7970b536bfee8cb486f42c0ab70f1d6ea80fe9' into eclair-mr2-plus-aosp

* commit '5a7970b536bfee8cb486f42c0ab70f1d6ea80fe9':
  Fix 2305903 Scrolling trackball upwards at the top of the app menu selects app at the bottom left
2009-12-09 15:56:47 -08:00
Joe Onorato
53d0a74996 am 546917a5: am a276fc59: Fix 2306862 - Launcher2 crashed: in libs/rs. Uploading texture without a context.
Merge commit '546917a5ad2ed8fb2013982156044faa29d11fc9' into eclair-mr2-plus-aosp

* commit '546917a5ad2ed8fb2013982156044faa29d11fc9':
  Fix 2306862 - Launcher2 crashed: in libs/rs.  Uploading texture without a context.
2009-12-09 15:56:04 -08:00
Joe Onorato
ffd6081b51 am 199c4825: am bf173f11: Fix 2304151 - crash while installing apps
Merge commit '199c4825e2d64e3a5d8992155595462e75332cc7' into eclair-mr2-plus-aosp

* commit '199c4825e2d64e3a5d8992155595462e75332cc7':
  Fix 2304151 - crash while installing apps
2009-12-09 15:50:54 -08:00
Romain Guy
761d6da8f6 am f8e6a80a: Let the user click the dots during a scroll on Home.
Merge commit 'f8e6a80acd4e5558fdf7e0559f1043a2b183a8fa' into eclair-mr2-plus-aosp

* commit 'f8e6a80acd4e5558fdf7e0559f1043a2b183a8fa':
  Let the user click the dots during a scroll on Home.
2009-12-09 15:41:01 -08:00
Bjorn Bringert
7984c9496b Get rid of the built-in search widget in Launcher2
Uses the widget from packages/apps/QuickSearchBox instead.

Change-Id: I85d64defe155c0cad97fafef6a3db62c6cab504a
2009-12-09 21:48:38 +00:00