Commit Graph

18 Commits

Author SHA1 Message Date
Winson Chung
83892cc076 Fixing issue where updating the visibility of one application can trigger all icons to disappear. (Bug 8757421)
- Also queueing bindComponentsRemoved() and bindPackagesUpdated() to wait for resume (Bug 8594153)

Change-Id: I44028fe79f6fa6bcd6b829e36f3f5b9ed756dc4d
2013-05-03 14:47:51 -07:00
Adam Cohen
487f7dd305 Trying to track down corrupt database / items disappearing
-> Adding logs for all database transactions
-> Adding sanity checks for items in folders, throwing exceptions
   if they are violated
-> Reducing database upates when re-arranging items, only
   update if values have changed
-> Removed some dead code from ItemInfo (isGesture?)

Change-Id: Ia5cd57d92082f633dbf4aa5d64612cbae2d82bb4
2012-07-09 14:49:19 -07:00
Winson Chung
be365165ed Try and resolve the package name from the intent directly falling back to the resolved component name if it fails. (Bug 6452306)
Change-Id: Ifb2187fb845f807f30df966bf298ffde1b779b46
2012-05-07 11:11:52 -07:00
Michael Jurka
c9d95c5897 Cleaning up LauncherModel
- performing all DB operations immediately if called from worker thread (a previous change that did this in updateItemInDatabase fixed an outstanding bug)
- centralizing logic to do database updates
- removing old logging code

Change-Id: Idc7bfef3921828ff7c5492b8e996c0a07e1ec508
2011-09-07 16:59:07 -07:00
Michael Jurka
b60fd0eafb Tagging where ItemInfos are created for debug purposes
Change-Id: Iad3ed8ef4f81f4990c027ab46fd25b03b089babb
2011-08-29 14:23:30 -07:00
Winson Chung
c3eecff904 Preventing multiple calls to loadLabel for the same info within a single load.
- Fixing mind boggling bug where we weren't even using the label cache earlier.

Change-Id: I605abf4d589ad02b2426d20adfe9cd1773cc84fd
2011-07-11 17:47:42 -07:00
Winson Chung
c85ea570c4 No longer generating title bitmaps for icons.
Change-Id: I857ba2a532158175396d45cba0976baa17da126f
2011-07-11 16:02:52 -07:00
Patrick Dubroy
cd953711fc Fix 3385675: Uninstall option available for system app
- when a system app is selected in all apps, don't show uninstall button
- if it's an updated system app, show "Uninstall update"
- Also, remove unused code for non-existent flag for games

Change-Id: I46753ee8d213b2ba1613b71ac1fe73d79786129c
2011-02-28 15:49:59 -08:00
Winson Chung
78403feedc Changing downloads tab to my apps and making most recent first. (3377455)
Change-Id: I75ae46ad601457ecfc9555aff7f7ff5284440317
2011-01-21 15:48:45 -08:00
Patrick Dubroy
430c53bc80 Fix 2981705: Unable to uninstall downloaded app by dragging to trash.
- on long press, copy constructor of ApplicationInfo is called. It wasn't copying flags.
- also fix all apps choice mode so that chosen object is set when preparing CAB
2010-09-08 16:05:51 -07:00
Patrick Dubroy
3d605d5bbe Make tabs in all apps actually filter the list of apps. 2010-07-29 16:09:27 -07:00
Winson Chung
aafa03cbb9 Allow for NxM layout and in-place rotation of items on homescreen.
Currently, rotation is disabled as designs are still in flux, but the NxM grid is enabled (8x4).

Change-Id: I0026f88c674719e3d67de6d6d481d2d4cd606362
2010-06-30 16:24:40 -07:00
Joe Onorato
f984e853f2 fix 2542590 add more logging when launching app fails
Change-Id: I5a1fa261c6e67eb7afb661de39e35ce43e2caa59
2010-03-25 09:47:45 -07:00
Joe Onorato
0589f0f66c Split ApplicationInfo into ApplicationInfo which is used for AllAppsView and ShortcutInfo which is
used for the workspace.

Consolidate the three icon resampling functions into one.

Ensure that the icons stored in LauncherProvider are the right size, so we don't have to resample
them each time we load them.
2010-02-12 12:18:40 -05:00
Joe Onorato
be38609f87 Add a lot of logging that can be seen by doing adb shell setprop launcher2.dumpstate 1 and presssing volume down 2009-11-17 18:04:52 -08:00
Joe Onorato
9c1289cb3b Redo the launcher loading code and put the real app icons into rollo. 2009-08-24 14:58:44 -04:00
Joe Onorato
a5902524d4 Launcher2 compiles. 2009-07-30 13:37:37 -07:00
Joe Onorato
fca7c88f9d Move com/android/launcher -> com/android/launcher2 2009-07-30 10:15:07 -07:00