OSDN Git Service

android-x86/packages-apps-Launcher3.git
10 years agodisable launcher restore by default, for nova launch
Chris Wren [Thu, 29 May 2014 20:58:15 +0000 (16:58 -0400)]
disable launcher restore by default, for nova launch

Change-Id: I54aa2de71f8fcc660922a59ff280ae141e066f73

10 years agoLog the component name for restored icons.
Chris Wren [Fri, 23 May 2014 20:56:53 +0000 (16:56 -0400)]
Log the component name for restored icons.

Bug: 15192063
Change-Id: I7d8aa05600a2278c18f3ac34f87b87b3867bcd0c

10 years agoMake sure we can handle database downgrade (by wiping and starting fresh)
Adam Cohen [Thu, 22 May 2014 02:01:57 +0000 (19:01 -0700)]
Make sure we can handle database downgrade (by wiping and starting fresh)

issue 15144138

Change-Id: I59aad7445d2aaaaede1cba6754e047f05a2859ae

10 years agoCheck before suggesting default wallpaper dimensions
Adam Cohen [Wed, 21 May 2014 22:03:34 +0000 (15:03 -0700)]
Check before suggesting default wallpaper dimensions

issue 14470153

Change-Id: Id00e9cb4bd2b769818ed61de65be8c1c0119e07d

