OSDN Git Service

android-x86/packages-apps-Launcher3.git
10 years agoDO NOT MERGE disable launcher restore for 3.4 launch.
Chris Wren [Wed, 16 Apr 2014 18:10:10 +0000 (14:10 -0400)]
DO NOT MERGE disable launcher restore for 3.4 launch.

Change-Id: I8e439df25cad2cb9cf92cf1faef22906420e22cb

10 years agoTake account of bounds set on drag drawables.
Mathew Inwood [Wed, 16 Apr 2014 13:17:39 +0000 (14:17 +0100)]
Take account of bounds set on drag drawables.

If bounds are set on a compound drawable in a textview, drawing it into a
bitmap set to the intrinsic size of the drawable results in it being scaled
down in the top corner. Scaling it down again into the grid icon size then
gives a tiny icon.

Use the drawable bounds if any are set, otherwise use the intrinsic size.

Bug: 14103508
Change-Id: Idadd7bb891dc33d092eb9ceb3025b9a5d9e1bfd8

10 years agoturn off LauncherAppState.DEBUG
Chris Wren [Tue, 15 Apr 2014 17:57:15 +0000 (13:57 -0400)]
turn off LauncherAppState.DEBUG

Change-Id: Ia6d54235c353c27c8716d7fd9270a7f2ee7bc93f

10 years agoAdding external path for drag/drops.
Winson Chung [Tue, 15 Apr 2014 00:12:49 +0000 (17:12 -0700)]
Adding external path for drag/drops.

Change-Id: I3b315c4d14cadb9210f15d3c3e0b9545f4591be4

10 years agoExpose workspace.moveToDefaultScreen.
Mathew Inwood [Fri, 11 Apr 2014 16:17:39 +0000 (17:17 +0100)]
Expose workspace.moveToDefaultScreen.

This is to allow derived launcher classes to move the workspace to the
default screen when a drag is started, in case the current screen is not
capable of acting as a drop target.

Bug: 13962574
Change-Id: I8a6e94ce08be825c344beb708d244d2def5f319f

10 years agoMerge "Fix serious data loss issue for folders and hotseat items" into ub-now-mister...
Adam Cohen [Fri, 11 Apr 2014 01:14:55 +0000 (01:14 +0000)]
Merge "Fix serious data loss issue for folders and hotseat items" into ub-now-mister-ugly

10 years agoFix serious data loss issue for folders and hotseat items
Adam Cohen [Fri, 11 Apr 2014 01:06:59 +0000 (18:06 -0700)]
Fix serious data loss issue for folders and hotseat items

Change-Id: I37a5b44c670c2a1f99eb97b77cfdbc78534fdf91

bug 13964735

