summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/ShortcutInfo.java
Commit message (Collapse)AuthorAgeFilesLines
* Port Remote Folder from 12.1 to 13.Tyson Miller2016-01-281-1/+9
| | | | Change-Id: If8cf9d5f054e8948ead702883b79f28db26c4d8b
* Loading high resolution icons for first 3 items in a folderSunny Goyal2015-08-041-2/+6
| | | | | | | | | > Sometimes a folder gets rearranged, without updating the model, like when an app in uninstalled. In that case, we need to update the icons for folder items, which were previously hidden Bug: 22813360 Change-Id: I99754911c969bf2153efb2948c226c1c69219b88
* Fixing backup restoreSunny Goyal2015-06-251-2/+3
| | | | | | | | | | | | | | | > Not deleting icons from cache, which have not been restored yet > Not checking if activity exists during DB migration. Missing components are removed during loader anyway > Backing up and restoring bitmaps even when iconType is resource. This allows us to show a proper bitmap icon, until the correct resource is available. > Loading proper shortcutResource icon for promiseIcons > Checking against promise intent when verifying duplicates > A launcher App intent can contain EXTRA_PROFILE Bug: 22094970 Change-Id: I982971338846733833ec133119393af0bea0eb08
* Preventing homscreen getting filled with secondary user apps, when launcherSunny Goyal2015-05-151-1/+1
| | | | | | | | starts for the first time > Sorting the apps in the work folder by install time Change-Id: Ia475b4ff3197d90e6dffe070c12c0aa16be9e292
* Trim all whitespace from titles and labels.Winson Chung2015-05-081-4/+4
| | | | | | Bug: 20953160 Change-Id: I1610df5e445a4139522226f68fa6439926bc70c6
* Fixing missing updates in package install sessionsSunny Goyal2015-04-221-0/+1
| | | | | | | | | | | | > Ensure icon cache never returns null icon > Enabling install shortuct receiver only after workspace has finished binding > Making all the model changes for package installs on worker thread and only posting the updaes on the UI > Making shortcut exists check on the loaded items and not on the DB > Explicitely using worker thread for PckageInstallListener > Removing backward compatibility support from PackageInstallerCompat Change-Id: I9592771b9670c1c1c84c8208cae8dafa7b393e65
* Automatically adding managed profile shortcuts to homescreen.Sunny Goyal2015-04-101-0/+16
| | | | | | | | | | | | When the managed profile is created, a "Work" folder is created and added to the homescreen. All work profile apps are added to this folder and icons for subsequent installs (withing a fixed time frame) are automatically added to this folder. If this folder get deleted or the time-frame expires, icon for any new install is placed on the homescreen. Bug: 17410319 Change-Id: I49f4e437707d5eabe4eec85320765bf6ba7fde97
* Lazy loading high res iconsSunny Goyal2015-03-171-1/+11
| | | | | | | > Loading low-res icons for icons which are not visible on the homescreen. Change-Id: I8ac7bf09f6030ed554cb60a4cd402f3f36ffe12b
* Updating IconCache to maintain a persistent of iconsSunny Goyal2015-02-261-4/+6
| | | | | | | | | | > IconDB maintains a DB of icons keyed on ComponentName + User > During loader, icons & labels are loaded first from the DB, and if the entry doesn't exist, loaded using packageManager > After the loader completes, IconDB updates any entry which might have changed, while the launcher was dead. Change-Id: I7a6021cb6d1ca1e66fa5a0bdd21e1543e0cf66fc
* Replacing hotseat icon to an appropriate system appSunny Goyal2015-01-221-3/+9
| | | | | | | | | | | > During backupi, store the hotseat target app type, based on some predefined common system apps > During restore, save this app type in the restore flag, if it is a hotseat app > During first launcher load, if an app is not being restored, try to replace it with an appropriate replacement for that type, otherwise delete it. Bug: 18764649 Change-Id: Ic49e40bd707bd8d7de18bbab8b1e58a0a36426a2
* Keeping icons in disabled state when SD-card is unmountedSunny Goyal2014-10-081-1/+11
| | | | | | | | | | > changing shortcutInfo.isDisabled to be a flag based variable > on received OnPackageUnavailable, icons are disabled from desktop instead of being removed. Icons in all apps are removed Bug: 15852084 Bug: 16238283 Change-Id: I126d23c709682a917d4bbb84de71032593dce8f9
* Fixing loadWorkspace being called multiple timesSunny Goyal2014-09-261-1/+1
| | | | | | | | Using right intent when refreshing shortcut icons Bug: 17662782 Bug: 17663766 Bug: 17569197 Change-Id: I8d698c5e2145b8412aff9978db4ec930d89f7f24
* Adding support to delete unrestored icons and widgetsSunny Goyal2014-09-191-0/+5
| | | | | Bug: 17584719 Change-Id: If8e76fc80ea885c9004c50b7b6a9353525a50105
* Handling label and icon from SessionInfo.Sunny Goyal2014-09-041-56/+42
| | | | | | | | | > The ShortcutInfo stores state as bit flags and not as ints > Intents of auto-install shortcut are automatically updated upon installation > Icons/titles for active sessions are cached in IconCache Change-Id: I2047849f67d4a8aaf2bc346b58110325bb4807d4
* Implementing a package install progress listener for LSunny Goyal2014-08-011-11/+18
| | | | | | issue: 15835307 Change-Id: I71aaea087963f2e0e1206447190cbe23c174057d
* Merge "Fixing restored icons sometimes dissapers." into ub-now-masterSunny Goyal2014-07-241-1/+2
|\
| * Fixing restored icons sometimes dissapers.Sunny Goyal2014-07-231-1/+2
| | | | | | | | Change-Id: I24153dd1a4b34b8caf1eb9de601bf54e72a3bd9f
* | Change getBadgedLabelForUser to use CharSequenceKenny Guy2014-07-211-1/+1
|/ | | | | Bug: 16401636 Change-Id: I7b72a6dd53fec1c0afe6ea33803af9e3c54e597e
* Merging Motorola's patch to disable apps when is safe mode.Sunny Goyal2014-07-181-0/+6
| | | | | | issue: 16044192 Change-Id: I10069dcdf459ecc71361271e883eabb743d77822
* Adding a circular progress bar for preloader iconsSunny Goyal2014-07-161-5/+6
| | | | Change-Id: I1b5ba61c01a16a8cb5d3f9e31f827f8c99a1ffc9
* Revert "Revert Cls stopping now-master running on googlefood"Kenny Guy2014-06-301-1/+3
| | | | | | | | | This reverts commit 7bc272a11b701a32d2ed91277341c382cbd84aeb. Conflicts: src/com/android/launcher3/BubbleTextView.java Change-Id: Id1fb2e1249e72658ce5477165c9bcacba9de2b04
* Offer to delete broken promise icons.Chris Wren2014-06-271-6/+26
| | | | | | | | | 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
* Revert Cls stopping now-master running on googlefoodKenny Guy2014-06-241-3/+1
| | | | | | | | | | This reverts commits 01453e855fa87ee19f61223b2b1a6965071ee95a. and 242bbe1b72e4978dde8a662d164cd186305e14a7. "Add content description to bagded icons." "Remove reflection now we are building against L" Bug: 15833449 Change-Id: I81a5316f5619a9cd3b6ab9fd03b2ba96657b7f68
* Add content description to bagded icons.Kenny Guy2014-06-231-1/+3
| | | | | | | | | Enabled accesibility so that icons badged by the managed profile have a content description that is different to the non-bagdged version. Bug: 15106236 Change-Id: Id483273173d9539916eebd59111d179087526be3
* Launcher3 multi-profile supportKenny Guy2014-04-301-43/+13
| | | | | | | | | | | | | | | | | | | | | 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
* Fix source code so it compiles on google3Sameer Padala2014-04-211-1/+2
| | | | | | This is a follow up to cr/65191596 which checked for String + array warnings. Change-Id: Id70eaa32b63b838b03be21d632c7470039b6423f
* Make all fields of ItemInfo public.Anjali Koppal2014-03-171-1/+1
| | | | Change-Id: Iaf99aa125634a467616eedd0888a0affa08d79bd
* update promise icon statusChris Wren2014-03-111-0/+28
| | | | | | | also fix a crash in LauncherModel.DEBUG_LOADERS Bug: 10778992 Change-Id: Iafc28c1e0c2f2a1283783a7ce27e181634b62993
* Make classes that extend ItemInfo public.Anjali Koppal2014-03-041-1/+1
| | | | | | | Also follow up on changes in ag/418520, adding Views to those method params. Change-Id: I93e0a3b30d10b969d1903a2f227f6744d709e89a
* update placeholder on package install or restoreChris Wren2014-02-061-0/+21
| | | | | Bug: 10778992 Change-Id: I3293d8bab8ae0ef49fc5554531bba5bd6f70932c
* Clean up importsMichael Jurka2013-12-131-1/+1
|
* Add support for initiating a drag from an overlay.Mathew Inwood2013-11-201-1/+8
| | | | | | This allows an overlay to create apps and shortcuts on the home screen. Change-Id: I63ee4ef02db3f4bc89726c394fd55ad26f50452c
* Move wallpapers to external activityMichael Jurka2013-09-041-3/+3
| | | | | | | Also renaming Launcher's ApplicationInfo to AppInfo since ApplicationInfo is already a framework class Change-Id: Ib3e91d2ba4ace458d790a26c0ce850870fd3f146
* Merge "Removing old new-app animation code, and refactoring ↵Winson Chung2013-08-021-0/+4
|\ | | | | | | InstallShortcutReceiver to use new add/bind logic." into jb-ub-gel-agar
| * Removing old new-app animation code, and refactoring InstallShortcutReceiver ↵Winson Chung2013-07-261-0/+4
| | | | | | | | | | | | to use new add/bind logic. Change-Id: Ide27dbcf1d1b1631fcd33a6c54a51b31e125c2f4
* | Small code formatting changesMichael Jurka2013-07-291-2/+4
|/
* Implement ability to uninstall shortcuts from workspaceMichael Jurka2013-07-191-4/+31
| | | Change-Id: I14ca94ea719825c4de19ab85d67537155098d50c
* Initial implementation of Shrink-wrapAdam Cohen2013-06-251-1/+1
| | | | Change-Id: If73c7f7ca19ca62ff43134f515584354afef8507
* Launcher2 is now Launcher3.Daniel Sandler2013-06-051-0/+162
Changes include - moving from com.android.launcher{,2} to com.android.launcher3 - removing wallpapers - new temporary icon Change-Id: I1eabd06059e94a8f3bdf6b620777bd1d2b7c212b