Commit Graph

280 Commits

Author SHA1 Message Date
Kenny Guy e10abafa50 Merge "Revert "Revert Cls stopping now-master running on googlefood"" into ub-now-master 2014-07-01 17:46:08 +00:00
Chris Wren 803a4bec0f Drop support for remove all dead promises.
Bug: 12764789
Change-Id: Id876b66cf8da4388cb3ed5670a0bbdcf73f2982d
2014-07-01 17:13:04 -04:00
Kenny Guy c2bd8101b8 Revert "Revert Cls stopping now-master running on googlefood"
This reverts commit 7bc272a11b.

Conflicts:
	src/com/android/launcher3/BubbleTextView.java

Change-Id: Id1fb2e1249e72658ce5477165c9bcacba9de2b04
2014-06-30 12:30:31 +01:00
Chris Wren 40c5ed3039 Offer to delete broken promise icons.
Track state of promise in the info, not the view.
Fix bugs around moving promises to folders.
Fix bugs around filterign and removing promises.

Bug: 12764789
Change-Id: If5e8b6d315e463154b5bafe8aef7ef4f9889bb95
2014-06-27 15:17:56 -04:00
Adam Cohen dcc5e71b3f Fix issue where focus was sometimes missing when going to all apps with keyboard
issue 15407977

Change-Id: I806c4f3d4c5951e4caa7eddaff366a68585f1cd9
2014-06-23 15:48:15 -04:00
Adam Cohen db78dc8a0a Fix problem where launcher doesn't draw after rotation w/ translucent activity above it
-> Removed some code which caused this. The code was intended to fix a certain issue:
"Fixing issue where we were reverting to the first page of the workspace after
launching an application from all apps, rotating, and returning home"
-> That bug doesn't seem to occur anymore, even with the revert
-> See https://googleplex-android-review.googlesource.com/#/c/209561/1

issue 11808251

Change-Id: I14ada19a294d2e5139a9e650d55f1cd985dd00d3
2014-06-19 14:54:51 -07:00
Adam Cohen e25c5d1c94 Prevent discordant state between Workspace and Launcher (issue 15409018)
Change-Id: I13bb3e51da18998a5dade49c50e5fbf2266022d3
2014-06-18 10:38:31 -07:00
Adam Cohen 6ea3b116fc Override app launch transition for LMP preview
issue 15544569 j)

Change-Id: I8aff85a154cb98d865a8834f37b13e30cd03de6c
2014-06-11 11:47:56 -07:00
Adam Cohen 71b0473f24 Add new assets for LMP preview
issue 15544569 c), d), e)

Change-Id: Ib352ef1fa7c19c3695c82f3ea31936a4b41da5aa
2014-06-11 10:50:41 -07:00
Adam Cohen a629f26824 Merge "Revert "Revert transparent bars for L in 3.5. DO NOT MERGE"" into ub-now-nova 2014-06-10 22:12:51 +00:00
Adam Cohen 0b39535608 Revert "Revert transparent bars for L in 3.5. DO NOT MERGE"
This reverts commit e1cdf5253d.

Change-Id: If107c46fcc3062d990b0de9758045946c8017569
2014-06-09 22:54:36 +00:00
Adam Cohen aa4c8c1fea Fix for regression which made issue 14491953 occur more easily
Change-Id: I27711aad8aae2824a54a043f686918d342ffc5bb
(cherry picked from commit 327acfea13)
2014-06-09 18:24:03 +00:00
Adam Cohen ea90f83e24 Check before suggesting default wallpaper dimensions
issue 14470153

Change-Id: Id00e9cb4bd2b769818ed61de65be8c1c0119e07d
2014-05-21 17:13:40 -07:00
Adam Cohen 73859adf80 Merge "Revert "Debugging wallpaper stuff on production device (to be reverted once built)"" into ub-now-nova 2014-05-21 23:01:31 +00:00
Adam Cohen 824fcb3a3e Revert "Debugging wallpaper stuff on production device (to be reverted once built)"
This reverts commit f8dc557cf8.

Change-Id: I2a2ce9a067ec6df829eb23997661bb090daa64ff
2014-05-21 23:01:25 +00:00
Adam Cohen 00a019d9e5 Merge "Debugging wallpaper stuff on production device (to be reverted once built)" into ub-now-nova 2014-05-21 23:00:02 +00:00
Adam Cohen f8dc557cf8 Debugging wallpaper stuff on production device (to be reverted once built)
issue 14470153

Change-Id: I6c93b11f639d79163da0c3ce4e4053e304e0081e
2014-05-21 15:53:11 -07:00
Sandeep Siddhartha e1cdf5253d Revert transparent bars for L in 3.5. DO NOT MERGE
Bug: 15082937
Change-Id: I7698744aae83e58902641cf1fcc6ab55c1fcb543
2014-05-21 15:07:15 -07:00
Adam Cohen db364c3355 Fix crash when launcher dies while configuring a widget / shortcut
issue 15014018

Change-Id: I083fa40fb2fd0eb217852e5d088fa5e18e5f5697
2014-05-20 14:25:37 -07:00
Adam Cohen 5eed5d8c7b Ensure that hotseat callout only occurs when appropriate
issue 13551957