10 years agoMerge "Revert "Debugging wallpaper stuff on production device (to be reverted once...
Adam Cohen [Wed, 21 May 2014 23:01:31 +0000 (23:01 +0000)]
Merge "Revert "Debugging wallpaper stuff on production device (to be reverted once built)"" into ub-now-nova

10 years agoRevert "Debugging wallpaper stuff on production device (to be reverted once built)"
Adam Cohen [Wed, 21 May 2014 23:01:25 +0000 (23:01 +0000)]
Revert "Debugging wallpaper stuff on production device (to be reverted once built)"

This reverts commit f8dc557cf84ad90186e94d1ebe15f850a6edf2a0.

Change-Id: I2a2ce9a067ec6df829eb23997661bb090daa64ff

10 years agoMerge "Debugging wallpaper stuff on production device (to be reverted once built...
Adam Cohen [Wed, 21 May 2014 23:00:01 +0000 (23:00 +0000)]
Merge "Debugging wallpaper stuff on production device (to be reverted once built)" into ub-now-nova

10 years agoDebugging wallpaper stuff on production device (to be reverted once built)
Adam Cohen [Wed, 21 May 2014 22:49:31 +0000 (15:49 -0700)]
Debugging wallpaper stuff on production device (to be reverted once built)

issue 14470153

Change-Id: I6c93b11f639d79163da0c3ce4e4053e304e0081e

10 years agoRevert transparent bars for L in 3.5. DO NOT MERGE
Sandeep Siddhartha [Wed, 21 May 2014 22:07:15 +0000 (15:07 -0700)]
Revert transparent bars for L in 3.5. DO NOT MERGE

Bug: 15082937
Change-Id: I7698744aae83e58902641cf1fcc6ab55c1fcb543

10 years agoFix issue where shortcuts were still being added even if corresponding app is uninstalled
Adam Cohen [Wed, 21 May 2014 00:03:04 +0000 (17:03 -0700)]
Fix issue where shortcuts were still being added even if corresponding app is uninstalled

issue 14410162

Change-Id: I7857aace069c4eb4c1ee504088f4526d61e1f30e

10 years agoMerge "Fix crash when launcher dies while configuring a widget / shortcut" into ub...
Adam Cohen [Tue, 20 May 2014 22:26:49 +0000 (22:26 +0000)]
Merge "Fix crash when launcher dies while configuring a widget / shortcut" into ub-now-nova

10 years agoFix crash when launcher dies while configuring a widget / shortcut
Adam Cohen [Tue, 20 May 2014 21:23:40 +0000 (14:23 -0700)]
Fix crash when launcher dies while configuring a widget / shortcut

issue 15014018

Change-Id: I083fa40fb2fd0eb217852e5d088fa5e18e5f5697

10 years agoPreventing crash when hovering over folder icon with widget shortcut
Adam Cohen [Mon, 19 May 2014 22:10:39 +0000 (15:10 -0700)]
Preventing crash when hovering over folder icon with widget shortcut

issue 13748105

Change-Id: I053f6c7748310ad117ec216655e6147bfe6e4f85

10 years agoEnsure that hotseat callout only occurs when appropriate
Adam Cohen [Mon, 19 May 2014 20:12:13 +0000 (13:12 -0700)]
Ensure that hotseat callout only occurs when appropriate

issue 13551957

Change-Id: I87bda7eef8047edbd41f066930ed156a17d042df

10 years agoRemove unnecessary reflection
Sandeep Siddhartha [Mon, 19 May 2014 18:45:01 +0000 (11:45 -0700)]
Remove unnecessary reflection

Change-Id: Ia8a31eaf8563c4a337040e794742275c7e044506

10 years agoRevert "Debugging something for wallpaper noise issue"
Adam Cohen [Sun, 18 May 2014 03:17:15 +0000 (03:17 +0000)]
Revert "Debugging something for wallpaper noise issue"

This reverts commit 211d38c784a2211ba6d1d9bcdf3c3bb1cf396d72.

Change-Id: I2c3e69e8951c3435f51d9ac43eddf0b56157b792

10 years agoDebugging something for wallpaper noise issue
Adam Cohen [Sat, 17 May 2014 02:41:40 +0000 (19:41 -0700)]
Debugging something for wallpaper noise issue

issue 14470153

Change-Id: Ifdde30b9a26443cdcf480f0ed4cfed2d612d09cf

10 years agoRemoving extra clear, load and bind of default workspace
Adam Cohen [Sat, 17 May 2014 00:05:49 +0000 (17:05 -0700)]
Removing extra clear, load and bind of default workspace

-> If the user clicks "start fresh" we don't need to reload the workspace
   since we've already loaded the default workspace from the primary
   load in onCreate.

Change-Id: I43cb9e66fd49403ab6e0723cab1a03edd3dcac1b

10 years agoMerge "Disable the folder cling in two cases" into ub-now-nova
Adam Cohen [Sat, 17 May 2014 01:18:44 +0000 (01:18 +0000)]
Merge "Disable the folder cling in two cases" into ub-now-nova

10 years agoDisable the folder cling in two cases
Adam Cohen [Fri, 16 May 2014 23:42:35 +0000 (16:42 -0700)]
Disable the folder cling in two cases

-> When the user creates a new folder
-> When the user drags an existing folder
-> The folder cling gets cut off in certain instances
   and until we make it more extensible (not worth
   it right now), we're disabling it in the problematic
   cases. Also, in the problematic cases, the user
   is demonstrating some advanced knowledge, so
   it's somewhat justifiable.

issue 14491765

Change-Id: Ib15d2f097c51a9b755f04b95ed6ef468d3bacc60

10 years agoMerge "Use transparent system bars on L" into ub-now-nova
Sandeep Siddhartha [Sat, 17 May 2014 01:06:56 +0000 (01:06 +0000)]
Merge "Use transparent system bars on L" into ub-now-nova

10 years agoUse transparent system bars on L
Sandeep Siddhartha [Sat, 17 May 2014 00:21:15 +0000 (17:21 -0700)]
Use transparent system bars on L

Change-Id: I1e8921fa0e8a5bdf34495f9d88ba9f3b1f1e9c89

10 years agoFix issue where always trying to migrate
Jason Monk [Fri, 16 May 2014 21:37:34 +0000 (17:37 -0400)]
Fix issue where always trying to migrate

Rather than check if the ContentProviderClient is null (which fails
in when using the Redirector), check the PackageManager directly
for the authority we are looking for.

Bug: 14466459

Change-Id: I7420352a15dcea5037196670f18705e7a34f0672

10 years agoMerge "Adding support for dynamically resolved default layouts." into ub-now-nova
Winson Chung [Fri, 16 May 2014 19:42:03 +0000 (19:42 +0000)]
Merge "Adding support for dynamically resolved default layouts." into ub-now-nova

10 years agoMerge "Removing antiquated migration path logic" into ub-now-nova
Adam Cohen [Fri, 16 May 2014 19:37:32 +0000 (19:37 +0000)]
Merge "Removing antiquated migration path logic" into ub-now-nova

10 years agoAdding support for dynamically resolved default layouts.
Winson Chung [Wed, 14 May 2014 21:15:20 +0000 (14:15 -0700)]
Adding support for dynamically resolved default layouts.

Change-Id: Id05c60b93423ce37dd06a126ecf33c74a0ba1d62

10 years agoRemoving antiquated migration path logic
Adam Cohen [Thu, 15 May 2014 21:04:01 +0000 (14:04 -0700)]
Removing antiquated migration path logic

-> also added some extra debugging for issue 14466459

Change-Id: I1ac9352c52c15d3e37f945cffabbca49343d2b8f

10 years agoMerge "Fix build" into ub-now-nova
Sameer Padala [Fri, 16 May 2014 19:15:10 +0000 (19:15 +0000)]
Merge "Fix build" into ub-now-nova

10 years agoFix build
Sameer Padala [Fri, 16 May 2014 19:01:25 +0000 (19:01 +0000)]
Fix build

Revert "Adding support for dynamically resolved default layouts."

This reverts commit 667e4d395ca17de2b5bb0ec74202ee8f0673d894.

Change-Id: I1b4b900fa3551f9fe9ec938b89efa5a208001234

10 years agoMerge "Adding support for dynamically resolved default layouts." into ub-now-nova
Winson Chung [Fri, 16 May 2014 18:24:42 +0000 (18:24 +0000)]
Merge "Adding support for dynamically resolved default layouts." into ub-now-nova

10 years agoAdding support for dynamically resolved default layouts.
Winson Chung [Wed, 14 May 2014 21:15:20 +0000 (14:15 -0700)]
Adding support for dynamically resolved default layouts.

issue 14159482
Change-Id: Ic24c5e425cf3e427b82dd13a4a78dd9108174599

10 years agoMerge "Reset profile ids when backing up / restoring favorites." into ub-now-nova
Kenny Guy [Fri, 16 May 2014 12:06:00 +0000 (12:06 +0000)]
Merge "Reset profile ids when backing up / restoring favorites." into ub-now-nova

10 years agoam 591f23a6: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Thu, 15 May 2014 14:33:55 +0000 (14:33 +0000)]
am 591f23a6: (-s ours) Import translations. DO NOT MERGE

