History log of /packages/apps/Launcher3/src/com/android/launcher3/AppInfo.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
24bb66a1c5a435ab0c55b4a97e788bdc2595bf84 21-Mar-2017 Sunny Goyal <sunnygoyal@google.com> Removing the profile extra from intent and using the profile id from the profile column

The intent extra is not always correct as the profile id can change during backup restore.
This allows us to use a consistant behavior everywhere.

Change-Id: I004bd244204ca91758b1d42488e1fc13b0ccb998
/packages/apps/Launcher3/src/com/android/launcher3/AppInfo.java
e44251247f3bebf62072017db899c4dd64a48ecb 14-Mar-2017 Mario Bertschler <bmario@google.com> Setting AppInfo.itemType to ITEM_TYPE_APPLICATION per default

It's wrongly set to ITEM_TYPE_SHORTCUT, changing it to ITEM_TYPE_APPLICATION
in the constructor.

Change-Id: I51383d09d50ac90cea15fce816503648d2cb690e
/packages/apps/Launcher3/src/com/android/launcher3/AppInfo.java
0fc6f684e730b0137900fe317f2c759c1b3909c7 17-Feb-2017 Mario Bertschler <bmario@google.com> App discovery integration in All Apps search

This is the basis for app discovery integration while searching in all apps.
This does NOT include binding to the actual service and retrieving results,
but instead provides all the UI to show suggested instant apps and apps
from a store with star rating and pricing.

Change-Id: I1605b52848491acee4ac1d15c0112e6a768363f6
/packages/apps/Launcher3/src/com/android/launcher3/AppInfo.java
3c7d9cbb209107a8c8d41211beff7bf5af6fe285 31-Jan-2017 Hyunyoung Song <hyunyoungs@google.com> Clean up around 1) Log.VERBOSE and 2) dump
b/31772480

Note: in the follow up CL, I will add the dump result of the bgDataModel
to a proto

Change-Id: I5261cff0fb29cedd1dd772b8b15f67095ad5b967
/packages/apps/Launcher3/src/com/android/launcher3/AppInfo.java
3e9be43b6ea75c8b82b57aa58508a0c3e8e1d721 06-Jan-2017 Sunny Goyal <sunnygoyal@google.com> No more LauncherActivityInfoCompat

Bug: 32745285
Change-Id: I00f13794d5dc0a2b1fe03ec74de36018f22eb386
/packages/apps/Launcher3/src/com/android/launcher3/AppInfo.java
1cc1c9ad83014ec8af54a44112138339c52795b0 07-Jan-2017 Sunny Goyal <sunnygoyal@google.com> Enforcing background thread when accessing iconCacheDb.

> Moving any icon cache access to background thread
> Updating Apps list to avoid loading icons for ignored apps

Bug: 21325319
Change-Id: Id72755100f1176ccfcc99249c5e02873cc249a13
/packages/apps/Launcher3/src/com/android/launcher3/AppInfo.java
3fe4a146cf774261ab3552dd8ab392439c771e54 16-Dec-2016 Sunny Goyal <sunnygoyal@google.com> Simplifying IconCache access code

Providing a way to access icon cache without LauncherAcitivtiyInfo.
This allows fetching LauncherActivityInfo only when required, thus
avoiding system RPC when the icon is already in cache.

Change-Id: I92918c7a0d0d0796e5f7b70d4ecb6787c52c6600
/packages/apps/Launcher3/src/com/android/launcher3/AppInfo.java
7c74e4ae641e76f73d74348e293c244a157f6585 16-Dec-2016 Sunny Goyal <sunnygoyal@google.com> No more UserHandleCompat

Bug: 32745285
Change-Id: I762fb4e268c1afe48a1860ab12a4ccb3f626aa95
/packages/apps/Launcher3/src/com/android/launcher3/AppInfo.java
1cd01b023acc123b771765b7297d8aaedac224e0 09-Nov-2016 Sunny Goyal <sunnygoyal@google.com> Ensuring that ShortcutInfo always has an icon

> Making iconBitmap public instead of a getter (similar to AppInfo)
> Removing getIcon() which can lead to IO on UI thread
> Removing updateIcon and handling the update at the caller

Bug: 21325319
Change-Id: I6a49b9043f974e9629ea25e77012d97cc04c0594
/packages/apps/Launcher3/src/com/android/launcher3/AppInfo.java
8e0e1d76095badc58a3178917c43642065ace37c 10-Oct-2016 Sunny Goyal <sunnygoyal@google.com> Moving come helper methods to corresponding classes

> Moving isPackageEnabled to InstallShortcutReceiver
> Moving the deep shortcut map to the data model
> Removing appInfo.flags. Instead fetching the flags when needed

