History log of /packages/apps/Launcher2/src/com/android/launcher2/ShortcutInfo.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
374753cabf05cde1ad669d07bde47e34fdcbe499 19-Mar-2014 Amith Yamasani <yamasani@google.com> Launcher2 multi-profile support

Use LauncherApps API and badging APIs instead of PackageManager.

Adds support to show apps from current user and any managed profiles.

Background: Managed profiles are user sandboxes that are visible from
the primary user and can be launched as if they are a part of this user.
A launcher should now be capable of listing apps from this user as well
as related profiles of this user.

Launching of activities is now via the LauncherApps interface, to allow
for cross-profile app launching. Only activities with category LAUNCHER
can be added as a shortcut on the workspace for a managed profile.

Widgets are only supported for the current profile. Widgets from the
managed profile are not available.

TODO: Handle users appearing and disappearing.

Change-Id: I732a476d68236f7de7eaa5a2105c868621c8a57e
/packages/apps/Launcher2/src/com/android/launcher2/ShortcutInfo.java
83892cc0768bd6d7f0827886e9e7a2eb3eed2b01 02-May-2013 Winson Chung <winsonc@google.com> 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
/packages/apps/Launcher2/src/com/android/launcher2/ShortcutInfo.java
487f7dd3059621527eb439d7d51d34e00293f9b1 29-Jun-2012 Adam Cohen <adamcohen@google.com> 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
/packages/apps/Launcher2/src/com/android/launcher2/ShortcutInfo.java
be365165ed00205265c1876c4829fa9ac630da2a 07-May-2012 Winson Chung <winsonc@google.com> 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
/packages/apps/Launcher2/src/com/android/launcher2/ShortcutInfo.java
db8a8944ede3be4ee63b43e24c407a3aaabee4de 03-Apr-2012 Winson Chung <winsonc@google.com> Changing order of binding to prevent errant flashing while loading workspace.

Change-Id: I75eb39600d1cd28980fd0365affb2c6e5f7162c1
/packages/apps/Launcher2/src/com/android/launcher2/ShortcutInfo.java
e384affda684a48c61d99ebfe8be40fb7d46d761 10-Mar-2012 Michael Jurka <mikejurka@google.com> Fix case where shortcut label wasn't updating

When installing an updated version of an app,
update the title (we were previously only doing
the icon).

Bug: 6069921
/packages/apps/Launcher2/src/com/android/launcher2/ShortcutInfo.java
c9d95c5897fc5ebbf53903d4ab18ad13d196f643 29-Aug-2011 Michael Jurka <mikejurka@google.com> 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
/packages/apps/Launcher2/src/com/android/launcher2/ShortcutInfo.java
b60fd0eafbb4e6e61b429c403f024dc903bc483a 29-Aug-2011 Michael Jurka <mikejurka@google.com> Tagging where ItemInfos are created for debug purposes

Change-Id: Iad3ed8ef4f81f4990c027ab46fd25b03b089babb
/packages/apps/Launcher2/src/com/android/launcher2/ShortcutInfo.java
20c0364a1de9f739e559fc384e9c0f0963c77265 29-Apr-2011 Michael Jurka <mikejurka@google.com> Deleting deprecated and unused code
/packages/apps/Launcher2/src/com/android/launcher2/ShortcutInfo.java
ddc9c1fb1ab426772add520d277ea9c2cd674094 31-Aug-2010 Joe Onorato <joeo@android.com> DO NOT MERGE - Fix 2941495: Launcher short-cut icons don't work for apps on SD card after reboot

Bug: 2941495
Change-Id: Ie8e0e0c62259f8cf933e53b7aa2dc28a835110ae
/packages/apps/Launcher2/src/com/android/launcher2/ShortcutInfo.java
aafa03cbb925c74be1c13f8bb99d928be429e62f 12-Jun-2010 Winson Chung <winsonc@google.com> 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
/packages/apps/Launcher2/src/com/android/launcher2/ShortcutInfo.java
f984e853f253c76a7a636a094680bb01c4b8ffb8 25-Mar-2010 Joe Onorato <joeo@android.com> fix 2542590 add more logging when launching app fails

Change-Id: I5a1fa261c6e67eb7afb661de39e35ce43e2caa59
/packages/apps/Launcher2/src/com/android/launcher2/ShortcutInfo.java
56d8291af6a28c6ba64113120efdf84a785e816c 07-Mar-2010 Joe Onorato <joeo@android.com> Apps on SD card don't confuse the launcher any more. They show up properly after reboots,
mounting and unmounting.

Change-Id: Icd861dcd8ac6401c597e2f9c8e2c66dff1cf9c61
/packages/apps/Launcher2/src/com/android/launcher2/ShortcutInfo.java
0589f0f66ce498512c6ee47482c649d88294c9d0 08-Feb-2010 Joe Onorato <joeo@android.com> 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.
/packages/apps/Launcher2/src/com/android/launcher2/ShortcutInfo.java