summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/InstallShortcutReceiver.java
Commit message (Collapse)AuthorAgeFilesLines
* Fix issue where shortcuts were still being added even if corresponding app ↵Adam Cohen2014-05-201-8/+19
| | | | | | | | is uninstalled issue 14410162 Change-Id: I7857aace069c4eb4c1ee504088f4526d61e1f30e
* Small refactor to separate adding workspace / all apps itemsAdam Cohen2014-02-051-1/+1
| | | | Change-Id: I06b7bc7f7f0e01696cb9670b8385e5148593e3e0
* Allow DISABLE_ALL_APPS to be set using a system property.Nilesh Agrawal2014-01-091-1/+1
| | | | | | | | | - Moving the property to LauncherAppState - The property is only read on dogfood builds. The property can be set using setprop or /data/local.prop Change-Id: I14c7354efb12edb93f97e81687a6f920cc634e9a
* Do not allow duplicate shortcuts when ALL_APPS is disabled.Nilesh Agrawal2013-12-171-0/+32
| | | | | | | | When DISABLE_ALL_APPS is true, we want to have only one shortcut for each activityexposed via the Application's manifest. We ignore INSTALL_SHORTCUT broadcasts which have launch intents with ACTION_MAIN and CATEGORY_LAUNCHER. Applications can still create shortcuts pointing to an already exposed component if they provide data or extras in the intent. Change-Id: I0b05283ea6c522d197e0262c2997f7298e08740b
* Clean up importsMichael Jurka2013-12-131-2/+4
|
* Require valid arrays when adding and binding new Apps. (Bug 11627095)Winson Chung2013-11-141-1/+1
| | | | Change-Id: I8f2a4dc70bf376d804885f433ab20064823ebaac
* Merge "Ensuring that we have a valid name for installed shortcuts. (Bug ↵Winson Chung2013-10-171-11/+22
|\ | | | | | | 11266005)" into jb-ub-now-jetsonic
| * Ensuring that we have a valid name for installed shortcuts. (Bug 11266005)Winson Chung2013-10-171-11/+22
| | | | | | | | Change-Id: Idf723ba165522cf259d9fe71533e1d5765512865
* | Merge "Ensuring disabled packages remove all components on the workspace. ↵Winson Chung2013-10-171-0/+3
|\ \ | | | | | | | | | (Bug 11172454)" into jb-ub-now-jetsonic
| * | Ensuring disabled packages remove all components on the workspace. (Bug ↵Winson Chung2013-10-161-0/+3
| |/ | | | | | | 11172454)
* / Fix ConcurrentModificationException in InstallShortcutReceiverBjorn Bringert2013-10-171-9/+20
|/ | | | | | | | Before, if two shortcuts were added, and then the package for one of them removed, all while Launcher wasn't visible, Launcher crashed. Bug: 11264076 Change-Id: I892c190101389aa42d84d66960f5b6f6f43f2dfc
* Always set the LauncherAppState context before using it from a broadcast. ↵Winson Chung2013-09-271-0/+1
| | | | | | (Bug 10947459) Change-Id: I284786b538a9d58aa96cfc208ef68621e2500645
* Integrating some aosp fixes, ensuring that we update the install queue ↵Winson Chung2013-09-261-3/+35
| | | | | | | | | | | before returning to Launcher. - Fixing stuck page in All Apps (Bug 9347818) - Fixing shortcuts to uninstalled apps from being installed (Bug 10726510) - Consolidating vibration feedback - Ensuring that we trim names during comparison in AllApps list Change-Id: Ieaae4d85851ce771283b4684a8a60306da28cb3b
* Restoring INSTALL_SHORTCUT receiver (Bug. 10343529)Winson Chung2013-09-251-1/+1
| | | | Change-Id: Icd6a97c1d7877241aa9c71bd80dfdbe6e44ca7ee
* Fix crash when setting wallpaperMichael Jurka2013-09-051-2/+2
| | | | | Also clean up some unused code Change-Id: Ibef8d3d594cc859a993640fd6ee578e9eeb633d1
* Initial changes to restore AllApps.Winson Chung2013-09-051-1/+1
| | | | | | | - Removes unused all apps code due to dynamic grid/spacing - Attempts to use CellLayout instead of PagedViewCellLayout Change-Id: I3c49bca9fc35dfeaf250591fd63bc7f36119968f
* Fixing folders to always show in view, removing old assets and references to ↵Winson Chung2013-08-231-2/+2
| | | | LauncherModel count.
* Removing old new-app animation code, and refactoring InstallShortcutReceiver ↵Winson Chung2013-07-261-137/+51
| | | | | | to use new add/bind logic. Change-Id: Ide27dbcf1d1b1631fcd33a6c54a51b31e125c2f4
* Lazily instantiate LauncherAppState.Daniel Sandler2013-06-271-2/+0
| | | | | | | | The application context for LauncherAppState is supplied by the application whenever it starts; don't ask for an instance before that. Change-Id: I1ca8ea04238a357a682f79250f08813ead7ae532
* Using package broadcasts to key adding of shortcuts on the workspace.Winson Chung2013-06-261-1/+1
| | | | Change-Id: Id4f83cb0351d21e3f7c029c7fe39efdacd2d6f17
* Initial implementation of Shrink-wrapAdam Cohen2013-06-251-1/+2
| | | | Change-Id: If73c7f7ca19ca62ff43134f515584354afef8507
* Move LauncherApplication's state and code to LauncherAppState.Daniel Sandler2013-06-111-5/+5
| | | | | | | | This removes Launcher's static data and other state out of the Application object. Now LauncherApplication (extends Application) exists only to instantiate LauncherAppState. Change-Id: I4e323bd78b77536b92054105536a55c0c2c19ba8
* Changing default screen to 0Adam Cohen2013-06-061-2/+2
| | | | Change-Id: I16b2440f99d4b91a3a74226cdac7054e7d5fd7f5
* Launcher2 is now Launcher3.Daniel Sandler2013-06-051-0/+363
Changes include - moving from com.android.launcher{,2} to com.android.launcher3 - removing wallpapers - new temporary icon Change-Id: I1eabd06059e94a8f3bdf6b620777bd1d2b7c212b