* commit '591f23a6aff66d452e34e6aed6a164028d9326bd':
  Import translations. DO NOT MERGE

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 15 May 2014 00:27:57 +0000 (17:27 -0700)]
Import translations. DO NOT MERGE

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

10 years agoremove work around for bug 14891460.
Chris Wren [Wed, 14 May 2014 14:03:07 +0000 (10:03 -0400)]
remove work around for bug 14891460.
Bug: 14895464

Change-Id: I1e923e4fca194cde19195d156e33e99fc9fe86b6

10 years agoMerge "Return null from compat when resolveActivity returns null." into ub-now-nova
Kenny Guy [Wed, 14 May 2014 12:45:54 +0000 (12:45 +0000)]
Merge "Return null from compat when resolveActivity returns null." into ub-now-nova

10 years agoReturn null from compat when resolveActivity returns null.
Kenny Guy [Wed, 14 May 2014 11:06:51 +0000 (12:06 +0100)]
Return null from compat when resolveActivity returns null.

Fixes bug that LauncherAppsCompatVL.resolveActivity was wrapping
a null in a compat class when LauncherApps.resolveActivity returns
null.

Bug: 14891460
Change-Id: I0364b198486f14393e51ac383a9d10b89e466bdf

10 years agoMerge "Fix NPE in WidgetPreviewLoader" into ub-now-nova
Adrian Roos [Wed, 14 May 2014 11:21:53 +0000 (11:21 +0000)]
Merge "Fix NPE in WidgetPreviewLoader" into ub-now-nova

10 years agoFix NPE in WidgetPreviewLoader
Adrian Roos [Mon, 12 May 2014 13:59:59 +0000 (15:59 +0200)]
Fix NPE in WidgetPreviewLoader

Change-Id: Ic746f2a5e4237a9ea82abf5f9532307d40432ac1

10 years agoMerge "work around bug in LauncherAppsCompat to find restored icons" into ub-now...
Chris Wren [Tue, 13 May 2014 21:55:13 +0000 (21:55 +0000)]
Merge "work around bug in LauncherAppsCompat to find restored icons" into ub-now-nova

10 years agowork around bug in LauncherAppsCompat to find restored icons
Chris Wren [Tue, 13 May 2014 20:18:21 +0000 (16:18 -0400)]
work around bug in LauncherAppsCompat to find restored icons

Bug: 14895464
Change-Id: Iff4f1a9a2e8edf789231be7a1c20e277e18eb05c

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 agoReset profile ids when backing up / restoring favorites.
Kenny Guy [Tue, 13 May 2014 11:59:34 +0000 (12:59 +0100)]
Reset profile ids when backing up / restoring favorites.

Clear the profile id when packing an intent for backup.
Set the profile id to the current user when restoring
a favorite from a backup.

Change-Id: I9d976fbe16773b34a74e57d080ff797ba51f9b04

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 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 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 agoRemove debug println
Adam Cohen [Fri, 9 May 2014 23:40:36 +0000 (16:40 -0700)]
Remove debug println

Change-Id: I8bf8f948394ed2ecbcb3da3761506c9aa5752494

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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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