[go: nahoru, domu]

History log of /frameworks/base/core/java/android/content/pm/LauncherApps.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
538c440c33fc2b9e0bf0c680ddbb14f9a079ff6a 11-May-2016 Makoto Onuki <omakoto@google.com> Remove ShortcutManager

Bug 28704708

Change-Id: If7b739adeec38d81d554fc1cf34c81194f5d67b9
/frameworks/base/core/java/android/content/pm/LauncherApps.java
1d616f0d880d0a4109e811221f3c3ff2e016013b 13-Apr-2016 Makoto Onuki <omakoto@google.com> Merge "ShortcutManager: Address API review feedback." into nyc-dev
1fe7dfa66aaf37045c62094438ab3db2ee5403c5 12-Apr-2016 Sunny Goyal <sunnygoyal@google.com> Merge "Changing LauncherApps to resolve activity by component name" into nyc-dev
b6d3523dfb5d73ddda4b750a82c059cdc42acf8e 05-Apr-2016 Makoto Onuki <omakoto@google.com> ShortcutManager: Address API review feedback.

- "delete" -> "remove"
- add/deleteDynamicShortcut() now takes a list.
- Throttling default settings is now 2 calls / hour.

- Add categories to ShortcutInfo.
- getIconResourceId() is now public

Bug 27923857
Bug 27548047

Change-Id: I8457b30e4b2f7c63ab2988648b37178fd16ea45b
/frameworks/base/core/java/android/content/pm/LauncherApps.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/LauncherApps.java
5ba0d3e3a3035b67d2ce3a59975145b1e0061ef4 11-Apr-2016 Makoto Onuki <omakoto@google.com> ShortcutManager: First cut of CTS

Bug 27548047

Change-Id: Idd7a768ea4fee44c2cf6e3bd473cea9e67f5f7cd
/frameworks/base/core/java/android/content/pm/LauncherApps.java
abe8442951ff88aa01ed882adb54fb1b3472ca3e 07-Apr-2016 Makoto Onuki <omakoto@google.com> Add UserHandle to ShortcutInfo, and simplify LauncherApps APIs.

- Also fixes the bitmap recycle bug in the service.

Fixes 28053541

Change-Id: I2b244feda0f85c60e2c15af427fcad95ad5e6da5
/frameworks/base/core/java/android/content/pm/LauncherApps.java
aa8b94aa79df94d77d0f7698ce532ac98f197a99 17-Mar-2016 Makoto Onuki <omakoto@google.com> Improve ShortcutSrvice

- Delayed save
- Reset logic update

Bug 27548047

Change-Id: Ibd52f90a7986991974301b7ff1f1d8520f9ef0d9
/frameworks/base/core/java/android/content/pm/LauncherApps.java
4dbe0ded4ae9faaef580be80184fca0749e27198 15-Mar-2016 Makoto Onuki <omakoto@google.com> Fix launcher side callback

- Fix crash in work profile case
- Calculate shortcuts for each caller
- Add tests

Bug 27548047

Change-Id: I1a5b6a96956abac75d01eb5cc1cec9a9e8e379a3
/frameworks/base/core/java/android/content/pm/LauncherApps.java
2d5b465fa9235e66ec176f6d6ffaaa0c18143e41 12-Mar-2016 Makoto Onuki <omakoto@google.com> Implement the launcher side permission.

Only the default launcher can call the LauncherApps shortcut APIs.

Bug 27548047

Change-Id: I6d597fcad80c5201a2f93b8cbecd567fc79926d8
/frameworks/base/core/java/android/content/pm/LauncherApps.java
5504622fb01ab9774b5e73d05f86ee03a8b68ab7 08-Mar-2016 Makoto Onuki <omakoto@google.com> ShortcutManager: add remaining APIs.

- Icons are now persisted. (under /data/system_ce, as PNGs)
- the "load icon" APIs in LauncherApps are supported.
- Implement updateShortcuts()

- Addressed all the comments on the previous CL
- @hide the newly added constructor for PersistableBundle

- Enhance incoming shortcut validation
- A lot of internal clean-up.

Bug 27548047

Change-Id: I8e3c1ccd3e0a997a6d271c84d81170f0c022b60e
/frameworks/base/core/java/android/content/pm/LauncherApps.java
43204b8357d781f284037fb8b7b7050ed04a2103 09-Mar-2016 Makoto Onuki <omakoto@google.com> Implement LauncherApps.startShortcut().

Bug 27548047

Change-Id: I357732e22be0959fb573fd6cdaee7c6b439ef7c4
/frameworks/base/core/java/android/content/pm/LauncherApps.java
6f7362d92573e4ae693bc513dca586d6a4eb087b 04-Mar-2016 Makoto Onuki <omakoto@google.com> Introducing ShortcutManager