10 years agoMerge "Import translations. DO NOT MERGE" into ub-now-mister-ugly
Baligh Uddin [Thu, 10 Apr 2014 15:54:05 +0000 (15:54 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-now-mister-ugly

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 9 Apr 2014 20:27:43 +0000 (13:27 -0700)]
Import translations. DO NOT MERGE

Change-Id: I79cba96f30222edc7c238c69ba39c42e5796dc94
Auto-generated-cl: translation import

10 years agoMerge "Ensure the intro view is always the top view in the draglayer if it is present...
Adam Cohen [Wed, 9 Apr 2014 17:37:25 +0000 (17:37 +0000)]
Merge "Ensure the intro view is always the top view in the draglayer if it is present" into ub-now-mister-ugly

10 years agoUpping activity start delay
Adam Cohen [Tue, 8 Apr 2014 23:59:36 +0000 (16:59 -0700)]
Upping activity start delay

Change-Id: I4b72ae9d719825e1be8f1feb3643f9311dde2534

10 years agoEnsure the intro view is always the top view in the draglayer if it is present
Adam Cohen [Tue, 8 Apr 2014 22:34:17 +0000 (15:34 -0700)]
Ensure the intro view is always the top view in the draglayer if it is present

-> On devices post-api-16, we can achieve this just with child drawing order
   but on level 16 devices, child drawing order doesn't give us touch
   dispatch which is problematic for the intro screen.

issue 13796017

Change-Id: Ibf89ae91d8489f2de1eb9c8f235a0e6e6aed1847

10 years agoMerge "Import translations. DO NOT MERGE" into ub-now-mister-ugly
Baligh Uddin [Tue, 8 Apr 2014 02:20:29 +0000 (02:20 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-now-mister-ugly

10 years agoMerge "Fix pre sdk-18 compatibility (crash in dispatchDraw)" into ub-now-mister-ugly
Adam Cohen [Mon, 7 Apr 2014 22:32:57 +0000 (22:32 +0000)]
Merge "Fix pre sdk-18 compatibility (crash in dispatchDraw)" into ub-now-mister-ugly

10 years agoFix pre sdk-18 compatibility (crash in dispatchDraw)
Adam Cohen [Mon, 7 Apr 2014 21:11:48 +0000 (14:11 -0700)]
Fix pre sdk-18 compatibility (crash in dispatchDraw)

issue 13801679

Change-Id: I25b997179fd8eb7cdec6fc48d81533fb1c3094ce

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 7 Apr 2014 19:50:46 +0000 (12:50 -0700)]
Import translations. DO NOT MERGE

Change-Id: I1e236770eb6f0b892aa0062eee00f9cdb918d307
Auto-generated-cl: translation import

10 years agoMerge "Attempt to fix crash on workspace drag and drop on certain JB devices" into...
Adam Cohen [Sat, 5 Apr 2014 00:13:45 +0000 (00:13 +0000)]
Merge "Attempt to fix crash on workspace drag and drop on certain JB devices" into ub-now-mister-ugly

10 years agoDisabling the focused hotseat app cling if GEL is not preinstalled on the device...
Winson Chung [Fri, 4 Apr 2014 23:53:17 +0000 (16:53 -0700)]
Disabling the focused hotseat app cling if GEL is not preinstalled on the device. (Bug. 13551957)

Change-Id: I24b25a0eada1ac9273a57b02d80a2451d08b02b0

10 years agoAttempt to fix crash on workspace drag and drop on certain JB devices
Adam Cohen [Fri, 4 Apr 2014 23:36:21 +0000 (16:36 -0700)]
Attempt to fix crash on workspace drag and drop on certain JB devices

issue 13801679

Change-Id: I4769220ddeab566a869050b20d6064809c70bc19

10 years agoMerge "Cleanup orphaned workspace items on db upgrade" into ub-now-mister-ugly
Adam Cohen [Fri, 4 Apr 2014 20:42:10 +0000 (20:42 +0000)]
Merge "Cleanup orphaned workspace items on db upgrade" into ub-now-mister-ugly

10 years agoPrevent exception in production when icons collide during bind
Adam Cohen [Fri, 4 Apr 2014 01:12:34 +0000 (18:12 -0700)]
Prevent exception in production when icons collide during bind

-> We only need to throw an exception for dogfooders so we can
   track the issue
-> Worst case, an icon is ignored, does not warrant a crash.

issue 12106766

Change-Id: I054a849eb3d65762dc5e1bf699c76655f687c3e8

10 years agoCleanup orphaned workspace items on db upgrade
Adam Cohen [Wed, 2 Apr 2014 23:59:08 +0000 (16:59 -0700)]
Cleanup orphaned workspace items on db upgrade

-> Any workspace item whose screen id is not present in the
   screens table is removed from the database. This is
   intended to restore database consistency.

issue 13741729

Change-Id: I9a04b4165f1d85541025fcf48ddf2ad9e39ae94e

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 2 Apr 2014 19:34:32 +0000 (12:34 -0700)]
Import translations. DO NOT MERGE

Change-Id: If301cb07c8b50249a8e657c2ebe6d0f86f613b26
Auto-generated-cl: translation import

10 years agoMerge "update strings for welcome back" into ub-now-mister-ugly
Chris Wren [Wed, 2 Apr 2014 02:28:10 +0000 (02:28 +0000)]
Merge "update strings for welcome back" into ub-now-mister-ugly

10 years agoMake sure the workspace screens don't get updated while workspace is loading
Adam Cohen [Tue, 1 Apr 2014 20:33:58 +0000 (13:33 -0700)]
Make sure the workspace screens don't get updated while workspace is loading

-> Found another path that could lead to the same issue
   [add shortcut with config activity to an existing folder,
   when config activity launches, kill launcher, configure
   shortcut. observe crash and data loss].
-> Plugged up above, and a couple other potential holes
-> Initial fix probably took care of the main issue

Issue 12523285

Change-Id: I29db9da4af4a8bf22047eb46bd49354447d04b8d

10 years agoupdate strings for welcome back
Chris Wren [Tue, 1 Apr 2014 20:14:00 +0000 (16:14 -0400)]
update strings for welcome back

Bug: 13531041
Change-Id: Iabcb40df50850bd91b9ec972b407e4267960e4b9

10 years agoMerge "Increase delay before dismissing intro screen (issue 13691305)" into ub-now...
Adam Cohen [Mon, 31 Mar 2014 15:10:33 +0000 (15:10 +0000)]
Merge "Increase delay before dismissing intro screen (issue 13691305)" into ub-now-mister-ugly

10 years agoIncrease delay before dismissing intro screen (issue 13691305)
Adam Cohen [Fri, 28 Mar 2014 22:28:37 +0000 (15:28 -0700)]
Increase delay before dismissing intro screen (issue 13691305)

Change-Id: I0b81d61b922278e0e72c3055086010612687c7d9

10 years agoAdd method to determine if first run activity has been shown (issue 13680732)
Adam Cohen [Fri, 28 Mar 2014 21:22:31 +0000 (14:22 -0700)]
Add method to determine if first run activity has been shown (issue 13680732)

Change-Id: Ia0da4148fd0365c6ae9c3a5a4cff7118959f6382

10 years agoFixed crash when setting wallpaper with built in rotation
Selim Cinek [Thu, 27 Mar 2014 19:35:19 +0000 (20:35 +0100)]
Fixed crash when setting wallpaper with built in rotation

If an image had a built-in rotation, a crash could occur,
when setting it. An example was a panorama image which had
a rotation of 90 degrees.

Change-Id: Iede8226dac3a40f08d39a69162eb388e6aba97ec
Bug: 13507421

10 years agoFixed wallpaper bug where wrong size was taken when cropping
Selim Cinek [Mon, 24 Mar 2014 13:13:20 +0000 (14:13 +0100)]
Fixed wallpaper bug where wrong size was taken when cropping

When cropping, the selected area of the image was incorrectly
cropped to the size of the view instead of the size of the image

Bug: 13617446
Change-Id: I0b40711c04f3d3b5929e7bb037d6cf21d4bb5bcb

10 years agoMerge "Fix missing stack trace on checkItemInfoLocked call" into ub-now-mister-ugly
Jason Monk [Fri, 21 Mar 2014 20:09:54 +0000 (20:09 +0000)]
Merge "Fix missing stack trace on checkItemInfoLocked call" into ub-now-mister-ugly

10 years agoMerge "Adding in-activity intro screen (issue 12905636)" into ub-now-mister-ugly
Adam Cohen [Thu, 20 Mar 2014 22:34:10 +0000 (22:34 +0000)]
Merge "Adding in-activity intro screen (issue 12905636)" into ub-now-mister-ugly

10 years agoFix missing stack trace on checkItemInfoLocked call
Jason Monk [Thu, 20 Mar 2014 19:06:57 +0000 (15:06 -0400)]
Fix missing stack trace on checkItemInfoLocked call

Just put this change into Launcher2, now adding to Launcher3

The call to checkItemInfoLocked from addItemToDatabase was missing a stack
trace so that if the check failed, the stack trace did not contain what
triggered the add.

Change-Id: Ia2e2aae20b16d4adadfe1da53b49e93073fab55c

10 years agoAdding in-activity intro screen (issue 12905636)
Adam Cohen [Fri, 14 Mar 2014 00:03:22 +0000 (17:03 -0700)]
Adding in-activity intro screen (issue 12905636)

Change-Id: Ifb016ca6e5052fd91535b98a39f78569200955a8

10 years agoMerge "Import translations. DO NOT MERGE" into ub-now-mister-ugly
Baligh Uddin [Thu, 20 Mar 2014 18:44:53 +0000 (18:44 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-now-mister-ugly

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 19 Mar 2014 21:00:18 +0000 (14:00 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ie0317b94dd08597383b981fa196391728baa0b09
Auto-generated-cl: translation import

10 years agoFix concurrent drawable usage resulting in native crash
Adrian Roos [Wed, 19 Mar 2014 14:58:14 +0000 (15:58 +0100)]
Fix concurrent drawable usage resulting in native crash

One of widget preview drawables was drawn concurrently from a thread pool,
causing a native Skia crash.

Bug: 12525890
Change-Id: I2dea7b86ba8b32237f40feff225657dcb2b0061b

10 years agoClean up dead, ugly and wrong code in icon and widget preview loading
Adrian Roos [Tue, 18 Mar 2014 22:09:12 +0000 (23:09 +0100)]
Clean up dead, ugly and wrong code in icon and widget preview loading

Removed and fixed serveral instances of dead code and small
bugs that grew in the widget preloading logic, discovered
while chasing a bug.

Bug: 12525890
Change-Id: I22e03eccecc07b73388cfd3c8462d947601c6e54

10 years agoMerge "Add onClickPagedViewIcon to the Launcher." into ub-now-mister-ugly
Mohammadinamul Sheik [Tue, 18 Mar 2014 20:30:51 +0000 (20:30 +0000)]
Merge "Add onClickPagedViewIcon to the Launcher." into ub-now-mister-ugly

10 years agoAdd onClickPagedViewIcon to the Launcher.
Mohammadinamul Sheik [Tue, 18 Mar 2014 18:28:19 +0000 (11:28 -0700)]
Add onClickPagedViewIcon to the Launcher.

Change-Id: I34505ee5c9a6fe6ddd1a9f3134829fe0481e8bc0

10 years agoMerge "Add LauncherProviderChangeListener" into ub-now-mister-ugly
Anjali Koppal [Mon, 17 Mar 2014 23:47:21 +0000 (23:47 +0000)]
Merge "Add LauncherProviderChangeListener" into ub-now-mister-ugly

10 years agoMerge "Add Launcher.onDragStarted" into ub-now-mister-ugly
Anjali Koppal [Mon, 17 Mar 2014 23:22:57 +0000 (23:22 +0000)]
Merge "Add Launcher.onDragStarted" into ub-now-mister-ugly

10 years agoMerge "Make all fields of ItemInfo public." into ub-now-mister-ugly
Anjali Koppal [Mon, 17 Mar 2014 23:13:56 +0000 (23:13 +0000)]
Merge "Make all fields of ItemInfo public." into ub-now-mister-ugly

10 years agoAdd LauncherProviderChangeListener
Anjali Koppal [Thu, 13 Mar 2014 19:14:12 +0000 (12:14 -0700)]
Add LauncherProviderChangeListener

Change-Id: I2333a157c488cd048a860982cc675ed9cec626ae

10 years agoMake all fields of ItemInfo public.
Anjali Koppal [Mon, 17 Mar 2014 16:34:39 +0000 (09:34 -0700)]
Make all fields of ItemInfo public.

Change-Id: Iaf99aa125634a467616eedd0888a0affa08d79bd

10 years agoAdd Launcher.onDragStarted
Anjali Koppal [Tue, 11 Mar 2014 00:04:03 +0000 (17:04 -0700)]
Add Launcher.onDragStarted

Change-Id: Iac59685211905580460d0a0a16d9c7f00c61fac9

10 years agoam f57c1564: (-s ours) Import translations. DO NOT MERGE
Geoff Mendal [Mon, 17 Mar 2014 20:44:43 +0000 (13:44 -0700)]
am f57c1564: (-s ours) Import translations. DO NOT MERGE

* commit 'f57c1564b53eab486a5ac006ac5be2a9e1e33cc8':
  Import translations. DO NOT MERGE

10 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 17 Mar 2014 20:23:36 +0000 (13:23 -0700)]
Import translations. DO NOT MERGE

Change-Id: I6bcf984e6fdb29a2a3b6f449e27bf2da2b7d95b3
Auto-generated-cl: translation import

10 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 17 Mar 2014 20:23:14 +0000 (13:23 -0700)]
Import translations. DO NOT MERGE

Change-Id: I861674b0b1872d2b7117aa38fef99c29b04730a1
Auto-generated-cl: translation import

10 years agoFixed a crash when an image with an odd width/height was selected
Selim Cinek [Fri, 14 Mar 2014 17:19:35 +0000 (18:19 +0100)]
Fixed a crash when an image with an odd width/height was selected

Due to an internal rounding in the renderer, the calculations
for the cropping area could be slightly offset, getting out
of the image boundaries. I sanitized the rect by ensuring they
are inside the image.

Bug: 12174629
Change-Id: I5e08c83fe3e9cd48254fa6c8ba9cef77ab8a51a6

10 years agoMerge "also backup icon assets for shortcuts." into ub-now-mister-ugly
Chris Wren [Thu, 13 Mar 2014 20:20:01 +0000 (20:20 +0000)]
Merge "also backup icon assets for shortcuts." into ub-now-mister-ugly

10 years agoam 441874b1: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Thu, 13 Mar 2014 16:47:59 +0000 (09:47 -0700)]
am 441874b1: (-s ours) Import translations. DO NOT MERGE

* commit '441874b19d79db51ea3488983f13b6e11b0cf796':
  Import translations. DO NOT MERGE

10 years agoMerge "Import translations. DO NOT MERGE" into ub-now-mister-ugly
Baligh Uddin [Thu, 13 Mar 2014 16:45:08 +0000 (16:45 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-now-mister-ugly

10 years agoalso backup icon assets for shortcuts.
Chris Wren [Thu, 13 Mar 2014 15:41:59 +0000 (11:41 -0400)]
also backup icon assets for shortcuts.

Bug: 13449249
Change-Id: I8c5a9e907f668e105c2786b80f0c8e62bd5f8344

10 years agoAdd a setter/getter for Launcher.mAllAppsButton.
Anjali Koppal [Tue, 11 Mar 2014 03:34:39 +0000 (20:34 -0700)]
Add a setter/getter for Launcher.mAllAppsButton.

Also, handle clicks on the all apps button by using onClick() method in
Launcher instead of directly calling onClickAllAppsButton in Hotseat.java

Bug 12553852
Change-Id: I261c27d3e964bbb1f52c2ab610997defd99a59bd

10 years agoMerge "Make FolderIcon.getFolder() public and add Folder.getContent()." into ub-now...
Anjali Koppal [Thu, 13 Mar 2014 00:21:51 +0000 (00:21 +0000)]
Merge "Make FolderIcon.getFolder() public and add Folder.getContent()." into ub-now-mister-ugly

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 12 Mar 2014 19:44:33 +0000 (12:44 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ie89bb39579db28c38425b05d1fa62cbcbf77696f
Auto-generated-cl: translation import

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 12 Mar 2014 19:44:12 +0000 (12:44 -0700)]
Import translations. DO NOT MERGE

Change-Id: I49d96e762bcf0c738d44b46faf5e8db20d005db5
Auto-generated-cl: translation import

10 years agoenable launcher restore by default
Chris Wren [Tue, 11 Mar 2014 18:35:46 +0000 (14:35 -0400)]
enable launcher restore by default

shortcuts are wroking, widgets are todo

Bug: 10778992
Change-Id: I938b6d6ba5b68769628337955a17badaece1433f

10 years agoMerge "update promise icon status" into ub-now-mister-ugly
Chris Wren [Tue, 11 Mar 2014 17:48:41 +0000 (17:48 +0000)]
Merge "update promise icon status" into ub-now-mister-ugly

10 years agoupdate promise icon status
Chris Wren [Fri, 14 Feb 2014 21:59:24 +0000 (16:59 -0500)]
update promise icon status

also fix a crash in LauncherModel.DEBUG_LOADERS

Bug: 10778992
Change-Id: Iafc28c1e0c2f2a1283783a7ce27e181634b62993

10 years agoMake FolderIcon.getFolder() public and add Folder.getContent().
Anjali Koppal [Tue, 11 Mar 2014 02:18:43 +0000 (19:18 -0700)]
Make FolderIcon.getFolder() public and add Folder.getContent().

Change-Id: I21ad8b8178acbde2759cd2dfcd015d91e00b7505

10 years agoMerge "Add support for uri favorites and resolve groups" into ub-now-mister-ugly
Jason Monk [Mon, 10 Mar 2014 18:29:37 +0000 (18:29 +0000)]
Merge "Add support for uri favorites and resolve groups" into ub-now-mister-ugly

10 years agoam eac828e0: Merge "Don\'t lose icons when migrating from different-sized hotseats...
Dan Sandler [Fri, 7 Mar 2014 21:09:03 +0000 (13:09 -0800)]
am eac828e0: Merge "Don\'t lose icons when migrating from different-sized hotseats." into ub-now-lunchbox

* commit 'eac828e0fec7085d0d6b670d578eaaf36ae2e3ca':
  Don't lose icons when migrating from different-sized hotseats.

10 years agoMerge "Don't lose icons when migrating from different-sized hotseats." into ub-now...
Dan Sandler [Fri, 7 Mar 2014 20:15:17 +0000 (20:15 +0000)]
Merge "Don't lose icons when migrating from different-sized hotseats." into ub-now-lunchbox

10 years agoAdd support for uri favorites and resolve groups
Jason Monk [Mon, 3 Mar 2014 21:11:30 +0000 (16:11 -0500)]
Add support for uri favorites and resolve groups

Adds support for new types in default_workspace xml files.

Adds support to favorite that attempts to resolve an intent specified
by URI. If a logical choice can be found from the resolve, it adds the
shortcut.

Adds support for a resolve, which contains several favorites and attempts
to add the shortcuts until one is successful.

Bug: 10547358
Change-Id: Ia30341e77e7d4a0bd4a4f4e6a3d9ce2a48a46237

10 years agoDisable wallpaper in -1 space in GEL and hack around window animations
Selim Cinek [Thu, 16 Jan 2014 18:38:38 +0000 (10:38 -0800)]
Disable wallpaper in -1 space in GEL and hack around window animations

Bug: 12978354

Change-Id: I8b5602ae434a9151b40d41defb891db1ad78ce81

10 years agoDon't lose icons when migrating from different-sized hotseats.
Dan Sandler [Fri, 7 Mar 2014 04:48:04 +0000 (23:48 -0500)]
Don't lose icons when migrating from different-sized hotseats.

Launcher2 on sw720dp devices had 8 hotseat slots; Launcher3
has only 6 on those same devices. When importing the old
hotseat, the empty slot (so technically there were 9)
occupied by the all apps button didn't line up with the new
all apps button, causing a hole on the hotseat. Furthermore,
the icon in old position 3 was clobbered by the new all apps
icon:

    0 1 2 3 (#) 4 5 6 7 ==> 0 1 2 (:) _ 4 5

In this CL we introduce a separate sort-and-place step for
hotseat icons so that any icon colliding with the new
all-apps slot can be moved to the right to find the next
nearest open slot. This works well for the 8->6 case; it
will probably do something reasonable, if not ideal, for
other grid migration scenarios.

But those are not covered by this bug.

Bug: 13015468
Change-Id: I7edb3f27addc78ad02bbfcd1c39175ca56220007

10 years agoam ac8180ac: Merge "Revert "Fix issue of extra blank screen after uninstall (issue...
Adam Cohen [Fri, 7 Mar 2014 00:42:28 +0000 (16:42 -0800)]
am ac8180ac: Merge "Revert "Fix issue of extra blank screen after uninstall (issue 12372657)"" into ub-now-lunchbox

* commit 'ac8180ac7856e4739c147bee3f419b19573c3dae':
  Revert "Fix issue of extra blank screen after uninstall (issue 12372657)"

10 years agoMerge "Revert "Fix issue of extra blank screen after uninstall (issue 12372657)"...
Adam Cohen [Fri, 7 Mar 2014 00:39:22 +0000 (00:39 +0000)]
Merge "Revert "Fix issue of extra blank screen after uninstall (issue 12372657)"" into ub-now-lunchbox

10 years agoRevert "Fix issue of extra blank screen after uninstall (issue 12372657)"
Adam Cohen [Thu, 6 Mar 2014 22:30:35 +0000 (22:30 +0000)]
Revert "Fix issue of extra blank screen after uninstall (issue 12372657)"

This reverts commit b2603e3d3a32c90ca13458409561d025afdce399.

Change-Id: I81f8c5a4e3861b936ef9e1fbdb339c12d5aefc70

10 years agoam c6c03671: Disabling cling when the user moves the folder before launching it....
Winson Chung [Thu, 6 Mar 2014 19:50:24 +0000 (11:50 -0800)]
am c6c03671: Disabling cling when the user moves the folder before launching it. (Bug 12963868)

* commit 'c6c0367111e587c7f19cb8185dcda550aa94a848':
  Disabling cling when the user moves the folder before launching it. (Bug 12963868)

10 years agoProperly releasing ContentProviderClient after LauncherModel check.
Winson Chung [Thu, 6 Mar 2014 18:39:43 +0000 (10:39 -0800)]
Properly releasing ContentProviderClient after LauncherModel check.

Change-Id: I0823ada46661b5ba0c36a0bb9f792969a1d04561

10 years agoDisabling cling when the user moves the folder before launching it. (Bug 12963868)
Winson Chung [Thu, 6 Mar 2014 18:12:02 +0000 (10:12 -0800)]
Disabling cling when the user moves the folder before launching it. (Bug 12963868)

Change-Id: Iddcdf655c78b7240be123bd549f3d45794d02c83

10 years agoMerge "Make classes that extend ItemInfo public." into ub-now-mister-ugly
Anjali Koppal [Wed, 5 Mar 2014 22:19:45 +0000 (22:19 +0000)]
Merge "Make classes that extend ItemInfo public." into ub-now-mister-ugly

10 years agoCatching security exception when activity destroyed
Selim Cinek [Tue, 4 Mar 2014 20:29:40 +0000 (21:29 +0100)]
Catching security exception when activity destroyed

Fixed a bug where an asynctask tried to load an image
even after the activity was destroyed leading to a
security exception since the permission could not be granted anymore.

Bug: 12760267
Change-Id: I76ee2c0ab268b0ab4bde606706046caf0e39f1e9

10 years agoMake classes that extend ItemInfo public.
Anjali Koppal [Wed, 5 Mar 2014 01:16:11 +0000 (17:16 -0800)]
Make classes that extend ItemInfo public.

Also follow up on changes in ag/418520, adding Views to those method
params.

Change-Id: I93e0a3b30d10b969d1903a2f227f6744d709e89a

10 years agoam 0c255a94: Merge "Changed behaviour of the wallpaper picker." into ub-now-lunchbox
Selim Cinek [Tue, 4 Mar 2014 09:50:44 +0000 (01:50 -0800)]
am 0c255a94: Merge "Changed behaviour of the wallpaper picker." into ub-now-lunchbox

* commit '0c255a946788499d7f169429890d5a423426593b':
  Changed behaviour of the wallpaper picker.

10 years agoMerge "Changed behaviour of the wallpaper picker." into ub-now-lunchbox
Selim Cinek [Tue, 4 Mar 2014 09:48:31 +0000 (09:48 +0000)]
Merge "Changed behaviour of the wallpaper picker." into ub-now-lunchbox

10 years agoam 7da05a50: Merge "Fix issue of extra blank screen after uninstall (issue 12372657...
Adam Cohen [Tue, 4 Mar 2014 00:32:59 +0000 (16:32 -0800)]
am 7da05a50: Merge "Fix issue of extra blank screen after uninstall (issue 12372657)" into ub-now-lunchbox

* commit '7da05a506cdc651a77df918ec20d6aa881ca51b2':
  Fix issue of extra blank screen after uninstall (issue 12372657)

10 years agoMerge "Fix issue of extra blank screen after uninstall (issue 12372657)" into ub...
Adam Cohen [Tue, 4 Mar 2014 00:14:38 +0000 (00:14 +0000)]
Merge "Fix issue of extra blank screen after uninstall (issue 12372657)" into ub-now-lunchbox

10 years agoFix issue of extra blank screen after uninstall (issue 12372657)
Adam Cohen [Tue, 4 Mar 2014 00:11:20 +0000 (16:11 -0800)]
Fix issue of extra blank screen after uninstall (issue 12372657)

Change-Id: I0326914821f68d789cb26767518ead1292d87db0

10 years agoam 65e43032: Fix build
Adam Cohen [Mon, 3 Mar 2014 19:39:35 +0000 (11:39 -0800)]
am 65e43032: Fix build

* commit '65e43032c8962765a3e89826d4312042a03ee3be':
  Fix build

10 years agoFix build
Adam Cohen [Mon, 3 Mar 2014 19:37:21 +0000 (11:37 -0800)]
Fix build

Change-Id: I17944c557970ed35e1bc67f6f3e3372ff88651ad

10 years agoam 474a3573: Merge "Avoid stripping empty screens if the workspace is still loading...
Adam Cohen [Mon, 3 Mar 2014 19:19:36 +0000 (11:19 -0800)]
am 474a3573: Merge "Avoid stripping empty screens if the workspace is still loading (issue 12523285)" into ub-now-lunchbox

* commit '474a35735ae758757dfd161a5c045d027bb9e033':
  Avoid stripping empty screens if the workspace is still loading (issue 12523285)

10 years agoMerge "Avoid stripping empty screens if the workspace is still loading (issue 1252328...
Adam Cohen [Mon, 3 Mar 2014 19:07:23 +0000 (19:07 +0000)]
Merge "Avoid stripping empty screens if the workspace is still loading (issue 12523285)" into ub-now-lunchbox

10 years agoChanged behaviour of the wallpaper picker.
Selim Cinek [Fri, 28 Feb 2014 16:18:59 +0000 (17:18 +0100)]
Changed behaviour of the wallpaper picker.

When opening the picker, the currently chosen wallpaper is
shown in the background.
In this change also the nullpointer was fixed when deleting
the currently selected wallpaper and setting it, because we
revert to the old wallpaper in that case.
When going into the same live wallpaper than the currently
selected we are going back to home if the user sets it or
goes back now, in order for the user not to loose state.
The real fix for this will be done later when the following
bug will be fixed: b/13241760

Bug: 12063773
Bug: 13219612
Change-Id: I7c6abb25755eca99c3255278e0884d1ff4749b55

10 years agoam 8657bac9: Merge "Guard against null default wallpaper" into ub-now-lunchbox
Christoph Studer [Mon, 3 Mar 2014 16:04:24 +0000 (08:04 -0800)]
am 8657bac9: Merge "Guard against null default wallpaper" into ub-now-lunchbox

* commit '8657bac9b55a8db9ce587ea896a03325968498ea':
  Guard against null default wallpaper

10 years agoMerge "Guard against null default wallpaper" into ub-now-lunchbox
Christoph Studer [Mon, 3 Mar 2014 16:00:05 +0000 (16:00 +0000)]
Merge "Guard against null default wallpaper" into ub-now-lunchbox

10 years agoGuard against null default wallpaper
Christoph Studer [Fri, 28 Feb 2014 14:57:18 +0000 (15:57 +0100)]
Guard against null default wallpaper

Deal with WallpaperManager.getBuiltInDrawable() returning null.

Bug: 13109487
Change-Id: Ib5665a0eb947e9784cdcd0e8dfab1a01b4deca82

10 years agoAvoid stripping empty screens if the workspace is still loading (issue 12523285)
Adam Cohen [Sat, 1 Mar 2014 20:12:59 +0000 (12:12 -0800)]
Avoid stripping empty screens if the workspace is still loading (issue 12523285)

-> This appears to be what may be causing data loss in some users during update.
   A certain (seemingly) rare combination of life-cycle events and package events
   seems to be the culprit (potentially why it's seen at update time).

Change-Id: Iea4f8aef012ba80b7ba568e0df264edb9284efbe

10 years agoMerge "Make launcher implement PageSwitchListener." into ub-now-mister-ugly
Anjali Koppal [Fri, 28 Feb 2014 22:32:05 +0000 (22:32 +0000)]
Merge "Make launcher implement PageSwitchListener." into ub-now-mister-ugly

10 years agoMake launcher implement PageSwitchListener.
Anjali Koppal [Fri, 28 Feb 2014 21:33:27 +0000 (13:33 -0800)]
Make launcher implement PageSwitchListener.

Change-Id: Ief4b0cb4700aeace56a3c923a0a669a626c6506b

10 years agoam 3aa28319: Changed inconsistency when selecting default wallpaper, where it did...
Selim Cinek [Fri, 28 Feb 2014 17:14:10 +0000 (09:14 -0800)]
am 3aa28319: Changed inconsistency when selecting default wallpaper, where it did not go back to home.

* commit '3aa28319ceca347dfd4958ca95b94652bb8e2a3d':
  Changed inconsistency when selecting default wallpaper, where it did not go back to home.

10 years agoChanged inconsistency when selecting default wallpaper, where it did not go back...
Selim Cinek [Fri, 28 Feb 2014 17:00:42 +0000 (18:00 +0100)]
Changed inconsistency when selecting default wallpaper, where it did not go back to home.

Bug: 13219313
Change-Id: I4961c6724a1550dbae126f97e45dc166cbe9a565

10 years agoam 4f462f4a: Merge "Revert "Disabled the wallpaper when completely in -1 Now space...
Jorim Jaggi [Fri, 28 Feb 2014 14:55:56 +0000 (06:55 -0800)]
am 4f462f4a: Merge "Revert "Disabled the wallpaper when completely in -1 Now space."" into ub-now-lunchbox

* commit '4f462f4a8b9fc6897d9fab9ad31c06e0b8f79373':
  Revert "Disabled the wallpaper when completely in -1 Now space."

10 years agoMerge "Revert "Disabled the wallpaper when completely in -1 Now space."" into ub...
Jorim Jaggi [Fri, 28 Feb 2014 14:52:43 +0000 (14:52 +0000)]
Merge "Revert "Disabled the wallpaper when completely in -1 Now space."" into ub-now-lunchbox

10 years agoam 71144266: skip backup if launcher is in a bad state
Chris Wren [Thu, 27 Feb 2014 20:57:07 +0000 (12:57 -0800)]
am 71144266: skip backup if launcher is in a bad state

* commit '7114426665c21a11464147a8bb5e094b7949db42':
  skip backup if launcher is in a bad state

10 years agoskip backup if launcher is in a bad state
Chris Wren [Thu, 27 Feb 2014 20:49:39 +0000 (15:49 -0500)]
skip backup if launcher is in a bad state

Bug: 13153542
Change-Id: I4312ebd200e8e652ef841f54301981c2a486b726