summaryrefslogtreecommitdiffstats
path: root/src/com
Commit message (Collapse)AuthorAgeFilesLines
* Merge "work around bug in LauncherAppsCompat to find restored icons" into ↵Chris Wren2014-05-131-2/+11
|\ | | | | | | ub-now-nova
| * work around bug in LauncherAppsCompat to find restored iconsChris Wren2014-05-131-2/+11
| | | | | | | | | | Bug: 14895464 Change-Id: Iff4f1a9a2e8edf789231be7a1c20e277e18eb05c
* | Don't clear flags in startActivityKenny Guy2014-05-132-1/+2
|/ | | | | | | | Move setting flags for starting apps back to AppInfo from Launcher.startActivity. Bug: 14839470 Change-Id: I1dc928e9ebce9ce4d411678f94b5ca4284c1255f
* Merge "check for long and short component names." into ub-now-novaChris Wren2014-05-121-2/+4
|\
| * check for long and short component names.Chris Wren2014-05-121-2/+4
| | | | | | | | | | Bug: 14650346 Change-Id: Ic2195a4f60b63f8ec85c42284e0fd58d6f473a9f
* | Remove antiquated way of determining CellInfo during long pressAdam Cohen2014-05-122-96/+17
|/ | | | | | | -> allows us to eliminate cast of getTag() to CellInfo to fix issue 13587508 Change-Id: Id2277206765621f664b758cce800bf8423231b1e
* Merge "Fix missing space in select statement in backup helper." into ub-now-novaKenny Guy2014-05-121-10/+23
|\
| * Fix missing space in select statement in backup helper.Kenny Guy2014-05-091-10/+23
| | | | | | | | | | | | | | Also check when backing up favourites that they are for current user. Change-Id: Ic9d496c30612ee531fa84a22f852b3012df00b4f
* | Remove debug printlnAdam Cohen2014-05-091-2/+0
| | | | | | | | Change-Id: I8bf8f948394ed2ecbcb3da3761506c9aa5752494
* | Cleanup pattern for removing the extra empty screen after drag operationsAdam Cohen2014-05-094-49/+37
|/ | | | | | -> Fixes a couple bugs: issue 12179908, issue 12372657, issue 13287732 Change-Id: I24b5abe8e432ea331eeb77407120a8cec28f6376
* Fix bug with user of shortcut not being remembered over restart.Kenny Guy2014-05-083-15/+20
| | | | | | | | | | | 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
* Merge "Dump open files if we run out of file descriptors" into ub-now-novaAdrian Roos2014-05-071-0/+98
|\
| * Dump open files if we run out of file descriptorsAdrian Roos2014-04-291-0/+98
| | | | | | | | | | Bug: 12782843 Change-Id: I7254c2cb6c3f721a06b9301d674c9560f86dfde6
* | Merge "Add setters for mWorkspaceLoading and mWaitingForResult." into ↵Anjali Koppal2014-05-051-7/+27
|\ \ | | | | | | | | | ub-now-nova
| * | Add setters for mWorkspaceLoading and mWaitingForResult.Anjali Koppal2014-05-051-7/+27
| | | | | | | | | | | | Change-Id: Id542fa6467d13641127cec7150b8f50a9e088657
* | | Merge "Watch for profile events and reload" into ub-now-novaAmith Yamasani2014-05-033-1/+12
|\ \ \
| * | | Watch for profile events and reloadAmith Yamasani2014-05-023-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reload the workspace and all-apps list when a managed profile is added or removed. Bug: 14484845 Change-Id: I69210c22e568f2a561266ef2846ddf8f6d659070
* | | | am e697a9a0: Move Partner.java into the Wallpaper directory.Sameer Padala2014-05-021-84/+0
|\ \ \ \ | |/ / / |/| | | | | | | | | | | * commit 'e697a9a042509b3872b164dc02d0a465d5b917c2': Move Partner.java into the Wallpaper directory.
| * | | Move Partner.java into the Wallpaper directory.Sameer Padala2014-05-021-84/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | WallpaperPicker depends on this and have this class in Launcher3 would cause a circular dependency in google3 Change-Id: Ia582bcb988a4f6375904660546b1bc1744d25238
* | | | Launcher3 multi-profile supportKenny Guy2014-04-3028-502/+1732
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Sanity check screenId before persisting ItemInfo.Adrian Roos2014-04-282-2/+7
| |/ |/| | | | | | | Bug: 13447571 Change-Id: I014dcf1eb313c2312953716fb53e542caaeb285b
* | Don't close folder when adding something to itJason Monk2014-04-241-4/+3
| | | | | | | | | | | | | | | | Remove the call that closes a folder when something from All Apps is added to it. Bug: 14273032 Change-Id: Iac970a5c997fd254eae006be75cfbba9826f47af
* | Merge "Fix accessibility announce on apps page" into ub-now-novaJason Monk2014-04-242-0/+17
|\ \
| * | Fix accessibility announce on apps pageJason Monk2014-04-242-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Fix long press after already moving off icon" into ub-now-novaJason Monk2014-04-234-1/+54
|\ \ \
| * | | Fix long press after already moving off iconJason Monk2014-04-224-1/+54
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Second try removing orphaned items from the database" into ub-now-novaAdam Cohen2014-04-231-8/+35
|\ \ \
| * | | Second try removing orphaned items from the databaseAdam Cohen2014-04-221-8/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -> 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
* | | | Merge "Add synchronization to DeferredBindRunnables" into ub-now-novaJason Monk2014-04-231-8/+25
|\ \ \ \
| * | | | Add synchronization to DeferredBindRunnablesJason Monk2014-04-221-8/+25
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | am 5aeef581: Add support for partner customization.Jeff Sharkey2014-04-222-105/+265
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | * commit '5aeef58131e1c330d1d9c1dfcacf2e6eea6ced4b': Add support for partner customization.
| * | | Add support for partner customization.Jeff Sharkey2014-04-222-105/+265
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Fix source code so it compiles on google3Sameer Padala2014-04-214-4/+9
| |_|/ |/| | | | | | | | | | | | | | This is a follow up to cr/65191596 which checked for String + array warnings. Change-Id: Id70eaa32b63b838b03be21d632c7470039b6423f
* | | am 76ac344c: Merge "Allow the old launcher content URI to be overrided" into ↵Adam Cohen2014-04-182-3/+3
|\| | | | | | | | | | | | | | | | | | | | ub-now-mister-ugly * commit '76ac344cb61a74267c04249c9e9feec41a82c504': Allow the old launcher content URI to be overrided
| * | Merge "Allow the old launcher content URI to be overrided" into ↵Adam Cohen2014-04-172-3/+3
| |\ \ | | | | | | | | | | | | ub-now-mister-ugly
| | * | Allow the old launcher content URI to be overridedJason Monk2014-03-212-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the URI used to import favorites from launcher2 to be loaded from a string resource. This allows it to be overridden. This will enable permissions fix for GoogleSearch. Bug: 12058200 Change-Id: I31243fe89f545c9771d5cceffe1c9e7668a42bc5
| * | | DO NOT MERGE disable launcher restore for 3.4 launch.Chris Wren2014-04-161-1/+1
| | | | | | | | | | | | | | | | Change-Id: I8e439df25cad2cb9cf92cf1faef22906420e22cb
* | | | additional debug logs to track welcome back behavior.Chris Wren2014-04-162-3/+4
| | | | | | | | | | | | | | | | | | | | Bug: 13568891 Change-Id: I359202ce59b3444e46331485ea22f542ae908e36
* | | | am 85900298: Take account of bounds set on drag drawables.Mathew Inwood2014-04-161-5/+17
|\| | | | | | | | | | | | | | | | | | | * commit '859002985e0e5d73f54c942f2024607431db60fc': Take account of bounds set on drag drawables.
| * | | Take account of bounds set on drag drawables.Mathew Inwood2014-04-161-5/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Fix skia crash in widget preview loadingAdrian Roos2014-04-162-3/+104
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | 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
* | / turn off LauncherAppState.DEBUGChris Wren2014-04-151-1/+1
| |/ |/| | | | | Change-Id: Ia6d54235c353c27c8716d7fd9270a7f2ee7bc93f
* | Adding external path for drag/drops.Winson Chung2014-04-142-7/+80
| | | | | | | | Change-Id: I3b315c4d14cadb9210f15d3c3e0b9545f4591be4
* | Expose workspace.moveToDefaultScreen.Mathew Inwood2014-04-111-0/+4
| | | | | | | | | | | | | | | | | | 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
* | Fix serious data loss issue for folders and hotseat itemsAdam Cohen2014-04-111-1/+3
| | | | | | | | | | Change-Id: I37a5b44c670c2a1f99eb97b77cfdbc78534fdf91 bug 13964735
* | Merge "Ensure the intro view is always the top view in the draglayer if it ↵Adam Cohen2014-04-091-5/+18
|\ \ | | | | | | | | | is present" into ub-now-mister-ugly
| * | Ensure the intro view is always the top view in the draglayer if it is presentAdam Cohen2014-04-081-5/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -> On devices post-api-16, we can achieve this just with child drawing order but on level 16 devices, child drawing order doesn't give us touch dispatch which is problematic for the intro screen. issue 13796017 Change-Id: Ibf89ae91d8489f2de1eb9c8f235a0e6e6aed1847
* | | Upping activity start delayAdam Cohen2014-04-081-1/+1
| | | | | | | | | | | | Change-Id: I4b72ae9d719825e1be8f1feb3643f9311dde2534
* | | Merge "Fix pre sdk-18 compatibility (crash in dispatchDraw)" into ↵Adam Cohen2014-04-071-7/+11
|\| | | | | | | | | | | ub-now-mister-ugly
| * | Fix pre sdk-18 compatibility (crash in dispatchDraw)Adam Cohen2014-04-071-7/+11
| | | | | | | | | | | | | | | | | | issue 13801679 Change-Id: I25b997179fd8eb7cdec6fc48d81533fb1c3094ce