What's supported:
- Most APIs are implemented, except for SM.updateShortcuts(),
the icon APIs in LA, and LA.startShortcut().
- Persisting information, except for icons
- Throttling

In addition, now PersistableBundle has a public copy
constructor from a Bundle. (Do we want to @hide it?)

TODOs:
- Add icon support
- Implement missing APIs
- Listen to PACKAGE_* broadcasts and do clean-up
- Support multi-launcher apps (pinned shortcuts per launcher)
- Dev option to reset throttling
- Load throttling config from Settings
- Backup & restore
- Figure out LauncherApps permissions (BIND_APPWIDGETS??)
- Other minor TODOs in the code
- Better javadoc

Note: This requires Idf2f9ae816e1f3d822a6286a4cf738c14e29a45e

Bug 27325877

Change-Id: Ia5aa555a4759df5f79a859338f1dc5e624cd0e35
/frameworks/base/core/java/android/content/pm/LauncherApps.java
f8880561e67e1da246970b49b14285efd4164ab1 26-Feb-2016 Jeff Sharkey <jsharkey@android.com> When system server goes down, crash apps more.

Similar to first patch, but now using new "rethrowFromSystemServer()"
method which internally translates DeadObjectException into
DeadSystemException. New logic over in Log.printlns() now
suppresses the DeadSystemException stack traces, since they're
misleading and just added pressure to the precious log buffer space.

Add some extra RuntimeInit checks to suppress logging-about-logging
when the system server is dead.

Bug: 27364859
Change-Id: I05316b3e8e42416b30a56a76c09cd3113a018123
/frameworks/base/core/java/android/content/pm/LauncherApps.java
772427555f2624b38124ab8e586ac0ccc451eb53 15-Jan-2016 Kenny Guy <kennyguy@google.com> Update PackageMonitor and LauncherApps for suspended apps.

Allow launchers to read ApplicationInfo from LauncherApps
to support suspended flag.
Provide callback to launchers via LauncherApps for suspend
/unsuspend broadcasts.

Change-Id: I772a121c45f60f926e8343bb6f181bef4e8929d3
/frameworks/base/core/java/android/content/pm/LauncherApps.java
6cbc2fec91c8eae62b0ed578523af4f9765f9c17 24-Nov-2015 Sunny Goyal <sunnygoyal@google.com> Using ParceledListSlice to get the list of activities in LauncherApps

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

Change-Id: I96442aaf119553ffb0ea94ff06713752e4490e0b
/frameworks/base/core/java/android/content/pm/LauncherApps.java
172a21697dca96c7665f0c36e27a05f8ed00e81a 19-Jun-2015 Kenny Guy <kennyguy@google.com> Fix LauncherApps registerCallback adding duplicate callbacks.

LauncherApps wraps the callback passed so checking
using List.contains isn't valid.

Bug: 21947184
Change-Id: Ice0973935574adda15e295073faedb62374ff627
/frameworks/base/core/java/android/content/pm/LauncherApps.java
5892c9a2e2675323d13a8a2d64b46ecfcff8d424 20-Apr-2015 Sunny Goyal <sunnygoyal@google.com> Potential fix for apps disappearing in launcher on system server crash

Based on Ifda3fda209141b361a286fc033217acfa0ec196e

Bug: 20420558
Change-Id: Icfcaf585b8a19853fe2c0fd0e4f06a2efc087938
/frameworks/base/core/java/android/content/pm/LauncherApps.java
08c7116ab9cd04ad6dd3c04aa1017237e7f409ac 28-Feb-2015 John Spurlock <jspurlock@google.com> Remove unused imports in frameworks/base.

Change-Id: I031443de83f93eb57a98863001826671b18f3b17
/frameworks/base/core/java/android/content/pm/LauncherApps.java
dd6cb55b0ef324096ff9f04a75864ecc43397c4f 31-Oct-2014 Kenny Guy <kennyguy@google.com> Tidy up unused hidden methods in LauncherApps

Bug: 17483329
Change-Id: Ic4fbb180bafaa4d2c5ba332fe228c3d9baf4761c
/frameworks/base/core/java/android/content/pm/LauncherApps.java
b6edee0dadba9ceef40601c4779332d6d3a21281 11-Sep-2014 Kenny Guy <kennyguy@google.com> Hide APIs renamed during API review of LauncherApps

Bug: 17390765
Change-Id: I79a979365005b13a2268b1cfe455241ae4fecb51
/frameworks/base/core/java/android/content/pm/LauncherApps.java
10a574fbf3c786791b84078f41932f83ad3e34ff 26-Aug-2014 Kenny Guy <kennyguy@google.com> Renaming of LauncherApps apis

