OSDN Git Service

android-x86/packages-apps-Launcher3.git
10 years agoam c2a2c623: Merge "Don\'t clear flags in startActivity" into ub-now-nova
Kenny Guy [Tue, 13 May 2014 19:37:59 +0000 (19:37 +0000)]
am c2a2c623: Merge "Don\'t clear flags in startActivity" into ub-now-nova

* commit 'c2a2c6238d7bc337f047880166181794b2b9e520':
  Don't clear flags in startActivity

10 years agoam 56924a82: (-s ours) Merge "Import translations. DO NOT MERGE" into ub-now-nova
Baligh Uddin [Tue, 13 May 2014 19:37:52 +0000 (19:37 +0000)]
am 56924a82: (-s ours) Merge "Import translations. DO NOT MERGE" into ub-now-nova

* commit '56924a822d3e96a4ef9038f1f34750c216c6e438':
  Import translations. DO NOT MERGE

10 years agoam 418dcb88: Merge "check for long and short component names." into ub-now-nova
Chris Wren [Tue, 13 May 2014 19:17:28 +0000 (19:17 +0000)]
am 418dcb88: Merge "check for long and short component names." into ub-now-nova

* commit '418dcb881a62162b2834321d362c2f8f01962493':
  check for long and short component names.

10 years agoam e0aaa0d3: Remove antiquated way of determining CellInfo during long press
Adam Cohen [Tue, 13 May 2014 19:17:28 +0000 (19:17 +0000)]
am e0aaa0d3: Remove antiquated way of determining CellInfo during long press

* commit 'e0aaa0d3de0eedf5501fee762e0d8279a9e3bc3c':
  Remove antiquated way of determining CellInfo during long press

10 years agoMerge "Don't clear flags in startActivity" into ub-now-nova
Kenny Guy [Tue, 13 May 2014 16:28:39 +0000 (16:28 +0000)]
Merge "Don't clear flags in startActivity" into ub-now-nova

10 years agoMerge "Import translations. DO NOT MERGE" into ub-now-nova
Baligh Uddin [Tue, 13 May 2014 15:53:16 +0000 (15:53 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-now-nova

10 years agoDon't clear flags in startActivity
Kenny Guy [Tue, 13 May 2014 14:58:58 +0000 (15:58 +0100)]
Don't clear flags in startActivity

Move setting flags for starting apps back to
AppInfo from Launcher.startActivity.

Bug: 14839470
Change-Id: I1dc928e9ebce9ce4d411678f94b5ca4284c1255f

10 years agoMerge "check for long and short component names." into ub-now-nova
Chris Wren [Mon, 12 May 2014 20:46:38 +0000 (20:46 +0000)]
Merge "check for long and short component names." into ub-now-nova

10 years agocheck for long and short component names.
Chris Wren [Mon, 12 May 2014 20:07:25 +0000 (16:07 -0400)]
check for long and short component names.

Bug: 14650346
Change-Id: Ic2195a4f60b63f8ec85c42284e0fd58d6f473a9f

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 12 May 2014 19:57:32 +0000 (12:57 -0700)]
Import translations. DO NOT MERGE

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

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 12 May 2014 19:57:03 +0000 (12:57 -0700)]
Import translations. DO NOT MERGE

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

10 years agoRemove antiquated way of determining CellInfo during long press
Adam Cohen [Mon, 12 May 2014 19:44:22 +0000 (12:44 -0700)]
Remove antiquated way of determining CellInfo during long press

-> allows us to eliminate cast of getTag() to CellInfo to fix
   issue 13587508

Change-Id: Id2277206765621f664b758cce800bf8423231b1e

10 years agoam a1f26fdb: Merge "Fix missing space in select statement in backup helper." into...
Kenny Guy [Mon, 12 May 2014 11:53:12 +0000 (11:53 +0000)]
am a1f26fdb: Merge "Fix missing space in select statement in backup helper." into ub-now-nova

* commit 'a1f26fdb50862abe55f648925d0b07dfd28d8208':
  Fix missing space in select statement in backup helper.

10 years agoMerge "Fix missing space in select statement in backup helper." into ub-now-nova
Kenny Guy [Mon, 12 May 2014 11:50:19 +0000 (11:50 +0000)]
Merge "Fix missing space in select statement in backup helper." into ub-now-nova