Change-Id: I654dd8acefa7b7d183b0419afbe112bef001d536
/packages/apps/Launcher3/src/com/android/launcher3/AppInfo.java
e4a3e0cfaf5b72a54e99bcebdc03eda8aef53091 09-Sep-2016 Sunny Goyal <sunnygoyal@google.com> Adding support for searching word segments when camelcase is used in the title

Bug: 30880421
Change-Id: If642d24408fe0e80b5a0dd9a2a57d2f3c2d92ea9
/packages/apps/Launcher3/src/com/android/launcher3/AppInfo.java
1edab71d010f3efdde212b96aa1a44ab7a5b4ee5 01-Sep-2016 Sunny Goyal <sunnygoyal@google.com> Unifying toString() method for various ItemInfo subclasses

Change-Id: I7cde42f0df412e2877fb93c77e74ee56a25edead
/packages/apps/Launcher3/src/com/android/launcher3/AppInfo.java
a7ce166b2e06c834ac7d90ba0f4db16a84d10171 01-Jun-2016 Sunny Goyal <sunnygoyal@google.com> Making the security checks and policy changes only when launching custom
shortcuts. This prevents launcher specific intents to unknowingly leak data.

Change-Id: I01343a9cee1f2a9a37a20aaf24e933e2771ecdbc
/packages/apps/Launcher3/src/com/android/launcher3/AppInfo.java
d09c37052ef9a70d4dde53ece6619f04de5f97cb 07-Apr-2016 Sunny Goyal <sunnygoyal@google.com> Removing dependency on getApplicationInfo method added in N

This method is goiing away. We don't need this method anyway
since LauncherActivityInfo already has the information

Change-Id: Ic6afa1df14958b894925d730e01a2e2d2a6fb98c
/packages/apps/Launcher3/src/com/android/launcher3/AppInfo.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/AppInfo.java
44cba696386b44f9115cad13ec9ecf67a0ac9119 21-Jan-2016 Kenny Guy <kennyguy@google.com> Grey out suspended applications.

Grey out application shortcuts and all apps entries
for packages that are suspended.

Bug: 22776761
Change-Id: I1b63da1816aca1de52b9f9bee62d1b162d0cdf4d
/packages/apps/Launcher3/src/com/android/launcher3/AppInfo.java
dc893151f0b5fc751a2bfc77946f833a985cc78f 30-Nov-2015 Sunny Goyal <sunnygoyal@google.com> resolve merge conflicts of 0c2f0700a5 to ub-launcher3-master.

Change-Id: I92f38e9f4ac4d9b6c5a3000e0971d2bc417bd3c6
0c2f0700a55080318a4c21457408abb8af26740d 24-Nov-2015 Sunny Goyal <sunnygoyal@google.com> Only fetching firstInstallTime for an activity when required

Change-Id: Ia16c05718938849f4250802d8770ddfe6dbef055
/packages/apps/Launcher3/src/com/android/launcher3/AppInfo.java
aa8ef119f18864f4ab41c12f9c2ad6d7f643a0a9 13-Jun-2015 Sunny Goyal <sunnygoyal@google.com> Refactoring ItemInfo

> Changing dragObject to ItemInfo
> Removing dropPos which is always null
> Removing requiresDbUpdate which is only used in CellLayout

Change-Id: I753ddaae0880c8a9bfee5a1266095ff34610284a
/packages/apps/Launcher3/src/com/android/launcher3/AppInfo.java
5183285847816cee9d0db6a8a7ab1a5929163e4e 16-Jun-2015 Sunny Goyal <sunnygoyal@google.com> Using component key for app search results

Change-Id: Idc610cde340331892a5fabfa8bf952d136675f81
/packages/apps/Launcher3/src/com/android/launcher3/AppInfo.java
5f4e0fdd2e4edeb9211e2dcd1c99497f175731f8 22-May-2015 Winson Chung <winsonc@google.com> Moving all apps code into sub package.

- Renaming resources, dimens, etc to be more consistent
- Removing old AppsCustomize resources and other unused code

Change-Id: I15ce35e7cb7a9b9344fc7103963e4e4c9e45d89a
/packages/apps/Launcher3/src/com/android/launcher3/AppInfo.java
82b016cb56540fe26213e817dd0dd668099c8e20 09-May-2015 Winson Chung <winsonc@google.com> Trim all whitespace from titles and labels.

Bug: 20953160

Change-Id: I1610df5e445a4139522226f68fa6439926bc70c6
/packages/apps/Launcher3/src/com/android/launcher3/AppInfo.java
3f471440a8b6b71d4c15501a96befd3b715c9e8f 09-Apr-2015 Hyunyoung Song <hyunyoungs@google.com> WidgetTray revamp work
- RecyclerView is rendering
- Animation is connected
- Drag and drop is now handled
- UI tweaking: background, margins, more to come.
- Flicker and preview not loading issue:
fixed height for the horizontal scroll view.
- Shortcuts are added
- Widget Preview loading should support shortPress for drop
- UI tweaks left: overlay of arrow when there are more items to scroll
- icons are added in the section header
- Sorting of widget sections and widget horizontal list
- Adding all the padding constants to dimen.xml file
- RecyclerView should only support one view type

