OSDN Git Service
Kenny Guy [Tue, 27 May 2014 15:34:59 +0000 (16:34 +0100)]
Add catch for missing app icon resource.
The catch was present before moving the code into
the compat class.
Bug:
15276879
Change-Id: I81fbd49dacd813e861a2bc4f0b41dcbeccb9def2
(cherry picked from commit
c879052247b1000b9f318294024daa3c9d100621)
Adam Cohen [Wed, 11 Jun 2014 18:38:49 +0000 (11:38 -0700)]
Override app launch transition for LMP preview
issue
15544569 j)
Change-Id: I8aff85a154cb98d865a8834f37b13e30cd03de6c
Adam Cohen [Wed, 11 Jun 2014 17:36:14 +0000 (10:36 -0700)]
Add new assets for LMP preview
issue
15544569 c), d), e)
Change-Id: Ib352ef1fa7c19c3695c82f3ea31936a4b41da5aa
Adam Cohen [Wed, 11 Jun 2014 17:35:58 +0000 (17:35 +0000)]
Merge "Make folder stack more vertical for LMP preview" into ub-now-nova
Adam Cohen [Wed, 11 Jun 2014 01:56:22 +0000 (18:56 -0700)]
Make folder stack more vertical for LMP preview
issue
15544569 h)
Change-Id: Ie9830429f629db0963f5313d9e4c0c18b14bff4a
Adam Cohen [Wed, 11 Jun 2014 17:04:32 +0000 (17:04 +0000)]
Merge "Revert "Revert transparent bars for L in 3.5. DO NOT MERGE"" into ub-now-nova
Adam Cohen [Mon, 9 Jun 2014 22:54:36 +0000 (22:54 +0000)]
Revert "Revert transparent bars for L in 3.5. DO NOT MERGE"
This reverts commit
e1cdf5253d8c61218fe3b308803408c04f71ffa3.
Change-Id: If107c46fcc3062d990b0de9758045946c8017569
Adam Cohen [Fri, 6 Jun 2014 18:52:52 +0000 (11:52 -0700)]
Fix for regression which made issue
14491953 occur more easily
Change-Id: I27711aad8aae2824a54a043f686918d342ffc5bb
(cherry picked from commit
327acfea13d924293b88c7d204fde4a25748108d)
Adam Cohen [Wed, 4 Jun 2014 05:23:28 +0000 (22:23 -0700)]
Add required cast
Change-Id: I6ff78f583777ec71d414d2fa66cce3390fd97d0e
Adam Cohen [Wed, 4 Jun 2014 04:43:24 +0000 (21:43 -0700)]
Adding workaround for issue with null drawable
A drawable is null which ought not be null, since it should have been set during inflation. Seems like a platform issue on one device. Adding a workaround to manually set it in code after inflation if necessary.
issue
15334203
Change-Id: Ideb80c231300e61f6dfe5336d6d647a3e1b51817
Adam Cohen [Wed, 4 Jun 2014 01:24:03 +0000 (01:24 +0000)]
Revert "Adding debugging and naive fix for issue
15334203"
This reverts commit
ed11c14003ca4ae5f702b6eb3f6b5dd8f4e7d4a4.
Change-Id: Ifc46769477e590512cc5ab79a69063c0341f52b2
Adam Cohen [Wed, 4 Jun 2014 01:03:29 +0000 (18:03 -0700)]
Adding debugging and naive fix for issue
15334203
-> To be reverted, just need signed build.
Change-Id: I6a83e55067d8d2564bb3c4f0c314befbb2793f09
Chris Wren [Thu, 29 May 2014 20:58:15 +0000 (16:58 -0400)]
disable launcher restore by default, for nova launch
Change-Id: I54aa2de71f8fcc660922a59ff280ae141e066f73
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
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
Adam Cohen [Wed, 21 May 2014 22:03:34 +0000 (15:03 -0700)]
Check before suggesting default wallpaper dimensions
issue
14470153
Change-Id: Id00e9cb4bd2b769818ed61de65be8c1c0119e07d
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
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
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
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
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
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
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
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
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
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
Sandeep Siddhartha [Mon, 19 May 2014 18:45:01 +0000 (11:45 -0700)]
Remove unnecessary reflection
Change-Id: Ia8a31eaf8563c4a337040e794742275c7e044506
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
Adam Cohen [Sat, 17 May 2014 02:41:40 +0000 (19:41 -0700)]
Debugging something for wallpaper noise issue
issue
14470153
Change-Id: Ifdde30b9a26443cdcf480f0ed4cfed2d612d09cf
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
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
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
Sandeep Siddhartha [Sat, 17 May 2014 01:06:56 +0000 (01:06 +0000)]
Merge "Use transparent system bars on L" into ub-now-nova
Sandeep Siddhartha [Sat, 17 May 2014 00:21:15 +0000 (17:21 -0700)]
Use transparent system bars on L
Change-Id: I1e8921fa0e8a5bdf34495f9d88ba9f3b1f1e9c89
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
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
Adam Cohen [Fri, 16 May 2014 19:37:32 +0000 (19:37 +0000)]
Merge "Removing antiquated migration path logic" into ub-now-nova
Winson Chung [Wed, 14 May 2014 21:15:20 +0000 (14:15 -0700)]
Adding support for dynamically resolved default layouts.
Change-Id: Id05c60b93423ce37dd06a126ecf33c74a0ba1d62
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
Sameer Padala [Fri, 16 May 2014 19:15:10 +0000 (19:15 +0000)]
Merge "Fix build" into ub-now-nova
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
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
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
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
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
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
Chris Wren [Wed, 14 May 2014 14:03:07 +0000 (10:03 -0400)]
remove work around for bug
14891460.
Bug:
14895464
Change-Id: I1e923e4fca194cde19195d156e33e99fc9fe86b6
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
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
Adrian Roos [Wed, 14 May 2014 11:21:53 +0000 (11:21 +0000)]
Merge "Fix NPE in WidgetPreviewLoader" into ub-now-nova
Adrian Roos [Mon, 12 May 2014 13:59:59 +0000 (15:59 +0200)]
Fix NPE in WidgetPreviewLoader
Change-Id: Ic746f2a5e4237a9ea82abf5f9532307d40432ac1
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
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
Kenny Guy [Tue, 13 May 2014 16:28:39 +0000 (16:28 +0000)]
Merge "Don't clear flags in startActivity" 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
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
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
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
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
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
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
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
Adam Cohen [Fri, 9 May 2014 23:40:36 +0000 (16:40 -0700)]
Remove debug println
Change-Id: I8bf8f948394ed2ecbcb3da3761506c9aa5752494
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
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
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
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
Anjali Koppal [Mon, 5 May 2014 23:28:32 +0000 (23:28 +0000)]
Merge "Add setters for mWorkspaceLoading and mWaitingForResult." into ub-now-nova
Anjali Koppal [Fri, 2 May 2014 01:26:37 +0000 (18:26 -0700)]
Add setters for mWorkspaceLoading and mWaitingForResult.
Change-Id: Id542fa6467d13641127cec7150b8f50a9e088657
Amith Yamasani [Sat, 3 May 2014 04:22:40 +0000 (04:22 +0000)]
Merge "Watch for profile events and reload" into ub-now-nova
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.
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
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
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
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
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
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
Baligh Uddin [Tue, 29 Apr 2014 21:08:13 +0000 (21:08 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-now-nova
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
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
Adrian Roos [Mon, 28 Apr 2014 13:45:52 +0000 (15:45 +0200)]
Sanity check screenId before persisting ItemInfo.
Bug:
13447571
Change-Id: I014dcf1eb313c2312953716fb53e542caaeb285b
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
Jason Monk [Thu, 24 Apr 2014 16:33:06 +0000 (16:33 +0000)]
Merge "Fix accessibility announce on apps page" into ub-now-nova
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
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
Baligh Uddin [Thu, 24 Apr 2014 14:38:26 +0000 (14:38 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-now-nova
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
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.
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
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
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
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
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
Jason Monk [Wed, 23 Apr 2014 16:39:11 +0000 (16:39 +0000)]
Merge "Add synchronization to DeferredBindRunnables" into ub-now-nova
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
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.
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
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
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
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