10 years agoam e1c92c4a: Remove debug println
Adam Cohen [Fri, 9 May 2014 23:51:17 +0000 (23:51 +0000)]
am e1c92c4a: Remove debug println

* commit 'e1c92c4afa7df98c13c3f57986f6f44ffe8ce952':
  Remove debug println

10 years agoRemove debug println
Adam Cohen [Fri, 9 May 2014 23:40:36 +0000 (16:40 -0700)]
Remove debug println

Change-Id: I8bf8f948394ed2ecbcb3da3761506c9aa5752494

10 years agoam 689ff16e: Cleanup pattern for removing the extra empty screen after drag operations
Adam Cohen [Fri, 9 May 2014 22:27:23 +0000 (22:27 +0000)]
am 689ff16e: Cleanup pattern for removing the extra empty screen after drag operations

* commit '689ff16ea27fb7c22c247aaf4f42ffe42fede253':
  Cleanup pattern for removing the extra empty screen after drag operations

10 years agoCleanup pattern for removing the extra empty screen after drag operations
Adam Cohen [Fri, 9 May 2014 00:27:56 +0000 (17:27 -0700)]
Cleanup pattern for removing the extra empty screen after drag operations

-> Fixes a couple bugs: issue 12179908, issue 12372657, issue 13287732

Change-Id: I24b5abe8e432ea331eeb77407120a8cec28f6376

10 years agoFix missing space in select statement in backup helper.
Kenny Guy [Fri, 9 May 2014 15:44:18 +0000 (16:44 +0100)]
Fix missing space in select statement in backup helper.

Also check when backing up favourites that they are
for current user.

Change-Id: Ic9d496c30612ee531fa84a22f852b3012df00b4f

10 years agoam 1317e2dd: Fix bug with user of shortcut not being remembered over restart.
Kenny Guy [Fri, 9 May 2014 11:13:43 +0000 (11:13 +0000)]
am 1317e2dd: Fix bug with user of shortcut not being remembered over restart.

* commit '1317e2dd4a2fb097d1e54759536d515fdeca2c3e':
  Fix bug with user of shortcut not being remembered over restart.

10 years agoFix bug with user of shortcut not being remembered over restart.
Kenny Guy [Thu, 8 May 2014 17:52:50 +0000 (18:52 +0100)]
Fix bug with user of shortcut not being remembered over restart.

Intent extra was being set as int rather than long so being
missed.
Also use LauncherApps if neccessary in case where launching
without launch animation.
Unregister for package notifications when terminating.

Bug: 14636181
Change-Id: I1575f6eed806446782092dffe8c01afe7b6507fe

10 years agoam 2e7db962: Merge "Dump open files if we run out of file descriptors" into ub-now...
Adrian Roos [Wed, 7 May 2014 11:48:38 +0000 (11:48 +0000)]
am 2e7db962: Merge "Dump open files if we run out of file descriptors" into ub-now-nova

* commit '2e7db9627875c107e692725b014784502e8b23a3':
  Dump open files if we run out of file descriptors

10 years agoMerge "Dump open files if we run out of file descriptors" into ub-now-nova
Adrian Roos [Wed, 7 May 2014 11:44:58 +0000 (11:44 +0000)]
Merge "Dump open files if we run out of file descriptors" into ub-now-nova

10 years agoam 627d9467: Merge "Add setters for mWorkspaceLoading and mWaitingForResult." into...
Anjali Koppal [Mon, 5 May 2014 23:29:50 +0000 (23:29 +0000)]
am 627d9467: Merge "Add setters for mWorkspaceLoading and mWaitingForResult." into ub-now-nova

* commit '627d9467d3f797d08c864cdf5a0785d0a57b8e61':
  Add setters for mWorkspaceLoading and mWaitingForResult.

10 years agoMerge "Add setters for mWorkspaceLoading and mWaitingForResult." into ub-now-nova
Anjali Koppal [Mon, 5 May 2014 23:28:32 +0000 (23:28 +0000)]
Merge "Add setters for mWorkspaceLoading and mWaitingForResult." into ub-now-nova

