History log of /packages/apps/Launcher2/src/com/android/launcher2/LauncherAppWidgetInfo.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/LauncherAppWidgetInfo.java
3c1681d5f7d56af5b25126d1c2b2ba7aa799deca 15-Nov-2012 Michael Jurka <mikejurka@google.com> Cleaning up unused code
/packages/apps/Launcher2/src/com/android/launcher2/LauncherAppWidgetInfo.java
aaa5c21ee2e03def644fb6ba8eadbb59873ddd45 06-Oct-2012 Adam Cohen <adamcohen@google.com> Fix to ensure default widgets get size callbacks (issue 7287744)

Change-Id: I46b329db247a0b450493530ab619576c45418b01
/packages/apps/Launcher2/src/com/android/launcher2/LauncherAppWidgetInfo.java
9e05a5ea951b4d5ffce324da8dd0656353306e6f 11-Sep-2012 Adam Cohen <adamcohen@google.com> Making launcher use new widget binding APIs

Change-Id: I9cd6716e1dc0c53b5c846371ea109ced4cd3d40a
/packages/apps/Launcher2/src/com/android/launcher2/LauncherAppWidgetInfo.java
211bac3cd89b26bda4ff52df984731d11156dc38 15-May-2012 Winson Chung <winsonc@google.com> Prevent multiple size changed callbacks to widgets whenever we reload the workspace.

Change-Id: I54d7f54ba9ead36201cfaad36fbb234a4c119b20
/packages/apps/Launcher2/src/com/android/launcher2/LauncherAppWidgetInfo.java
11a4937fbff0dbc50fb022513dc3b6c643154445 28-Apr-2012 Winson Chung <winsonc@google.com> Fixing issue where shortcuts and widgets were not being removed when the package was uninstalled (Bug 2657997, Bug 6335843)

- Also fixes issue if we are dragging a shortcut/widget and it is removed.
- Also exposes App Info for shortcuts and widgets

Change-Id: I3bd5056f50f20e8b277dde6456df26eac815bcde
/packages/apps/Launcher2/src/com/android/launcher2/LauncherAppWidgetInfo.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/LauncherAppWidgetInfo.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/LauncherAppWidgetInfo.java
ded9f8d8658d0b6601006c0a954cd3bf530e55c1 03-Nov-2010 Adam Cohen <adamcohen@google.com> Adding auto-advance to launcher

Change-Id: I96c88d35399057ccddc71dc93b974a39241a13da
/packages/apps/Launcher2/src/com/android/launcher2/LauncherAppWidgetInfo.java
6569f2c80e179c2f8ed73dae6b01d971ec20f005 12-Jul-2010 Patrick Dubroy <dubroy@google.com> When dragging items on the home screen, visualize where they will drop.

Draw a rectangle around the area where an item will land if it is dropped.
If the area is vacant, the rectangle is green; otherwise, it is red.

Change-Id: I859b52514566fa55f8c7a04493b8088d12baa476
/packages/apps/Launcher2/src/com/android/launcher2/LauncherAppWidgetInfo.java
af44209bfa60da3c7ab49b7f508f9effd316ee41 11-Jun-2010 Michael Jurka <mikejurka@google.com> First cut at new home screen customization for xlarge displays.

- Add new layout for xlarge, removing hotseat, next/prev page, etc.
- Add a "+" button in top right which switches to customization mode
- Add a widget chooser which slides up from bottom of screen
- Initial support for dragging widgets onto home screen

Change-Id: I14e2e013ccceff4066fcb7c4492b4f6bef6595e7
/packages/apps/Launcher2/src/com/android/launcher2/LauncherAppWidgetInfo.java
8802e960495e61803c18ea3dda2e30ef0a611d8f 26-May-2010 Daniel Sandler <dsandler@android.com> Defend against overlapping items in the workspace.

Should the Launcher's database become corrupted by
mysterious forces (e.g.: third-party launchers; botched
upgrades; smoke monsters) in such a way as to cause two
items to share the same cell, we now ignore loading the
latter.

Prevents a runtime crash (http://b/2655516).

Bug: 2655516
Change-Id: Ia514746f04f0e51b2cd07e9290589a6eab75bdd2
/packages/apps/Launcher2/src/com/android/launcher2/LauncherAppWidgetInfo.java
629de3ef739883c0962423cc0c3a26299f162d3d 13-Jan-2010 Romain Guy <romainguy@android.com> Remove widgets when the corresponding apk is uninstalled.
Bug #2298872
/packages/apps/Launcher2/src/com/android/launcher2/LauncherAppWidgetInfo.java
9c1289cb3bfb74f86e53ec7ac6dd76bb39666b2d 17-Aug-2009 Joe Onorato <joeo@android.com> Redo the launcher loading code and put the real app icons into rollo.
/packages/apps/Launcher2/src/com/android/launcher2/LauncherAppWidgetInfo.java
a5902524d4403885eb4c50360bf3465c6be796ef 30-Jul-2009 Joe Onorato <joeo@android.com> Launcher2 compiles.
/packages/apps/Launcher2/src/com/android/launcher2/LauncherAppWidgetInfo.java
fca7c88f9dba895d9f6cf52c6f0e656445063e3e 30-Jul-2009 Joe Onorato <joeo@android.com> Move com/android/launcher -> com/android/launcher2
/packages/apps/Launcher2/src/com/android/launcher2/LauncherAppWidgetInfo.java