History log of /packages/apps/Launcher2/src/com/android/launcher2/LauncherProvider.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
45355c4596f396d7e7247e91de850646356bd104 08-Oct-2012 Michael Jurka <mikejurka@google.com> Re-merge "Add support for custom manta cling"

Also, fix issue where mako was crashing because
Launcher was trying to load a custom cling for it.
It was doing this because a custom home layout was
specified by SetupWizard, but for now we only want
custom clings on large devices

Bug: 7302705
Bug: 6992663

This reverts commit 2ebcf509f038f435ca8819dc098a7cb480bed0d9.

Change-Id: I46533309d5c62edfbd3a3b178c6965ffc73b6476
/packages/apps/Launcher2/src/com/android/launcher2/LauncherProvider.java
2ebcf509f038f435ca8819dc098a7cb480bed0d9 08-Oct-2012 Michael Jurka <mikejurka@google.com> Revert "Add support for custom manta cling"

This reverts commit 68255cbabe1cb7fbfc0706a8a2e1b1927eae1b55.
/packages/apps/Launcher2/src/com/android/launcher2/LauncherProvider.java
68255cbabe1cb7fbfc0706a8a2e1b1927eae1b55 05-Oct-2012 Michael Jurka <mikejurka@google.com> Add support for custom manta cling

- Load a custom cling if custom workspace layout is specified
- Also persist any custom workspace layout

Bug: 6992663
/packages/apps/Launcher2/src/com/android/launcher2/LauncherProvider.java
5524b4957fc7c1c858037327429411efdb8fe7d6 03-Oct-2012 Brian Muramatsu <btmura@google.com> Specify workspace resource in preload broadcast

Bug 7203884

Allow specifying the workspace XML layout in the PRELOAD_WORKSPACE
broadcast.

Change-Id: Iec01c6fa2dde4635f624f040b0772ee11fcd88dc
/packages/apps/Launcher2/src/com/android/launcher2/LauncherProvider.java
9bc8eba3338455c5d915055e8ba044981c512dfa 22-May-2012 Michael Jurka <mikejurka@google.com> Clean up warnings and some private API usage

Change-Id: Ic3c0b333942bc3de130e41531017e71358bd5bfb
/packages/apps/Launcher2/src/com/android/launcher2/LauncherProvider.java
8b03cc083f3f5749ec4a87a9bcf5ed4dfc780b2d 16-May-2012 Michael Jurka <mikejurka@google.com> Merge "Populate the default workspace earlier" into jb-dev
b6a4d983b8ddec80033f371c71270beea3ad912a 25-Apr-2012 Brian Muramatsu <btmura@google.com> Populate the default workspace earlier

Adds a receiver that populates the default
workspace. It can be called by the system when
it's ready for launcher to preload.

Change-Id: If885fcfd931c459f87e9bb0df4c8bca00906f3c1
/packages/apps/Launcher2/src/com/android/launcher2/LauncherProvider.java
d02402cb141d5f7838a10a400926e0dfcee2783f 15-May-2012 Daniel Lehmann <lehmannd@google.com> Preset type; contact shortcuts are now launched w/o provider invocation

Bug:6434853
Change-Id: I2fb9773713136d11d478936095ebad4a5302a9e1
/packages/apps/Launcher2/src/com/android/launcher2/LauncherProvider.java
2672ff937ea7885d184679dfee9f355b7bf2fc7d 05-May-2012 Winson Chung <winsonc@google.com> Adding workaround to allow shortcuts to skip the launch animation. (Bug 6447372)

Change-Id: Ic6e985ea0e9c70044b47279dc9e8886f8fec0507
/packages/apps/Launcher2/src/com/android/launcher2/LauncherProvider.java
b3302aee121b46f97aa7afc7e5e2f58f3309aa9b 01-May-2012 Winson Chung <winsonc@google.com> Sending broadcast for pre-configuring default workspace widgets.