10 years agoAdd setters for mWorkspaceLoading and mWaitingForResult.
Anjali Koppal [Fri, 2 May 2014 01:26:37 +0000 (18:26 -0700)]
Add setters for mWorkspaceLoading and mWaitingForResult.

Change-Id: Id542fa6467d13641127cec7150b8f50a9e088657

10 years agoam 2c4fad14: Merge "Watch for profile events and reload" into ub-now-nova
Amith Yamasani [Sat, 3 May 2014 04:32:18 +0000 (04:32 +0000)]
am 2c4fad14: Merge "Watch for profile events and reload" into ub-now-nova

* commit '2c4fad14fca7698fb197be1f20632e0ff70b5163':
  Watch for profile events and reload

10 years agoMerge "Watch for profile events and reload" into ub-now-nova
Amith Yamasani [Sat, 3 May 2014 04:22:40 +0000 (04:22 +0000)]
Merge "Watch for profile events and reload" into ub-now-nova

10 years agoam 5ac58cab: am e697a9a0: Move Partner.java into the Wallpaper directory.
Sameer Padala [Fri, 2 May 2014 22:53:06 +0000 (22:53 +0000)]
am 5ac58cab: am e697a9a0: Move Partner.java into the Wallpaper directory.

* commit '5ac58cab3ec87e8823de8722239d41015a70a2cf':
  Move Partner.java into the Wallpaper directory.

10 years agoam e697a9a0: Move Partner.java into the Wallpaper directory.
Sameer Padala [Fri, 2 May 2014 22:51:11 +0000 (22:51 +0000)]
am e697a9a0: Move Partner.java into the Wallpaper directory.

* commit 'e697a9a042509b3872b164dc02d0a465d5b917c2':
  Move Partner.java into the Wallpaper directory.

10 years agoMove Partner.java into the Wallpaper directory.
Sameer Padala [Fri, 2 May 2014 22:01:32 +0000 (15:01 -0700)]
Move Partner.java into the Wallpaper directory.

WallpaperPicker depends on this and have this class in Launcher3 would cause a
circular dependency in google3

Change-Id: Ia582bcb988a4f6375904660546b1bc1744d25238

10 years agoWatch for profile events and reload
Amith Yamasani [Fri, 2 May 2014 20:47:11 +0000 (13:47 -0700)]
Watch for profile events and reload

Reload the workspace and all-apps list when a managed profile
is added or removed.

Bug: 14484845
Change-Id: I69210c22e568f2a561266ef2846ddf8f6d659070

10 years agoam ed13187a: Launcher3 multi-profile support
Kenny Guy [Fri, 2 May 2014 16:25:15 +0000 (16:25 +0000)]
am ed13187a: Launcher3 multi-profile support

* commit 'ed13187a745866483139e2878037e1f8427ce567':
  Launcher3 multi-profile support

10 years agoLauncher3 multi-profile support
Kenny Guy [Wed, 30 Apr 2014 02:02:21 +0000 (03:02 +0100)]
Launcher3 multi-profile support

Use LauncherApps API and badging APIs instead of PackageManager.
With compatability layer that uses PackageManager pre L.

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 and non-application shortcuts are only supported for the
current profile. Widgets from the managed profile are not available.

Change-Id: I5f396b1bf7f91ad91a5710ea4a0fd14573972eb9

10 years agoam 70c3d1da: (-s ours) am c29121ba: (-s ours) am 0961a545: (-s ours) Import translati...
Baligh Uddin [Tue, 29 Apr 2014 21:18:05 +0000 (21:18 +0000)]
am 70c3d1da: (-s ours) am c29121ba: (-s ours) am 0961a545: (-s ours) Import translations. DO NOT MERGE

* commit '70c3d1da65fcdaf32b860a5582b211c1f0ae8718':
  Import translations. DO NOT MERGE

10 years agoam c29121ba: (-s ours) am 0961a545: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Tue, 29 Apr 2014 21:15:35 +0000 (21:15 +0000)]
am c29121ba: (-s ours) am 0961a545: (-s ours) Import translations. DO NOT MERGE

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