Change-Id: I87bda7eef8047edbd41f066930ed156a17d042df
2014-05-19 13:57:51 -07:00
Sandeep Siddhartha 876b003901 Remove unnecessary reflection
Change-Id: Ia8a31eaf8563c4a337040e794742275c7e044506
2014-05-19 11:46:08 -07:00
Adam Cohen 57884c7ee2 Merge "Disable the folder cling in two cases" into ub-now-nova 2014-05-17 01:18:44 +00:00
Adam Cohen 6268f2db4c 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
2014-05-16 18:18:20 -07:00
Sandeep Siddhartha 2efc7d928a Use transparent system bars on L
Change-Id: I1e8921fa0e8a5bdf34495f9d88ba9f3b1f1e9c89
2014-05-16 17:48:16 -07:00
Kenny Guy b6cc40bc15 Don't clear flags in startActivity
Move setting flags for starting apps back to
AppInfo from Launcher.startActivity.

Bug: 14839470
Change-Id: I1dc928e9ebce9ce4d411678f94b5ca4284c1255f
2014-05-13 15:58:58 +01:00
Adam Cohen e0aaa0d3de 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
2014-05-12 12:45:59 -07:00
Adam Cohen 689ff16ea2 Cleanup pattern for removing the extra empty screen after drag operations
-> Fixes a couple bugs: issue 12179908, issue 12372657, issue 13287732

Change-Id: I24b5abe8e432ea331eeb77407120a8cec28f6376
2014-05-09 15:05:53 -07:00
Kenny Guy 1317e2dd4a 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
2014-05-08 19:01:16 +01:00
Anjali Koppal 627d9467d3 Merge "Add setters for mWorkspaceLoading and mWaitingForResult." into ub-now-nova 2014-05-05 23:28:33 +00:00
Anjali Koppal ff7ceff73c Add setters for mWorkspaceLoading and mWaitingForResult.
Change-Id: Id542fa6467d13641127cec7150b8f50a9e088657
2014-05-05 14:16:28 -07:00
Amith Yamasani 6cc806d678 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
2014-05-02 13:47:11 -07:00
Kenny Guy ed13187a74 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
2014-04-30 23:43:00 +01:00
Winson Chung babb53ef8f Adding external path for drag/drops.
Change-Id: I3b315c4d14cadb9210f15d3c3e0b9545f4591be4
2014-04-14 18:44:21 -07:00
Mathew Inwood b90860a996 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
2014-04-11 17:22:56 +01:00
Adam Cohen 646fdf70b4 Upping activity start delay
Change-Id: I4b72ae9d719825e1be8f1feb3643f9311dde2534
2014-04-08 17:02:08 -07:00
Adam Cohen 8f006edba2 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
2014-04-03 18:14:30 -07:00
Adam Cohen 8440e7ce17 Merge "Increase delay before dismissing intro screen (issue 13691305)" into ub-now-mister-ugly 2014-03-31 15:10:34 +00:00
Adam Cohen 2252adea26 Increase delay before dismissing intro screen (issue 13691305)
Change-Id: I0b81d61b922278e0e72c3055086010612687c7d9
2014-03-28 15:29:07 -07:00
Adam Cohen 4a9423d6dd Add method to determine if first run activity has been shown (issue 13680732)
Change-Id: Ia0da4148fd0365c6ae9c3a5a4cff7118959f6382
2014-03-28 14:51:17 -07:00
Adam Cohen 432609a246 Adding in-activity intro screen (issue 12905636)
Change-Id: Ifb016ca6e5052fd91535b98a39f78569200955a8
2014-03-20 11:48:22 -07:00
Mohammadinamul Sheik e769d1681e Merge "Add onClickPagedViewIcon to the Launcher." into ub-now-mister-ugly 2014-03-18 20:30:52 +00:00
Mohammadinamul Sheik 3b1a54a206 Add onClickPagedViewIcon to the Launcher.
Change-Id: I34505ee5c9a6fe6ddd1a9f3134829fe0481e8bc0
2014-03-18 11:28:19 -07:00
Anjali Koppal ef3784cf69 Merge "Add LauncherProviderChangeListener" into ub-now-mister-ugly 2014-03-17 23:47:21 +00:00
Anjali Koppal 67e7cae5ad Add LauncherProviderChangeListener
Change-Id: I2333a157c488cd048a860982cc675ed9cec626ae
2014-03-17 15:13:01 -07:00
Anjali Koppal 62d18edcc7 Add Launcher.onDragStarted
Change-Id: Iac59685211905580460d0a0a16d9c7f00c61fac9
2014-03-17 15:06:41 -07:00
Anjali Koppal 5ad4484df3 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
2014-03-12 18:22:55 -07:00
Chris Wren aeff7ea434 update promise icon status
also fix a crash in LauncherModel.DEBUG_LOADERS

Bug: 10778992
Change-Id: Iafc28c1e0c2f2a1283783a7ce27e181634b62993
2014-03-11 13:41:05 -04:00
Selim Cinek 3a8a8f7c23 Disable wallpaper in -1 space in GEL and hack around window animations
Bug: 12978354

Change-Id: I8b5602ae434a9151b40d41defb891db1ad78ce81
2014-03-07 14:30:36 +01:00
Anjali Koppal 7b168a1bb9 Make classes that extend ItemInfo public.
Also follow up on changes in ag/418520, adding Views to those method
params.

Change-Id: I93e0a3b30d10b969d1903a2f227f6744d709e89a
2014-03-04 17:16:11 -08:00
Adam Cohen 6902916b07 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)
2014-03-03 11:19:36 -08:00