Commit Graph

8252 Commits

Author SHA1 Message Date
Kenny Guy d12f7f0b49 am 43118986: Merge "Return null from compat when resolveActivity returns null." into ub-now-nova
* commit '43118986caea9b66ee96b8127e14c84609b3e02f':
  Return null from compat when resolveActivity returns null.
2014-05-14 12:48:55 +00:00
Kenny Guy 43118986ca Merge "Return null from compat when resolveActivity returns null." into ub-now-nova 2014-05-14 12:45:54 +00:00
Kenny Guy 792dd77e8c 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
2014-05-14 13:16:07 +01:00
Adrian Roos bf58010a54 am 0c281862: Merge "Fix NPE in WidgetPreviewLoader" into ub-now-nova
* commit '0c28186282d0f48ab7350904918c940639a9b542':
  Fix NPE in WidgetPreviewLoader
2014-05-14 11:24:01 +00:00
Adrian Roos 0c28186282 Merge "Fix NPE in WidgetPreviewLoader" into ub-now-nova 2014-05-14 11:21:53 +00:00
Adrian Roos fa9ffc28fd Fix NPE in WidgetPreviewLoader
Change-Id: Ic746f2a5e4237a9ea82abf5f9532307d40432ac1
2014-05-14 13:06:47 +02:00
Chris Wren 507df5a023 am 244637b5: Merge "work around bug in LauncherAppsCompat to find restored icons" into ub-now-nova
* commit '244637b59c328b918c6b2e1aef33ba448728207d':
  work around bug in LauncherAppsCompat to find restored icons
2014-05-13 21:59:42 +00:00
Chris Wren 244637b59c Merge "work around bug in LauncherAppsCompat to find restored icons" into ub-now-nova 2014-05-13 21:55:13 +00:00
Chris Wren 075f9f5b66 work around bug in LauncherAppsCompat to find restored icons
Bug: 14895464
Change-Id: Iff4f1a9a2e8edf789231be7a1c20e277e18eb05c
2014-05-13 16:18:21 -04:00
Kenny Guy 7e8ddd0c13 am c2a2c623: Merge "Don\'t clear flags in startActivity" into ub-now-nova
* commit 'c2a2c6238d7bc337f047880166181794b2b9e520':
  Don't clear flags in startActivity
2014-05-13 19:37:59 +00:00
Baligh Uddin 741e29b5a2 am 56924a82: (-s ours) Merge "Import translations. DO NOT MERGE" into ub-now-nova
* commit '56924a822d3e96a4ef9038f1f34750c216c6e438':
  Import translations. DO NOT MERGE
2014-05-13 19:37:52 +00:00
Chris Wren 7628b693a1 am 418dcb88: Merge "check for long and short component names." into ub-now-nova
* commit '418dcb881a62162b2834321d362c2f8f01962493':
  check for long and short component names.
2014-05-13 19:17:28 +00:00
Adam Cohen 322a5e7e93 am e0aaa0d3: Remove antiquated way of determining CellInfo during long press
* commit 'e0aaa0d3de0eedf5501fee762e0d8279a9e3bc3c':
  Remove antiquated way of determining CellInfo during long press
2014-05-13 19:17:28 +00:00
Kenny Guy c2a2c6238d Merge "Don't clear flags in startActivity" into ub-now-nova 2014-05-13 16:28:40 +00:00
Baligh Uddin 56924a822d Merge "Import translations. DO NOT MERGE" into ub-now-nova 2014-05-13 15:53:17 +00: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
Chris Wren 418dcb881a Merge "check for long and short component names." into ub-now-nova 2014-05-12 20:46:39 +00:00
Chris Wren 0e584b5802 check for long and short component names.
Bug: 14650346
Change-Id: Ic2195a4f60b63f8ec85c42284e0fd58d6f473a9f
2014-05-12 16:10:46 -04:00
Baligh Uddin e2e9c4384f Import translations. DO NOT MERGE
Change-Id: If0e29141f43f95b704036c10181eef2a399eab1f
Auto-generated-cl: translation import
2014-05-12 12:57:32 -07:00
Baligh Uddin abacb65d74 Import translations. DO NOT MERGE
Change-Id: I3653faf634f0378a81a6acd75fa055ca10962b88
Auto-generated-cl: translation import
2014-05-12 12:57:03 -07: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
Kenny Guy 55e39a7813 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.
2014-05-12 11:53:12 +00:00
Kenny Guy a1f26fdb50 Merge "Fix missing space in select statement in backup helper." into ub-now-nova 2014-05-12 11:50:19 +00:00
Adam Cohen cf1c711bd6 am e1c92c4a: Remove debug println
* commit 'e1c92c4afa7df98c13c3f57986f6f44ffe8ce952':
  Remove debug println