Change-Id: I3c5598b9a2cec6cdcc96015645018b0a6e44a2fc
/packages/apps/Launcher2/src/com/android/launcher2/LauncherProvider.java
d452d4d76b69438704e4ca31063f418a860a6964 26-Apr-2012 Michael Jurka <mikejurka@google.com> Merge "Postpone loading default favorites" into jb-dev
8b805b17158886035b38261eb611d8641701ae43 18-Apr-2012 Michael Jurka <mikejurka@google.com> Remove use of private APIs

Change-Id: I3e28763075f8e92391796dc009214c9fa8f50008
/packages/apps/Launcher2/src/com/android/launcher2/LauncherProvider.java
b85f8a44b51258f22938773ca30dd85845345010 26-Apr-2012 Michael Jurka <mikejurka@google.com> Postpone loading default favorites

- postpone until Launcher activity is created
- gives setup wizard time to set flags before
we load the default workspace
/packages/apps/Launcher2/src/com/android/launcher2/LauncherProvider.java
c3a804042844dc4733b4bd4b6ac03bf4b2b015b7 24-Apr-2012 Daniel Lehmann <lehmannd@google.com> Upgrade launcher shortcuts for new QuickContact behavior from shortcuts

Bug 6362611

Change-Id: Ic3a7da7f3ca9618bbd96a6d0da4bc179eff5a54b
/packages/apps/Launcher2/src/com/android/launcher2/LauncherProvider.java
0dca1ec41479a74f8da080224fa0c7eacab674d6 29-Feb-2012 Andrew Flynn <flynn@google.com> New small/large screen division for Launcher.