For items to be addressed in follow up patches OR CLs,
TODO is added to the comment.

b/19897708

Change-Id: Ibfc4da1696a23d20bada93db46e126706eb13cdc
/packages/apps/Launcher3/src/com/android/launcher3/AppInfo.java
34b6527cefd36fbd5da78464ce9771e379158552 12-Mar-2015 Sunny Goyal <sunnygoyal@google.com> Lazy loading high res icons

> Loading low-res icons for icons which are not visible on
the homescreen.

Change-Id: I8ac7bf09f6030ed554cb60a4cd402f3f36ffe12b
/packages/apps/Launcher3/src/com/android/launcher3/AppInfo.java
4fbc3828c5ae1e8c5789ede974447fa365f3c5a1 19-Feb-2015 Sunny Goyal <sunnygoyal@google.com> Updating IconCache to maintain a persistent of icons

> IconDB maintains a DB of icons keyed on ComponentName + User
> During loader, icons & labels are loaded first from the DB, and
if the entry doesn't exist, loaded using packageManager
> After the loader completes, IconDB updates any entry which might have
changed, while the launcher was dead.

Change-Id: I7a6021cb6d1ca1e66fa5a0bdd21e1543e0cf66fc
/packages/apps/Launcher3/src/com/android/launcher3/AppInfo.java
e0f58d73646871497596fb8f7321d407e7565c28 11-Nov-2014 Sunny Goyal <sunnygoyal@google.com> Adding shortcuts corresponding to ManagedUsers automatically.

Bug: 16188104
Change-Id: Ic07578dd187263f59f3c431cbb78dea90d0c24f4
/packages/apps/Launcher3/src/com/android/launcher3/AppInfo.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/AppInfo.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/AppInfo.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/AppInfo.java
b6cc40bc15ef97ba7d677295c9a3870f18eadbe2 13-May-2014 Kenny Guy <kennyguy@google.com> Don't clear flags in startActivity

Move setting flags for starting apps back to
AppInfo from Launcher.startActivity.

Bug: 14839470
Change-Id: I1dc928e9ebce9ce4d411678f94b5ca4284c1255f
/packages/apps/Launcher3/src/com/android/launcher3/AppInfo.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/AppInfo.java
be3e410b7a62fa64ffda825b824862eb9d0c98c5 22-Apr-2014 Sameer Padala <sxp@google.com> Fix source code so it compiles on google3

This is a follow up to cr/65191596 which checked for String + array warnings.

Change-Id: Id70eaa32b63b838b03be21d632c7470039b6423f
/packages/apps/Launcher3/src/com/android/launcher3/AppInfo.java
e3e646e1f05caa2b500cc3deecc3a31457c83302 17-Mar-2014 Anjali Koppal <akoppal@google.com> Make all fields of ItemInfo public.

Change-Id: Iaf99aa125634a467616eedd0888a0affa08d79bd
/packages/apps/Launcher3/src/com/android/launcher3/AppInfo.java
7b168a1bb94044d9ae11004bae18beba9eed46fd 05-Mar-2014 Anjali Koppal <akoppal@google.com> Make classes that extend ItemInfo public.

Also follow up on changes in ag/418520, adding Views to those method
params.

Change-Id: I93e0a3b30d10b969d1903a2f227f6744d709e89a
/packages/apps/Launcher3/src/com/android/launcher3/AppInfo.java
b6d4c2827a1514432b5eda46ff7d484d6cf244ac 27-Jan-2014 Chris Wren <cwren@android.com> update placeholder on package install or restore

Bug: 10778992
Change-Id: I3293d8bab8ae0ef49fc5554531bba5bd6f70932c
/packages/apps/Launcher3/src/com/android/launcher3/AppInfo.java
34c2e6cf7af328aba25c98158161dbad15ae986d 13-Dec-2013 Michael Jurka <mikejurka@google.com> Clean up imports
/packages/apps/Launcher3/src/com/android/launcher3/AppInfo.java
eadbfc564d84aaf1d800da3d0d6edf6312f89648 04-Sep-2013 Michael Jurka <mikejurka@google.com> Move wallpapers to external activity

Also renaming Launcher's ApplicationInfo to
AppInfo since ApplicationInfo is already a
framework class

Change-Id: Ib3e91d2ba4ace458d790a26c0ce850870fd3f146
/packages/apps/Launcher3/src/com/android/launcher3/AppInfo.java