2014-05-09 23:51:17 +00:00
Adam Cohen e1c92c4afa Remove debug println
Change-Id: I8bf8f948394ed2ecbcb3da3761506c9aa5752494
2014-05-09 16:40:59 -07:00
Adam Cohen d858549cba 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
2014-05-09 22:27:23 +00: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 43ea7ac8ad Fix missing space in select statement in backup helper.
Also check when backing up favourites that they are
for current user.

Change-Id: Ic9d496c30612ee531fa84a22f852b3012df00b4f
2014-05-09 18:05:29 +01:00
Kenny Guy 617d092852 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.
2014-05-09 11:13:43 +00: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
Adrian Roos cc092821d0 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
2014-05-07 11:48:38 +00:00
Adrian Roos 2e7db96278 Merge "Dump open files if we run out of file descriptors" into ub-now-nova 2014-05-07 11:44:58 +00:00
Anjali Koppal 3ec8ba8d34 am 627d9467: Merge "Add setters for mWorkspaceLoading and mWaitingForResult." into ub-now-nova
* commit '627d9467d3f797d08c864cdf5a0785d0a57b8e61':
  Add setters for mWorkspaceLoading and mWaitingForResult.
2014-05-05 23:29:50 +00: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 d0412c2c12 am 2c4fad14: Merge "Watch for profile events and reload" into ub-now-nova
* commit '2c4fad14fca7698fb197be1f20632e0ff70b5163':
  Watch for profile events and reload
2014-05-03 04:32:18 +00:00
Amith Yamasani 2c4fad14fc Merge "Watch for profile events and reload" into ub-now-nova 2014-05-03 04:22:41 +00:00
Sameer Padala 5a07832cf6 am 5ac58cab: am e697a9a0: Move Partner.java into the Wallpaper directory.
* commit '5ac58cab3ec87e8823de8722239d41015a70a2cf':
  Move Partner.java into the Wallpaper directory.
2014-05-02 22:53:06 +00:00
Sameer Padala 5ac58cab3e am e697a9a0: Move Partner.java into the Wallpaper directory.
* commit 'e697a9a042509b3872b164dc02d0a465d5b917c2':
  Move Partner.java into the Wallpaper directory.
2014-05-02 22:51:11 +00:00
Sameer Padala e697a9a042 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
2014-05-02 15:06:35 -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 8068e9b665 am ed13187a: Launcher3 multi-profile support
* commit 'ed13187a745866483139e2878037e1f8427ce567':
  Launcher3 multi-profile support
2014-05-02 16:25:15 +00: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
Baligh Uddin 5f134d26f4 am 70c3d1da: (-s ours) am c29121ba: (-s ours) am 0961a545: (-s ours) Import translations. DO NOT MERGE
* commit '70c3d1da65fcdaf32b860a5582b211c1f0ae8718':
  Import translations. DO NOT MERGE
2014-04-29 21:18:05 +00:00
Baligh Uddin 70c3d1da65 am c29121ba: (-s ours) am 0961a545: (-s ours) Import translations. DO NOT MERGE
* commit 'c29121baeebe177386ba953ef3edc324c84ef6c3':
  Import translations. DO NOT MERGE
2014-04-29 21:15:35 +00:00
Adrian Roos 1f375ab633 Dump open files if we run out of file descriptors
Bug: 12782843
Change-Id: I7254c2cb6c3f721a06b9301d674c9560f86dfde6
2014-04-29 23:15:01 +02:00
Baligh Uddin c29121baee am 0961a545: (-s ours) Import translations. DO NOT MERGE
* commit '0961a545d6237786162c8f2c82f348ad50db2e64':
  Import translations. DO NOT MERGE
2014-04-29 21:12:00 +00:00
Baligh Uddin bdfe70a4e0 am 7c023c4a: (-s ours) Merge "Import translations. DO NOT MERGE" into ub-now-nova
* commit '7c023c4ae4ea52824e81cc771dcc2c2013722bf6':
  Import translations. DO NOT MERGE
2014-04-29 21:11:23 +00:00
Baligh Uddin 67d94e92d9 Merge "Import translations. DO NOT MERGE" into ub-now-master 2014-04-29 21:08:18 +00:00
Baligh Uddin 7c023c4ae4 Merge "Import translations. DO NOT MERGE" into ub-now-nova 2014-04-29 21:08:13 +00:00