10 years agoDump open files if we run out of file descriptors
Adrian Roos [Mon, 28 Apr 2014 16:26:38 +0000 (18:26 +0200)]
Dump open files if we run out of file descriptors

Bug: 12782843
Change-Id: I7254c2cb6c3f721a06b9301d674c9560f86dfde6

10 years agoam 0961a545: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Tue, 29 Apr 2014 21:12:00 +0000 (21:12 +0000)]
am 0961a545: (-s ours) Import translations. DO NOT MERGE

* commit '0961a545d6237786162c8f2c82f348ad50db2e64':
  Import translations. DO NOT MERGE

10 years agoam 7c023c4a: (-s ours) Merge "Import translations. DO NOT MERGE" into ub-now-nova
Baligh Uddin [Tue, 29 Apr 2014 21:11:23 +0000 (21:11 +0000)]
am 7c023c4a: (-s ours) Merge "Import translations. DO NOT MERGE" into ub-now-nova

* commit '7c023c4ae4ea52824e81cc771dcc2c2013722bf6':
  Import translations. DO NOT MERGE

10 years agoMerge "Import translations. DO NOT MERGE" into ub-now-master
Baligh Uddin [Tue, 29 Apr 2014 21:08:17 +0000 (21:08 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-now-master

10 years agoMerge "Import translations. DO NOT MERGE" into ub-now-nova
Baligh Uddin [Tue, 29 Apr 2014 21:08:13 +0000 (21:08 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-now-nova

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 28 Apr 2014 20:12:37 +0000 (13:12 -0700)]
Import translations. DO NOT MERGE

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

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 28 Apr 2014 20:12:10 +0000 (13:12 -0700)]
Import translations. DO NOT MERGE

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

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 28 Apr 2014 20:11:42 +0000 (13:11 -0700)]
Import translations. DO NOT MERGE

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

10 years agoam 8f3f6830: Sanity check screenId before persisting ItemInfo.
Adrian Roos [Mon, 28 Apr 2014 16:20:42 +0000 (16:20 +0000)]
am 8f3f6830: Sanity check screenId before persisting ItemInfo.

* commit '8f3f6830f2693647034e8df974d67f6b50d01602':
  Sanity check screenId before persisting ItemInfo.

10 years agoSanity check screenId before persisting ItemInfo.
Adrian Roos [Mon, 28 Apr 2014 13:45:52 +0000 (15:45 +0200)]
Sanity check screenId before persisting ItemInfo.

Bug: 13447571
Change-Id: I014dcf1eb313c2312953716fb53e542caaeb285b

10 years agoam 4ff73887: Don\'t close folder when adding something to it
Jason Monk [Thu, 24 Apr 2014 22:57:35 +0000 (22:57 +0000)]
am 4ff73887: Don\'t close folder when adding something to it

* commit '4ff73887f28b831e8da38f2c417d55350ad88956':
  Don't close folder when adding something to it

10 years agoDon't close folder when adding something to it
Jason Monk [Thu, 24 Apr 2014 20:48:07 +0000 (16:48 -0400)]
Don't close folder when adding something to it

Remove the call that closes a folder when something from All Apps
is added to it.

Bug: 14273032
Change-Id: Iac970a5c997fd254eae006be75cfbba9826f47af

10 years agoam 031d0ff4: Merge "Fix accessibility announce on apps page" into ub-now-nova
Jason Monk [Thu, 24 Apr 2014 16:36:38 +0000 (16:36 +0000)]
am 031d0ff4: Merge "Fix accessibility announce on apps page" into ub-now-nova

* commit '031d0ff4ad4baeb548c4272a08af4e8844cb5fbe':
  Fix accessibility announce on apps page

10 years agoMerge "Fix accessibility announce on apps page" into ub-now-nova
Jason Monk [Thu, 24 Apr 2014 16:33:06 +0000 (16:33 +0000)]
Merge "Fix accessibility announce on apps page" into ub-now-nova

10 years agoam 94904606: (-s ours) am 0f260324: (-s ours) am 839ab5f2: (-s ours) Import translati...
Baligh Uddin [Thu, 24 Apr 2014 14:45:17 +0000 (14:45 +0000)]
am 94904606: (-s ours) am 0f260324: (-s ours) am 839ab5f2: (-s ours) Import translations. DO NOT MERGE

* commit '94904606f6961816429fa4f5a15ac3ba3785a4f8':
  Import translations. DO NOT MERGE

10 years agoam 0f260324: (-s ours) am 839ab5f2: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Thu, 24 Apr 2014 14:43:17 +0000 (14:43 +0000)]
am 0f260324: (-s ours) am 839ab5f2: (-s ours) Import translations. DO NOT MERGE