Previously the dp division between the two was set at 600dp
(7" tablets). This has now been bumped up to 720dp
(10" tablets).

Change-Id: I1f0419e504fc3bb606156c1cf6fbe03956274184
/packages/apps/Launcher2/src/com/android/launcher2/LauncherProvider.java
6d09268cdef87be5686e541ba25148c7d72e0d59 17-Nov-2011 Winson Chung <winsonc@google.com> Updating default workspace and fixing issue where new hotseat browser icon is not shown. (Bug 5478946, Bug 5623287)

Change-Id: I7ebac3a4bde868de2b5beacc95fc94302dc0d6ee
/packages/apps/Launcher2/src/com/android/launcher2/LauncherProvider.java
5130e401a005fcf6afba6e8e72a628fc45f9a287 13-Oct-2011 Michael Jurka <mikejurka@google.com> Move haptic feedback on All Apps button to touch down

Bug #5453040

- Also fixing one case where db cursor wasn't closed
Bug #5453040

Change-Id: Id5e8f3c30690160900a6be2cd60c1062ff48ee54
/packages/apps/Launcher2/src/com/android/launcher2/LauncherProvider.java
f30ad5f1bf33baceeca6b770464fb543b58af985 08-Aug-2011 Winson Chung <winsonc@google.com> Making hotseat a fiver.

Change-Id: I18737692a115f8fd77c6feb3062f4bfeca3506ae
/packages/apps/Launcher2/src/com/android/launcher2/LauncherProvider.java
228da5a24e5a680cfb7bec14a24d20b5cb595a34 28-Jul-2011 Adam Cohen <adamcohen@google.com> Some launcher bugs:

-> Allowing folders to be specified in xml (issue 5032559)
-> Mostly fixing issue where you can lose items when dragging
out of a folder to a full screen (issue 5052078)

Change-Id: I3228dd568b2b8919c14594ee518f86173430481e
/packages/apps/Launcher2/src/com/android/launcher2/LauncherProvider.java
3d503fbd9468fb2b9fa645f4f7b91e11229edbfa 14-Jul-2011 Winson Chung <winsonc@google.com> Initial changes to add configurable hotseat.

Change-Id: I4c2ed4a1c122c057662fabc70bfef7c5c088460b
/packages/apps/Launcher2/src/com/android/launcher2/LauncherProvider.java
a8c760d395e1d2a78522427738302fbca3a72453 28-Apr-2011 Michael Jurka <mikejurka@google.com> Improving LauncherModel performance

- no longer reloading DB on each configuration change
- adding/updating items in DB on background thread

Change-Id: Ie140f31608df84b0ca2d45eb7a210a8a3b36b52f
/packages/apps/Launcher2/src/com/android/launcher2/LauncherProvider.java
509cd6a656627187dae20fdbec2bad76dfe7fab6 23-Mar-2010 Romain Guy <romainguy@android.com> Correctly upgrade from MR3 to FroYo.
Bug #2530137

Change-Id: I9ab59fd53e17a1f51f60a8cb98dcb19a7957ffc6
/packages/apps/Launcher2/src/com/android/launcher2/LauncherProvider.java
9690b396d5f24a31ce8ffd9739f1f5d03a69bdce 23-Mar-2010 Joe Onorato <joeo@android.com> fix 2533780 database cursors/statements is not closed in LauncherProvider.java

Change-Id: Iaf8ca76a15b153a1154b106247f81a0213183bcb
/packages/apps/Launcher2/src/com/android/launcher2/LauncherProvider.java
693599f27be9f3f2d59d3205283133b5b504d3c8 23-Mar-2010 Romain Guy <romainguy@android.com> Support old-package attribute for default workspace items.
Bug #2509293

Change-Id: I5e76465bceab6b733287f53f6afdcf3d522843fc
/packages/apps/Launcher2/src/com/android/launcher2/LauncherProvider.java
edcce099c98a6c40d10109ac092ab50f9d2668f3 04-Mar-2010 Romain Guy <romainguy@android.com> Fix the build!
/packages/apps/Launcher2/src/com/android/launcher2/LauncherProvider.java
cf8790483d0f6007731affaf612592cddd0a7d29 04-Mar-2010 Romain Guy <romainguy@android.com> Rename Launcher2's package to com.android.launcher.

This should fix data migration issues.
/packages/apps/Launcher2/src/com/android/launcher2/LauncherProvider.java
094fc7ac6daef2463a8885499ae80bcf1ae7f849 25-Feb-2010 Dianne Hackborn <hackbod@google.com> Update to reflect android-common no longer in framework.
/packages/apps/Launcher2/src/com/android/launcher2/LauncherProvider.java
3a928e46bdea32160c6cbecacdb2160389943a64 19-Feb-2010 Bjorn Bringert <bringert@android.com> Fix silent DB upgrade abort

normalizeIcons() was missing a call to setTransactionSuccessful(),
which made the entire DB upgrade silently rollback. So the
DB version was stuck at 6 after an upgrade from Eclair to Froyo.
The only visible effect in the default config was that the search
widget disappeared.

Fixes http://b/issue?id=2451146

Change-Id: I257964e5958286e9819bb5e7b108a261cfabf9b3
/packages/apps/Launcher2/src/com/android/launcher2/LauncherProvider.java
346e129456951b5db36a663d5601421e8019632e 18-Feb-2010 Joe Onorato <joeo@android.com> Fix a crash on launcher db upgrade.
/packages/apps/Launcher2/src/com/android/launcher2/LauncherProvider.java
eaf77d6c3dafb1a9032c98de53e0de335f59af30 13-Feb-2010 Jeff Hamilton <jham@android.com> Fix some broken SQL that causes a crash at boot.

Change-Id: I74e7f95b87eb427ad2c44d4197111ed18630e042
/packages/apps/Launcher2/src/com/android/launcher2/LauncherProvider.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/LauncherProvider.java
cd8fec02810ac2d7ca97c4cbb41e37dace832ecb 14-Jan-2010 Bjorn Bringert <bringert@android.com> 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
/packages/apps/Launcher2/src/com/android/launcher2/LauncherProvider.java
9e97dc97b4966b625a4f017edbd11675f71fbbd2 22-Dec-2009 Tom Taylor <tomtaylor@google.com> am 0663d1d9: am fd1e757f: Update imports to android-common

Merge commit '0663d1d90dc943e8bfaadb27f270f600d7d2e0a0'

* commit '0663d1d90dc943e8bfaadb27f270f600d7d2e0a0':
Update imports to android-common
fd1e757ff2095cb1c41fb0f5bb39d6b8461617ea 21-Dec-2009 Tom Taylor <tomtaylor@google.com> Update imports to android-common

Several files were moved to android-common. Update all the references
to import those files from the new location.
/packages/apps/Launcher2/src/com/android/launcher2/LauncherProvider.java
93c45765cc5f4dbc0f1742a70854845f876c7ddc 16-Dec-2009 Bjorn Bringert <bringert@android.com> Remove obsolete doc references to LauncherAppWidgetBinder

Change-Id: I8b9c2d8145d56b891f26dabebead35275d81b6ba
/packages/apps/Launcher2/src/com/android/launcher2/LauncherProvider.java
3425134204ad9dab032821016df40d4efda92f1a 15-Dec-2009 Bjorn Bringert <bringert@android.com> 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
/packages/apps/Launcher2/src/com/android/launcher2/LauncherProvider.java
7984c9496bcaeca23ee7fdecc4d4f1bb2467e0f2 09-Dec-2009 Bjorn Bringert <bringert@android.com> Get rid of the built-in search widget in Launcher2

Uses the widget from packages/apps/QuickSearchBox instead.

Change-Id: I85d64defe155c0cad97fafef6a3db62c6cab504a
/packages/apps/Launcher2/src/com/android/launcher2/LauncherProvider.java
7eb9e5e9257635cee5609ed633eb575fda93dd5a 03-Dec-2009 Romain Guy <romainguy@android.com> Upgrade Home db to upgrade contacts shortcut to the quick contact action

Change-Id: Icb5606e340a6eafc06ffd1be4bbe3d4f988376d1
/packages/apps/Launcher2/src/com/android/launcher2/LauncherProvider.java
a30ce8e6b25e41f392a41fd4d0d3e0a424a84dad 11-Nov-2009 Joe Onorato <joeo@android.com> Bug 2231692 - Turn off launcher2 logging.
/packages/apps/Launcher2/src/com/android/launcher2/LauncherProvider.java
3a2b3f2be58843d26549fb0ec6c6533627c7cd19 06-Nov-2009 Mike Cleron <mcleron@google.com> If 3 screens are good 5 will be better
/packages/apps/Launcher2/src/com/android/launcher2/LauncherProvider.java
b87bd16c8e3f88a9ba78ed00c9f150b38dc39f33 31-Oct-2009 Mike Cleron <mcleron@google.com> More capabilities for default home configuration

Added support for adding appwidgets beyond clock and search to the
intital configuration. Also pulled in a previous change in Launcher that
allowed http shortcuts. New syntax looks like this in
default_workspace.xml:

<appwidget
launcher:packageName="com.android.settings"
launcher:className="com.android.settings.widget.SettingsAppWidgetProvider"
launcher:screen="0"
launcher:x="0"
launcher:y="2"
launcher:spanX="4"
launcher:spanY="1" />

<shortcut
launcher:packageName="com.android.settings"
launcher:icon="@drawable/ic_launcher_appwidget"
launcher:title="@string/group_folder"
launcher:uri="http://www.nytimes.com"
launcher:screen="2"
launcher:x="2"
launcher:y="2" />
/packages/apps/Launcher2/src/com/android/launcher2/LauncherProvider.java
a5902524d4403885eb4c50360bf3465c6be796ef 30-Jul-2009 Joe Onorato <joeo@android.com> Launcher2 compiles.
/packages/apps/Launcher2/src/com/android/launcher2/LauncherProvider.java
fca7c88f9dba895d9f6cf52c6f0e656445063e3e 30-Jul-2009 Joe Onorato <joeo@android.com> Move com/android/launcher -> com/android/launcher2
/packages/apps/Launcher2/src/com/android/launcher2/LauncherProvider.java