Bug: 17008230, 17390765
Change-Id: Id03aa5fab0a88e9ca6f8279fa4e6c5f7d356c541
/frameworks/base/core/java/android/content/pm/LauncherApps.java
f939dbaf766bd81b10bfc44fd493647180eabad8 15-Aug-2014 Kenny Guy <kennyguy@google.com> First part of renaming methods in LauncherApps.

Added new versions of the APIs that need
renaming.

Bug: 17008230
Change-Id: Ic74d21115dd250082f6dbc45d1301635cc176cfc
/frameworks/base/core/java/android/content/pm/LauncherApps.java
65810072d6ad7c1c2a019cf37c3156e3971f491a 07-Aug-2014 Kenny Guy <kennyguy@google.com> Remove LauncherApps method left for compat.

Method was left while updating unbundled apps
which have now been updated.

Bug: 16864685
Change-Id: I687cb23a1b60b88eeb988f3cf2604dc24b739121
/frameworks/base/core/java/android/content/pm/LauncherApps.java
b42c89bfb0415d2a4b1d8b7247309f15fd348974 28-Jul-2014 Kenny Guy <kennyguy@google.com> Add optional handler to LauncherApps callback

Allow caller to pass in handler to LauncherApps
when adding a callback.
Stop apps adding callbacks twice.

Bug: 16401733
Change-Id: I2e192091c1b79acb905d899e96d6dacd45e561da
/frameworks/base/core/java/android/content/pm/LauncherApps.java
ad97b8b905bb6f0a30241bea27a56572068c39ab 30-Jul-2014 Amith Yamasani <yamasani@google.com> Potential fix for apps disappearing in launcher on system server crash

Throw RuntimeException to launcher if there was a RemoteException
from LauncherAppsService. This matches the behavior of previous
calls that were made to PackageManager that could have resulted
in a RemoteException if the system server was dying/dead.

Bug: 15687732
Change-Id: Ifda3fda209141b361a286fc033217acfa0ec196e
/frameworks/base/core/java/android/content/pm/LauncherApps.java
466d203c4ff032477d9a6bdb077ce3cd9b4fe070 23-Jul-2014 Kenny Guy <kennyguy@google.com> Add method to launch settings app details page.

Add a method to LauncherApps to allow launchers to
show application details for an app in a managed profile.

Bug: 16371359
Change-Id: I23acb4365c09e4a7b9fa742ae6fc7e04434f45aa
/frameworks/base/core/java/android/content/pm/LauncherApps.java
44b6dee70eb2dfb7e26aeec9b2640d64e4f7d199 10-Jul-2014 Kenny Guy <kennyguy@google.com> Remove old listeners from LauncherApps.

Removed functions kept to support
transition from old api names to new.
Fix bug with attempting to remove from
listeners rather than callbacks list.

Bug: 15518265
Change-Id: Ief08a6bd8289608875c1cbf5af9a4389c6e9adfd
/frameworks/base/core/java/android/content/pm/LauncherApps.java
c0154537b0b7926ce6a3c778597b3c2735ca5497 16-Jun-2014 Kenny Guy <kennyguy@google.com> Update API for launcher apps to use abstract class.

Leaving old API behind until unbundled launcher
has been updated.

Bug: 15518265
Change-Id: Ic26878224df51093d7d08651adda08f760b405be
/frameworks/base/core/java/android/content/pm/LauncherApps.java
992fdbeff296670e62078dd0c3d3b2b9bb2c95ec 12-Jun-2014 Amith Yamasani <yamasani@google.com> Undo some API changes that affect third party launcher writers

Remove hidden interface methods that were added temporarily for
launcher compatibility. These cannot be implemented by third parties
if they're hidden from the SDK.

Bug: 15574383
Change-Id: I976256da4278b7077f8d357e971e8cadb4d2d686
/frameworks/base/core/java/android/content/pm/LauncherApps.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/LauncherApps.java
53fa4ec7f466e70fe3e33d15c4abfc9bb557eb10 29-Apr-2014 Kenny Guy <kennyguy@google.com> Extend LauncherApps service to expose enabled state.

Provide methods for checking if a package or activity
is enabled for a given profile.

Change-Id: If9cb15dc9398a709e60e7b689b664c24c49fcc16
/frameworks/base/core/java/android/content/pm/LauncherApps.java
5abdbb656063160ff8df2306bd01feba0714d4c1 09-Apr-2014 Amith Yamasani <yamasani@google.com> Avoid security exception when requesting badging

When requesting badged icons, use APIs that don't require the caller
to have MANAGE_USERS permission.

Change-Id: I218cdf5194f38f4affa1874a6fcb43a040ed5295
/frameworks/base/core/java/android/content/pm/LauncherApps.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/LauncherApps.java