summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/compat/UserManagerCompatV16.java
Commit message (Collapse)AuthorAgeFilesLines
* Creating a cache of users to avoid multiple calls to UserManagerSunny Goyal2015-08-041-0/+4
| | | | | Bug: 22805101 Change-Id: I9cd270efd74fdd34a7eb738fc25797e6f1bf2487
* Automatically adding managed profile shortcuts to homescreen.Sunny Goyal2015-04-101-0/+5
| | | | | | | | | | | | 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
* Change getBadgedLabelForUser to use CharSequenceKenny Guy2014-07-211-1/+1
| | | | | Bug: 16401636 Change-Id: I7b72a6dd53fec1c0afe6ea33803af9e3c54e597e
* Revert "Revert Cls stopping now-master running on googlefood"Kenny Guy2014-06-301-0/+4
| | | | | | | | | This reverts commit 7bc272a11b701a32d2ed91277341c382cbd84aeb. Conflicts: src/com/android/launcher3/BubbleTextView.java Change-Id: Id1fb2e1249e72658ce5477165c9bcacba9de2b04
* Revert Cls stopping now-master running on googlefoodKenny Guy2014-06-241-4/+0
| | | | | | | | | | 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
* Remove reflection now we are building against LKenny Guy2014-06-231-0/+4
| | | | | | | Remove reflection and update changed renamed L APIs now that branch has L sdk. Change-Id: I223c6528487110eb328e2e229bbcbefb701e0c20
* Launcher3 multi-profile supportKenny Guy2014-04-301-0/+47
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