> 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
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
Here is platform change : ag/540450
Added try catch block so the APK works on older builds as well.
Bug: 17390424
Change-Id: Id5731c65f036e35b71aa74ce6d8ae031107ed60b
> 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
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
Following method has been removed.
UserManager.getBadgedDrawableForUser(Drawable, UserHandle)
This will only work on builds after lrw38
Change-Id: I777a630dd123a9cf8d92cd096e150e90035b3531
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
This reverts commits 01453e855f.
and 242bbe1b72.
"Add content description to bagded icons."
"Remove reflection now we are building against L"
Bug: 15833449
Change-Id: I81a5316f5619a9cd3b6ab9fd03b2ba96657b7f68
Fixes bug that LauncherAppsCompatVL.resolveActivity was wrapping
a null in a compat class when LauncherApps.resolveActivity returns
null.
Bug: 14891460
Change-Id: I0364b198486f14393e51ac383a9d10b89e466bdf
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