History log of /packages/apps/Launcher3/src/com/android/launcher3/compat/UserManagerCompat.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
35908f9e67b9cdae917385ef9e67e168cb0c93b3 31-Aug-2016 Sunny Goyal <sunnygoyal@google.com> Splitting some methods into individual compat classes

Change-Id: Id5a2650b290367d1574eb56346beca389900596b
/packages/apps/Launcher3/src/com/android/launcher3/compat/UserManagerCompat.java
b5bf3e6ceeb6f8af433357324a543914fd8ebaf9 31-Aug-2016 Sunny Goyal <sunnygoyal@google.com> Adding isDemoUser method in userManager

Change-Id: I0ad2c0e7bfac5eff5e5c95c3e533840921a67dc3
/packages/apps/Launcher3/src/com/android/launcher3/compat/UserManagerCompat.java
d3b87ef1963fb96177ca85bcd6a25879e27e419c 28-Jul-2016 Sunny Goyal <sunnygoyal@google.com> Adding quiet mode support for shortcuts

> LauncherApps returns empty list when the user is locked. Not relying on
LauncherApps in this case
> When the user is locked, removing all dynamic shortcuts
> Loading shortcuts from DB when the user is locked
> Verifying the shortcuts again when the user is available

Bug: 30411561
Change-Id: Ib6eb372c5b009cadb86a8f6e781f3f3cbf787ceb
/packages/apps/Launcher3/src/com/android/launcher3/compat/UserManagerCompat.java
ff05f4375dd47242d7e4864287e0d5af8ac8ba8f 22-Jan-2016 Kenny Guy <kennyguy@google.com> Respond to managed profile availabilty Intents.

Grey out applications when managed profile is
not available.

Change-Id: I9bb9442cd0b3d0d207062716bfd6b179e3ba8489
/packages/apps/Launcher3/src/com/android/launcher3/compat/UserManagerCompat.java
b84046dacf48b38069c89ac908ff5ae1e8fc1d13 19-Oct-2015 Sunny Goyal <sunnygoyal@google.com> Scaling down the icon before applying the user badge
> This also saves memory only create one new bitmap while loading instead of two

Bug: 25027252
Change-Id: Ia594dd65a30f32e99404190f649b334615c9e17f
/packages/apps/Launcher3/src/com/android/launcher3/compat/UserManagerCompat.java
9fc953b94dbc6b99e6de08c9dcc80a0cb8e3e319 17-Aug-2015 Sunny Goyal <sunnygoyal@google.com> Version code cleanup

> Renaming Lmp to Lollipop
> Lollipop_MR1 instead of directly using 22
> Using M APIs directly instead of reflection

Change-Id: I10a307f46e3be15b3299f549a2fd7e0e215a6a1b
/packages/apps/Launcher3/src/com/android/launcher3/compat/UserManagerCompat.java
823fd5090209017a029460e7dbd8ab9d51d013dd 04-Aug-2015 Sunny Goyal <sunnygoyal@google.com> Creating a cache of users to avoid multiple calls to UserManager

Bug: 22805101
Change-Id: I9cd270efd74fdd34a7eb738fc25797e6f1bf2487
/packages/apps/Launcher3/src/com/android/launcher3/compat/UserManagerCompat.java
18bf8e2ffde3444d53aaa9654da02cdedd0b7cd1 09-Apr-2015 Sunny Goyal <sunnygoyal@google.com> Automatically adding managed profile shortcuts to homescreen.

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
/packages/apps/Launcher3/src/com/android/launcher3/compat/UserManagerCompat.java
d794a3f46521b972fa02826d379d1efa112793d2 16-Sep-2014 Kenny Guy <kennyguy@google.com> Update calls now we have an L API version.

Bug: 17543647
Change-Id: I92c652a4ced5a5e783b24e42f9da4d9dfe1118ba
/packages/apps/Launcher3/src/com/android/launcher3/compat/UserManagerCompat.java
d6fe52636dcaa96ec1e10ce2daebe98b820c9739 21-Jul-2014 Kenny Guy <kennyguy@google.com> Change getBadgedLabelForUser to use CharSequence

Bug: 16401636
Change-Id: I7b72a6dd53fec1c0afe6ea33803af9e3c54e597e
/packages/apps/Launcher3/src/com/android/launcher3/compat/UserManagerCompat.java
c2bd8101b8e26b9ebb2c079ae6867229dad3f196 30-Jun-2014 Kenny Guy <kennyguy@google.com> Revert "Revert Cls stopping now-master running on googlefood"

This reverts commit 7bc272a11b701a32d2ed91277341c382cbd84aeb.

Conflicts:
src/com/android/launcher3/BubbleTextView.java

Change-Id: Id1fb2e1249e72658ce5477165c9bcacba9de2b04
/packages/apps/Launcher3/src/com/android/launcher3/compat/UserManagerCompat.java
7bc272a11b701a32d2ed91277341c382cbd84aeb 24-Jun-2014 Kenny Guy <kennyguy@google.com> Revert Cls stopping now-master running on googlefood

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
/packages/apps/Launcher3/src/com/android/launcher3/compat/UserManagerCompat.java
242bbe1b72e4978dde8a662d164cd186305e14a7 12-Jun-2014 Kenny Guy <kennyguy@google.com> Remove reflection now we are building against L

Remove reflection and update changed renamed L APIs
now that branch has L sdk.

Change-Id: I223c6528487110eb328e2e229bbcbefb701e0c20
/packages/apps/Launcher3/src/com/android/launcher3/compat/UserManagerCompat.java
ed13187a745866483139e2878037e1f8427ce567 30-Apr-2014 Kenny Guy <kennyguy@google.com> Launcher3 multi-profile support

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
/packages/apps/Launcher3/src/com/android/launcher3/compat/UserManagerCompat.java