History log of /frameworks/base/core/java/android/content/pm/LauncherActivityInfo.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8f2a478d9de867cf28427c481c5498fe4b5f23fb 23-Jun-2017 Makoto Onuki <omakoto@google.com> Fix activity icon badging for non-bitmap icons

Bug 62930145
Test: Manual test with development/samples/ShortcutDemo/launcher/

Change-Id: I8d0eed2e1f93a3b04a6a078c25cefbfc47c528a4
/frameworks/base/core/java/android/content/pm/LauncherActivityInfo.java
0d1fd8d09163566d2c7eb72037f63b6404ada642 12-Oct-2016 Amith Yamasani <yamasani@google.com> Secure MATCH_UNINSTALLED_PACKAGES across users

Introduce a new internal flag MATCH_ANY_USER for genuine uses
of searching through all apps on the device.

Some temporary accommodations for Launchers that reach across
to the work profile until we have a new LauncherApps API to do
that officially.

Bug: 31000380
Test: CTS tests added
Change-Id: I2e43dc49d6c2e11814a8f8d1eb07ef557f31af34
/frameworks/base/core/java/android/content/pm/LauncherActivityInfo.java
45d3e977487da262a58bbfc5650c99a2d94aba9f 31-Mar-2016 Sunny Goyal <sunnygoyal@google.com> Changing LauncherApps to resolve activity by component name

This makes the behavior of resolveActivity similar to isActivityEnabled.
Not that starting this activity may still fail due to other reasons.

Bug: 27549770
Change-Id: I924d7aa2305c64fd319ca1e38058f9f956c0c256
/frameworks/base/core/java/android/content/pm/LauncherActivityInfo.java
bc48d8c6a8189c7043b47f629aab71d09d567388 31-Mar-2016 Sunny Goyal <sunnygoyal@google.com> Chaning LauncherActivityInfo to return a density specific non-badged icon

Bug: 27877821
Change-Id: I57c39c197b2480d9620a1719ace076cc6c936652
/frameworks/base/core/java/android/content/pm/LauncherActivityInfo.java
0736e201257177f516b41ce215d71911975039e6 24-Nov-2015 Sunny Goyal <sunnygoyal@google.com> Fetching firstInstallTime on demand

Change-Id: I96442aaf119553ffb0ea94ff06713752e4490e0b
/frameworks/base/core/java/android/content/pm/LauncherActivityInfo.java
1281b1809f0c3d4e0dfe185f7974ac930e260311 29-Apr-2015 Ricky Wai <rickywai@google.com> Fix LauncherActivityInfo.getBadgedIcon() cannot get high density icon

LauncherActivityInfo.getBadgedIcon() could not get high density icon,
because ResolveInfo.getIconResource() always return 0 when it is a badged.

Bug: 19816250
Change-Id: I94db6482ce34b9ad627771d73999228e4e133644
/frameworks/base/core/java/android/content/pm/LauncherActivityInfo.java
7e19f5016f1757e70520ea6e36ad9fa3b5d84b84 30-Jan-2015 Amith Yamasani <yamasani@google.com> Use ResolveInfo for label and icon for LauncherActivityInfo

Instead of using the ActivityInfo, use the ResolveInfo so that
any label or icon specified on the intent-filter is used.

Also handle the density param in getIcon()

Bug: 18482039
Change-Id: I65cb7adb34b2e472bfc68e7734f3a40fd0a6244c
/frameworks/base/core/java/android/content/pm/LauncherActivityInfo.java
c7d62f02b8acfd0a6b31f8544ec2c07e780fe4bb 05-Sep-2014 Svetoslav <svetoslavganov@google.com> Addressing API council comments for UserManager.

bug:17390424

Change-Id: I498d2541289915cb7db16e5c3249ccc7a7dc5ee6
/frameworks/base/core/java/android/content/pm/LauncherActivityInfo.java
c71c42fdb2ee54a419dc8eb0a5f4f82532b16c0c 06-Aug-2014 Svetoslav <svetoslavganov@google.com> Polish of the app widgets cross-profiles feature.

1. Added API for badging an arbitrary drawable at a given location.

2. Updated the icon and previewImage deprecation as they are no longer
returning a badged drawable. The methods to load the icon and the
preview are now just making it easier for a developer to get the
drawables.

3. Fixed a bug in AppWidgetServiceImpl leading to a crash when a user
is removed.

4. Fixed a bug in AppWidgetHost which was unnecessarily caching its
package name and having code paths where the cached value was not
populated when calling into the system.

bug:14991269

Change-Id: I50d011a6597d88814715d5ec04ee67815e8ce0bd
/frameworks/base/core/java/android/content/pm/LauncherActivityInfo.java
e781c81d3394642583d555e7a5d6f6f8f63bc538 29-May-2014 Amith Yamasani <yamasani@google.com> Tweak LauncherApps API based on feedback

UserHandle must be after packageName/componentName.
Improved javadoc for density.
Added getApplicationInfo().
Remove synchronized methods.

Temporarily @hide the old APIs to make sure they continue to work
for unbundled launchers.

Bug: 15025908
Change-Id: Iee6336b54e1b4d5c43f1e643062327ff463cb695
/frameworks/base/core/java/android/content/pm/LauncherActivityInfo.java
0150b48c4c4876a90b74826f864a4d864921166e 26-Apr-2014 Amith Yamasani <yamasani@google.com> Merge "Handle density request in LauncherActivityInfo"
30acde7e90105d15b1639a24db3f9978e664dded 26-Apr-2014 Amith Yamasani <yamasani@google.com> Handle density request in LauncherActivityInfo

Change-Id: I4e8dc8ef1454b3881bdb80ae118e2d0d306642f3
/frameworks/base/core/java/android/content/pm/LauncherActivityInfo.java
86a6430e526efc9656c539f9d7e5dea34219ef44 25-Apr-2014 Kenny Guy <kennyguy@google.com> Provide access to ActivityInfo.name from LauncherActivityInfo

Change-Id: Ia34900f3e232b59f3879dbb3cb3131498023b8ac
/frameworks/base/core/java/android/content/pm/LauncherActivityInfo.java
4f58263d02f296430a9653126d28501e95c7bb6c 19-Feb-2014 Amith Yamasani <yamasani@google.com> Launcher APIs and broadcasts for managed profiles

UserManager
- Corp badging
- Querying list of managed profiles

Launcher API
- LauncherApps and Service to proxy changes in managed profile
to the launcher in the primary profile
- Querying and launching launchable apps across profiles

Change-Id: Id8f7b4201afdfb5f414d04156d7b81300119289e
/frameworks/base/core/java/android/content/pm/LauncherActivityInfo.java