summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/compat/UserManagerCompatVL.java
Commit message (Collapse)AuthorAgeFilesLines
* Using the usermanager api to get creation timeSunny Goyal2015-08-211-1/+4
| | | | | Bug: 22539048 Change-Id: I17647f2456434ca66a9778300e1a2910cec171d4
* Using a reverse hashmap instead of indexOfValue in userManagerSunny Goyal2015-08-051-6/+8
| | | | | Bug: 22980139 Change-Id: I87b633d194ff4e1529dd679dc02da573ed374207
* Creating a cache of users to avoid multiple calls to UserManagerSunny Goyal2015-08-041-0/+27
| | | | | Bug: 22805101 Change-Id: I9cd270efd74fdd34a7eb738fc25797e6f1bf2487
* Deleting empty folders based on DB stateSunny Goyal2015-06-121-1/+1
| | | | | | | | | > Previously folders were getting deleted based on in-memory loader state. If for some reason, an item failed to load, we would delete the folder from DB as well. Bug: 21354058 Change-Id: I5318ee8a99afa9cafd93ed2b9ef0e155f502a41b
* Various lint error fixes.Sunny Goyal2015-05-141-2/+3
| | | | | | | | > Fixing some RTL errors by specifying both marginStart and marginLeft > Moving all layout direction checks to Utilities > Explicitely adding @TargetApi before every method Change-Id: Ibe9c52b93b5a6adeadb27ace2b312770fd732ea0
* Automatically adding managed profile shortcuts to homescreen.Sunny Goyal2015-04-101-1/+19
| | | | | | | | | | | | 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
* Remove STOPSHIPs from GSA 4.0Dharmesh Mokani2014-09-121-14/+2
| | | | | | | Added stopships so that GSA won't crash on older L release. Bug: 17443440 Change-Id: I792eb53d5021118bdb09c44ffae7a8286a0cd69b
* Catch Throwable as NoSuchMethodError isn't an Exception.Kenny Guy2014-09-111-3/+3
| | | | | Bug: 17462165 Change-Id: Ifafdc882fd1020fb6468d2bcae2f219ef5cba64c
* Launcher change corresponding to platform change.Dharmesh Mokani2014-09-081-2/+17
| | | | | | | | | Here is platform change : ag/540450 Added try catch block so the APK works on older builds as well. Bug: 17390424 Change-Id: Id5731c65f036e35b71aa74ce6d8ae031107ed60b
* Remove StopShip from UserManagerCompactVl file.Dharmesh Mokani2014-08-271-6/+1
| | | | | | | New getBadgedIconForUser is available to all dogfood users and droidfood users (LRW52G). GSA will crash if system build is less than LRW38. Change-Id: I8d6bf9d065fa79198fa63b110de37f84663ed940
* Make GEL not crashloop.Mark Brophy2014-08-091-1/+6
| | | | | | Being able to actually use the phone is a good feature. Change-Id: I345258374dda81a852544d8ed0045e57195f88d3
* Changes corresponding to framework changes.Dharmesh Mokani2014-08-081-3/+5
| | | | | | | | | Following method has been removed. UserManager.getBadgedDrawableForUser(Drawable, UserHandle) This will only work on builds after lrw38 Change-Id: I777a630dd123a9cf8d92cd096e150e90035b3531
* Change getBadgedLabelForUser to use CharSequenceKenny Guy2014-07-211-2/+3
| | | | | Bug: 16401636 Change-Id: I7b72a6dd53fec1c0afe6ea33803af9e3c54e597e
* Revert "Revert Cls stopping now-master running on googlefood"Kenny Guy2014-06-301-26/+17
| | | | | | | | | 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-17/+26
| | | | | | | | | | 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-26/+17
| | | | | | | 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/+68
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