Commit Graph

271 Commits

Author SHA1 Message Date
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
Adam Cohen 474a35735a Merge "Avoid stripping empty screens if the workspace is still loading (issue 12523285)" into ub-now-lunchbox 2014-03-03 19:07:23 +00:00
Adam Cohen 517a7f5fd0 Avoid stripping empty screens if the workspace is still loading (issue 12523285)
-> This appears to be what may be causing data loss in some users during update.
   A certain (seemingly) rare combination of life-cycle events and package events
   seems to be the culprit (potentially why it's seen at update time).

Change-Id: Iea4f8aef012ba80b7ba568e0df264edb9284efbe
2014-03-01 12:17:44 -08:00
Anjali Koppal feec09d731 Merge "Make launcher implement PageSwitchListener." into ub-now-mister-ugly 2014-02-28 22:32:06 +00:00
Anjali Koppal f5d29130b9 Make launcher implement PageSwitchListener.
Change-Id: Ief4b0cb4700aeace56a3c923a0a669a626c6506b
2014-02-28 13:33:27 -08:00
Jorim Jaggi e69746dc88 am 4f462f4a: Merge "Revert "Disabled the wallpaper when completely in -1 Now space."" into ub-now-lunchbox
* commit '4f462f4a8b9fc6897d9fab9ad31c06e0b8f79373':
  Revert "Disabled the wallpaper when completely in -1 Now space."
2014-02-28 06:55:56 -08:00
Jorim Jaggi b45b65e1e5 Revert "Disabled the wallpaper when completely in -1 Now space."
This reverts commit f3a8e8c0bd.

Bug: 12978354
Change-Id: I11f1eeaab4fad9a2e4acf835144f0b0dc6fac54b
2014-02-27 20:33:46 +01:00
Sandeep Siddhartha 92ecd2346b Merge "Refactor clicks and remove dead code" into ub-now-mister-ugly 2014-02-14 03:34:49 +00:00
Sandeep Siddhartha a942030eb6 Refactor clicks and remove dead code
Change-Id: Id92f43b4f6b31707a18035dace6ad14ab728d0bb
2014-02-13 17:37:15 -08:00
Jorim Jaggi 55bd9725d5 Implement spring-loading of folders when dragging over.
Bug: 8912132
Change-Id: Id81889a133e56461df2e20599c4b40020818ba18
2014-02-12 22:16:51 +01:00