* commit '0f260324a9cee5122d67096c1cd281979d21b712':
  Import translations. DO NOT MERGE

10 years agoam 839ab5f2: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Thu, 24 Apr 2014 14:41:12 +0000 (14:41 +0000)]
am 839ab5f2: (-s ours) Import translations. DO NOT MERGE

* commit '839ab5f2596444fb0a2b1b1f23a7b2598ba90ba7':
  Import translations. DO NOT MERGE

10 years agoam 6ecd8e88: (-s ours) Merge "Import translations. DO NOT MERGE" into ub-now-nova
Baligh Uddin [Thu, 24 Apr 2014 14:40:56 +0000 (14:40 +0000)]
am 6ecd8e88: (-s ours) Merge "Import translations. DO NOT MERGE" into ub-now-nova

* commit '6ecd8e883f6b25f5f1b7799fa6c75551e5788d61':
  Import translations. DO NOT MERGE

10 years agoMerge "Import translations. DO NOT MERGE" into ub-now-master
Baligh Uddin [Thu, 24 Apr 2014 14:38:32 +0000 (14:38 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-now-master

10 years agoMerge "Import translations. DO NOT MERGE" into ub-now-nova
Baligh Uddin [Thu, 24 Apr 2014 14:38:26 +0000 (14:38 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-now-nova

10 years agoFix accessibility announce on apps page
Jason Monk [Thu, 24 Apr 2014 14:13:05 +0000 (10:13 -0400)]
Fix accessibility announce on apps page

Stops the workspace from announcing incorrectly while the apps
page is open, also makes the apps announce which page on opening.

Bug: 13006306
Change-Id: I723011fc55c24b66604a24b16c17bac4f5653f84

10 years agoam 1813e018: am bc0a4064: Avoid wrapping cling titles on small screens.
Jeff Sharkey [Thu, 24 Apr 2014 01:26:35 +0000 (01:26 +0000)]
am 1813e018: am bc0a4064: Avoid wrapping cling titles on small screens.

* commit '1813e018b0ec272cf54c4744a84570594f415147':
  Avoid wrapping cling titles on small screens.

10 years agoam bc0a4064: Avoid wrapping cling titles on small screens.
Jeff Sharkey [Thu, 24 Apr 2014 01:07:42 +0000 (01:07 +0000)]
am bc0a4064: Avoid wrapping cling titles on small screens.

* commit 'bc0a40647bedd5f80512dc553b8e3bdab1ccb705':
  Avoid wrapping cling titles on small screens.

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 23 Apr 2014 22:01:56 +0000 (15:01 -0700)]
Import translations. DO NOT MERGE

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

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 23 Apr 2014 22:01:32 +0000 (15:01 -0700)]
Import translations. DO NOT MERGE

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

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 23 Apr 2014 22:01:06 +0000 (15:01 -0700)]
Import translations. DO NOT MERGE

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

10 years agoAvoid wrapping cling titles on small screens.
Jeff Sharkey [Wed, 23 Apr 2014 21:45:25 +0000 (14:45 -0700)]
Avoid wrapping cling titles on small screens.

Only allow font size bump on large-screen English devices.

Bug: 13340779
Change-Id: I21e10bd21b30803386fdb62b87b0fbdf8efd6731

10 years agoam 490d6941: Merge "Fix long press after already moving off icon" into ub-now-nova
Jason Monk [Wed, 23 Apr 2014 18:58:40 +0000 (18:58 +0000)]
am 490d6941: Merge "Fix long press after already moving off icon" into ub-now-nova

* commit '490d6941fa6b835409c7f8d4561fa4c3c9652cbe':
  Fix long press after already moving off icon

10 years agoMerge "Fix long press after already moving off icon" into ub-now-nova
Jason Monk [Wed, 23 Apr 2014 18:55:47 +0000 (18:55 +0000)]
Merge "Fix long press after already moving off icon" into ub-now-nova

10 years agoam 16f64554: Merge "Second try removing orphaned items from the database" into ub...
Adam Cohen [Wed, 23 Apr 2014 18:24:58 +0000 (18:24 +0000)]
am 16f64554: Merge "Second try removing orphaned items from the database" into ub-now-nova

* commit '16f645542a527c3b39e7e365c379d7a66f47e4ea':
  Second try removing orphaned items from the database

10 years agoMerge "Second try removing orphaned items from the database" into ub-now-nova
Adam Cohen [Wed, 23 Apr 2014 18:21:15 +0000 (18:21 +0000)]
Merge "Second try removing orphaned items from the database" into ub-now-nova

10 years agoam 050eaf2a: Merge "Add synchronization to DeferredBindRunnables" into ub-now-nova
Jason Monk [Wed, 23 Apr 2014 16:41:07 +0000 (16:41 +0000)]
am 050eaf2a: Merge "Add synchronization to DeferredBindRunnables" into ub-now-nova

* commit '050eaf2a87e5d78eb7500c2d84129f7a2fffa750':
  Add synchronization to DeferredBindRunnables

10 years agoMerge "Add synchronization to DeferredBindRunnables" into ub-now-nova
Jason Monk [Wed, 23 Apr 2014 16:39:11 +0000 (16:39 +0000)]
Merge "Add synchronization to DeferredBindRunnables" into ub-now-nova

10 years agoSecond try removing orphaned items from the database
Adam Cohen [Fri, 18 Apr 2014 01:20:45 +0000 (18:20 -0700)]
Second try removing orphaned items from the database

-> Delete items contained directly on the desktop whose screens
   no longer exist (do not remove items contained in hotseat or
   folders, except as described below)
-> Delete items contained by folder ids which are no longer present
   (ie. orphaned as their parent folder no long exists)

Change-Id: I2f47cc970ce00677cb1c83c0f0a2d13b6f16a33e

10 years agoam 27b4e0f7: am 5aeef581: Add support for partner customization.
Jeff Sharkey [Tue, 22 Apr 2014 21:04:56 +0000 (21:04 +0000)]
am 27b4e0f7: am 5aeef581: Add support for partner customization.

* commit '27b4e0f7d6f6f2bfacc4e2fcc66472540122939d':
  Add support for partner customization.

10 years agoam 5aeef581: Add support for partner customization.
Jeff Sharkey [Tue, 22 Apr 2014 21:02:11 +0000 (21:02 +0000)]
am 5aeef581: Add support for partner customization.

* commit '5aeef58131e1c330d1d9c1dfcacf2e6eea6ced4b':
  Add support for partner customization.

10 years agoam be3e410b: Fix source code so it compiles on google3
Sameer Padala [Tue, 22 Apr 2014 20:50:57 +0000 (20:50 +0000)]
am be3e410b: Fix source code so it compiles on google3

* commit 'be3e410b7a62fa64ffda825b824862eb9d0c98c5':
  Fix source code so it compiles on google3

10 years agoAdd support for partner customization.
Jeff Sharkey [Mon, 14 Apr 2014 20:26:42 +0000 (13:26 -0700)]
Add support for partner customization.

Traditionally Launcher workspace customization is offered through
overlays at build time, but we don't have access to partner-specific
customization at build time.  To solve this, this adds a new
"partner-folder" tag which points at an XML resource provided by
an external package.

The external package XML can't depend on the binary XML attributes
defined by Launcher3, so we switch to using manual string-based
attribute lookups.  Partners can also provide extra wallpapers.

When a folder only results in a single item, promote that item into
the folder location instead of deleting completely.

Bug: 13340779
Change-Id: Ide558288bef4113565f288b700d8245055c0fee9

10 years agoam a8171169: am 76ac344c: Merge "Allow the old launcher content URI to be overrided...
Adam Cohen [Tue, 22 Apr 2014 14:35:32 +0000 (14:35 +0000)]
am a8171169: am 76ac344c: Merge "Allow the old launcher content URI to be overrided" into ub-now-mister-ugly

* commit 'a8171169ff18efc9e0bf5b865dbd35cee06d3fae':
  Allow the old launcher content URI to be overrided

10 years agoAdd synchronization to DeferredBindRunnables
Jason Monk [Tue, 22 Apr 2014 13:23:19 +0000 (09:23 -0400)]
Add synchronization to DeferredBindRunnables

Seems that on occasion the list is being iterated on while being
modified.  To fix this added synchronization to all modifications
to the list as well as iterating on a copy of the list to cut
down on time holding the lock.

Bug: 12885709
Change-Id: I4287bdedbeb8e438b49c1f79b44819a752c28a69

10 years agoFix long press after already moving off icon
Jason Monk [Tue, 15 Apr 2014 19:23:31 +0000 (15:23 -0400)]
Fix long press after already moving off icon

When an icon is in the Hotseat and a user drags off from the icon,
but continues holding down, the icon gets a long press triggered
by the CheckLongPressHelper.

To fix this a check has been added on move events to see if the
point has moved outside the view and to cancel the long press
check callback if it has.

Bug: 13569451
Change-Id: Id175cdc220d70b5e9f8e492ed5a3cc7c3f11db10

10 years agoFix source code so it compiles on google3
Sameer Padala [Tue, 22 Apr 2014 02:36:14 +0000 (19:36 -0700)]
Fix source code so it compiles on google3

This is a follow up to cr/65191596 which checked for String + array warnings.

Change-Id: Id70eaa32b63b838b03be21d632c7470039b6423f

10 years agoam 76ac344c: Merge "Allow the old launcher content URI to be overrided" into ub-now...
Adam Cohen [Fri, 18 Apr 2014 21:32:23 +0000 (21:32 +0000)]
am 76ac344c: Merge "Allow the old launcher content URI to be overrided" into ub-now-mister-ugly

* commit '76ac344cb61a74267c04249c9e9feec41a82c504':
  Allow the old launcher content URI to be overrided

10 years agoMerge "Allow the old launcher content URI to be overrided" into ub-now-mister-ugly
Adam Cohen [Thu, 17 Apr 2014 00:53:52 +0000 (00:53 +0000)]
Merge "Allow the old launcher content URI to be overrided" into ub-now-mister-ugly

10 years agoam 04b0d036: (-s ours) am d83ebf92: (-s ours) DO NOT MERGE disable launcher restore...
Chris Wren [Wed, 16 Apr 2014 18:51:45 +0000 (18:51 +0000)]
am 04b0d036: (-s ours) am d83ebf92: (-s ours) DO NOT MERGE disable launcher restore for 3.4 launch.

* commit '04b0d0368892f226337adae6e82677cb2b6c64ee':
  DO NOT MERGE disable launcher restore for 3.4 launch.

10 years agoam d83ebf92: (-s ours) DO NOT MERGE disable launcher restore for 3.4 launch.
Chris Wren [Wed, 16 Apr 2014 18:48:25 +0000 (18:48 +0000)]
am d83ebf92: (-s ours) DO NOT MERGE disable launcher restore for 3.4 launch.

* commit 'd83ebf9270e90d9306ad4eaf6837dea91ca3b172':
  DO NOT MERGE disable launcher restore for 3.4 launch.

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 agoam b358f813: additional debug logs to track welcome back behavior.
Chris Wren [Wed, 16 Apr 2014 17:45:09 +0000 (17:45 +0000)]
am b358f813: additional debug logs to track welcome back behavior.

* commit 'b358f813c93ac0d6c4f31058947efd16b188cd1e':
  additional debug logs to track welcome back behavior.

10 years agoadditional debug logs to track welcome back behavior.
Chris Wren [Wed, 16 Apr 2014 17:37:00 +0000 (13:37 -0400)]
additional debug logs to track welcome back behavior.

Bug: 13568891
Change-Id: I359202ce59b3444e46331485ea22f542ae908e36

10 years agoam ad9c776b: am 85900298: Take account of bounds set on drag drawables.
Mathew Inwood [Wed, 16 Apr 2014 16:31:48 +0000 (16:31 +0000)]
am ad9c776b: am 85900298: Take account of bounds set on drag drawables.

* commit 'ad9c776bc1cae8af3db2bdf895a2f65ca9837d96':
  Take account of bounds set on drag drawables.

10 years agoam 85900298: Take account of bounds set on drag drawables.
Mathew Inwood [Wed, 16 Apr 2014 16:30:01 +0000 (16:30 +0000)]
am 85900298: Take account of bounds set on drag drawables.

* commit '859002985e0e5d73f54c942f2024607431db60fc':
  Take account of bounds set on drag drawables.

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 agoam 65d60e21: Fix skia crash in widget preview loading
Adrian Roos [Wed, 16 Apr 2014 12:29:29 +0000 (12:29 +0000)]
am 65d60e21: Fix skia crash in widget preview loading

* commit '65d60e21ec22e3bf03ba39f7a0be24df2cc914a2':
  Fix skia crash in widget preview loading

10 years agoFix skia crash in widget preview loading
Adrian Roos [Tue, 15 Apr 2014 19:07:49 +0000 (21:07 +0200)]
Fix skia crash in widget preview loading

This fix works making sure all drawables are mutated before drawing
them in the background. Mutation has to be executed on the main
thread because that operation is not thread safe.

Bug: 12525890
Change-Id: Id7bdf9cf48d3e7b7f31938bdea4a3bf1632cf337

10 years agoam b6ecd781: am 1a1fdf41: turn off LauncherAppState.DEBUG
Chris Wren [Tue, 15 Apr 2014 19:10:11 +0000 (19:10 +0000)]
am b6ecd781: am 1a1fdf41: turn off LauncherAppState.DEBUG

* commit 'b6ecd7815970fd2080b1856259d25f6a0ab7f48f':
  turn off LauncherAppState.DEBUG

10 years agoam 1a1fdf41: turn off LauncherAppState.DEBUG
Chris Wren [Tue, 15 Apr 2014 19:08:45 +0000 (19:08 +0000)]
am 1a1fdf41: turn off LauncherAppState.DEBUG

* commit '1a1fdf4185637610b37953e901605c55ef8ba0a6':
  turn off LauncherAppState.DEBUG

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 agoam f2a791a7: am babb53ef: Adding external path for drag/drops.
Winson Chung [Tue, 15 Apr 2014 10:51:39 +0000 (10:51 +0000)]
am f2a791a7: am babb53ef: Adding external path for drag/drops.

* commit 'f2a791a798ce24d81f3410c83873087690db4ffd':
  Adding external path for drag/drops.

10 years agoam babb53ef: Adding external path for drag/drops.
Winson Chung [Tue, 15 Apr 2014 10:50:19 +0000 (10:50 +0000)]
am babb53ef: Adding external path for drag/drops.

* commit 'babb53ef8fd0fcba32fcc8fc213663f0f27b8f5e':
  Adding external path for drag/drops.

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 agoam 72f0eab8: am b90860a9: Expose workspace.moveToDefaultScreen.
Mathew Inwood [Mon, 14 Apr 2014 16:17:36 +0000 (16:17 +0000)]
am 72f0eab8: am b90860a9: Expose workspace.moveToDefaultScreen.

* commit '72f0eab89d36610e736dc63979b570da55c19337':
  Expose workspace.moveToDefaultScreen.

10 years agoam b90860a9: Expose workspace.moveToDefaultScreen.
Mathew Inwood [Mon, 14 Apr 2014 16:15:19 +0000 (16:15 +0000)]
am b90860a9: Expose workspace.moveToDefaultScreen.

* commit 'b90860a99630bbd24f90cc205d8990187b0ed12e':
  Expose workspace.moveToDefaultScreen.

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 agoam d08da56f: am 8ac896b8: Merge "Fix serious data loss issue for folders and hotseat...
Adam Cohen [Fri, 11 Apr 2014 01:20:43 +0000 (01:20 +0000)]
am d08da56f: am 8ac896b8: Merge "Fix serious data loss issue for folders and hotseat items" into ub-now-mister-ugly

* commit 'd08da56f0a4b56d16836fb85c2764e57ecdfcc20':
  Fix serious data loss issue for folders and hotseat items