summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/compat
Commit message (Collapse)AuthorAgeFilesLines
* DO NOT MERGESunny Goyal2014-10-141-2/+1
| | | | | | | Rechecking unrestored items when launcher gets created Bug: 17941096 Change-Id: Ic54464a9c64442d6784cda44ef22fa3d08e22f1f
* Remove reference to CODENAME from compat code.Kenny Guy2014-10-031-3/+4
| | | | | | | | | Fixes bug with uninstalling apps for managed profile as codename check means it fails to include the user when uninstalling the app. Bug: 17800161 Change-Id: I6901eff5aa8f00fb3b859e8db37930b95f031625
* Merge "Updating promise icon's bitmap and label when onBadgingChanged is ↵Sunny Goyal2014-09-191-7/+25
|\ | | | | | | received" into ub-now-porkchop
| * Updating promise icon's bitmap and label when onBadgingChanged is receivedSunny Goyal2014-09-191-7/+26
| | | | | | | | | | Bug: 17583799 Change-Id: I68b4f9d4086c43bd949ad8b46b574ec78edb32db
* | Merge "Adding support to delete unrestored icons and widgets" into ↵Sunny Goyal2014-09-193-5/+16
|\ \ | | | | | | | | | ub-now-porkchop
| * | Adding support to delete unrestored icons and widgetsSunny Goyal2014-09-193-5/+16
| |/ | | | | | | | | Bug: 17584719 Change-Id: If8e76fc80ea885c9004c50b7b6a9353525a50105
* | Merge "Update calls now we have an L API version." into ub-now-porkchopKenny Guy2014-09-184-7/+8
|\ \
| * | Update calls now we have an L API version.Kenny Guy2014-09-184-7/+8
| |/ | | | | | | | | Bug: 17543647 Change-Id: I92c652a4ced5a5e783b24e42f9da4d9dfe1118ba
* / Remove catch now api has hit googlefood.Kenny Guy2014-09-181-10/+2
|/ | | | | Bug: 17543647 Change-Id: Ie0b57719393a705e8c02b226d3e3f57dbf43d800
* Merge "Setting context in LauncherAppState before initialising it, as it can ↵Sunny Goyal2014-09-171-0/+1
|\ | | | | | | be called from a BroadcastReceiver" into ub-now-porkchop
| * Setting context in LauncherAppState before initialising it,Sunny Goyal2014-09-161-0/+1
| | | | | | | | | | | | | | as it can be called from a BroadcastReceiver Bug: 17519159 Change-Id: I0434a3d1c392e8861eb759d88942deaf98116c19
* | Merge "Using ApplicationContext in static objects" into ub-now-porkchopSunny Goyal2014-09-173-7/+5
|\ \
| * | Using ApplicationContext in static objectsSunny Goyal2014-09-153-7/+5
| |/ | | | | | | | | Bug: 17507543 Change-Id: I1651b694acabaf62188dd4ba42739b64a60194c3
* / Remove STOPSHIPs from GSA 4.0Dharmesh Mokani2014-09-123-33/+7
|/ | | | | | | Added stopships so that GSA won't crash on older L release. Bug: 17443440 Change-Id: I792eb53d5021118bdb09c44ffae7a8286a0cd69b
* Merge "Update compat layer for API review changes to LauncherApps" into ↵Kenny Guy2014-09-121-2/+10
|\ | | | | | | ub-now-porkchop
| * Update compat layer for API review changes to LauncherAppsKenny Guy2014-09-111-2/+10
| | | | | | | | | | Bug:17390765 Change-Id: I15a927402a05387b14a2a6899fd513fc59a2ee41
* | Dogfood Crash Loop : Fixing crash loop by try and catchDharmesh Mokani2014-09-111-2/+11
| | | | | | | | | | Bug: 17467377 Change-Id: Idb2084339323b4953cbd6bbde2735f814fb75a76
* | Catch Throwable as NoSuchMethodError isn't an Exception.Kenny Guy2014-09-112-4/+4
|/ | | | | Bug: 17462165 Change-Id: Ifafdc882fd1020fb6468d2bcae2f219ef5cba64c
* Launcher change corresponding to platform change.Dharmesh Mokani2014-09-083-13/+30
| | | | | | | | | Here is platform change : ag/540450 Added try catch block so the APK works on older builds as well. Bug: 17390424 Change-Id: Id5731c65f036e35b71aa74ce6d8ae031107ed60b
* Handling label and icon from SessionInfo.Sunny Goyal2014-09-043-9/+35
| | | | | | | | | > 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
* Updated calls for LauncherApps renaming.Kenny Guy2014-08-292-8/+8
| | | | | Bug: 17008230 Change-Id: Id851d0b40756973be48c5ce370dd64c1dd6a3c1d
* 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
* Adding support for managed profiles in widgetSunny Goyal2014-08-203-0/+315
| | | | | | issue: 16892811 Change-Id: If8c81f2a5a3bc846b02a5d225c5a8f27b1382dab
* Fixing class name change in sdkSunny Goyal2014-08-181-7/+7
| | | | Change-Id: Id905f8742d39347cd66e5e79931e1dccdd406126
* Merge "Update code so it compiles on google3" into ub-now-porkchopSameer Padala2014-08-112-4/+4
|\
| * Update code so it compiles on google3Sameer Padala2014-08-082-4/+4
| | | | | | | | Change-Id: I76c6a5264585c8ad4ded22501d2e2ee1672308c3
* | 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
* Launch app details for correct profile.Kenny Guy2014-08-043-0/+21
| | | | | | | | | Support showing app details for apps in other profiles. Bug: 16371359 Change-Id: I1cabcd9f74f2a6ea6c4202a7d58af3ff3b458fd2
* Implementing a package install progress listener for LSunny Goyal2014-08-014-7/+396
| | | | | | issue: 15835307 Change-Id: I71aaea087963f2e0e1206447190cbe23c174057d
* Change getBadgedLabelForUser to use CharSequenceKenny Guy2014-07-213-4/+5
| | | | | Bug: 16401636 Change-Id: I7b72a6dd53fec1c0afe6ea33803af9e3c54e597e
* Include user handle for uninstall intents.Kenny Guy2014-07-161-0/+13
| | | | | | | | Add support for uninstalling apps from other profiles. Bug: 14127299 Change-Id: I1a3724a45c95cf93b958d23a57829efcedfc4291
* Fixing icon disappearing when apps are moved to sdcardSunny Goyal2014-07-071-2/+7
| | | | | | | | | | For intents, external application unavailable/available, the extra argument 'replacing' is not sent for jelly beans and lower devices. Using appropriate default value issue: 15852084 Change-Id: I865aa22a16700629fffe440a4b92a634a0ba8ae7
* Revert "Revert Cls stopping now-master running on googlefood"Kenny Guy2014-06-3010-385/+128
| | | | | | | | | This reverts commit 7bc272a11b701a32d2ed91277341c382cbd84aeb. Conflicts: src/com/android/launcher3/BubbleTextView.java Change-Id: Id1fb2e1249e72658ce5477165c9bcacba9de2b04
* Revert Cls stopping now-master running on googlefoodKenny Guy2014-06-2410-128/+385
| | | | | | | | | | 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-2310-385/+128
| | | | | | | Remove reflection and update changed renamed L APIs now that branch has L sdk. Change-Id: I223c6528487110eb328e2e229bbcbefb701e0c20
* Add catch for missing app icon resource.Kenny Guy2014-05-271-1/+5
| | | | | | | | The catch was present before moving the code into the compat class. Bug: 15276879 Change-Id: I81fbd49dacd813e861a2bc4f0b41dcbeccb9def2
* Return null from compat when resolveActivity returns null.Kenny Guy2014-05-141-2/+7
| | | | | | | | | Fixes bug that LauncherAppsCompatVL.resolveActivity was wrapping a null in a compat class when LauncherApps.resolveActivity returns null. Bug: 14891460 Change-Id: I0364b198486f14393e51ac383a9d10b89e466bdf
* Watch for profile events and reloadAmith Yamasani2014-05-021-0/+5
| | | | | | | | Reload the workspace and all-apps list when a managed profile is added or removed. Bug: 14484845 Change-Id: I69210c22e568f2a561266ef2846ddf8f6d659070
* Launcher3 multi-profile supportKenny Guy2014-04-3012-0/+1120
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