538c440c33fc2b9e0bf0c680ddbb14f9a079ff6a |
|
11-May-2016 |
Makoto Onuki <omakoto@google.com> |
Remove ShortcutManager Bug 28704708 Change-Id: If7b739adeec38d81d554fc1cf34c81194f5d67b9
/frameworks/base/core/java/android/content/pm/ShortcutInfo.java
|
4d36b3a8c5ba1289d851ef337e46709bba333100 |
|
27-Apr-2016 |
Makoto Onuki <omakoto@google.com> |
ShortcutManager: finishing touches - Change back the throttling quota to 10 calls / day - Foreground apps are no longer throttled, and when an app comes to foreground the call counter will be reset. - When the system locale changes, reset throttling for all packages for all users. See LocalService.onSystemLocaleChangedNoLock() for how it's performed. Because the reset must happen before any other apps have a chance to publish shortcuts, the logic is not straightforward. - Added an internal API to reset the throttling upon inline-reply from a notification. - Stop supporting icons from "content:" URIs - Improved javadoc on several APIs. Also internal refactor needed to this: - ShortcutUser.getAllPackages()/getAllLaunchers() are no longer accessible to outer code to prevent accidentally adding/removing the content. Outer code should use forAllPackages() / forAllLaunchers(). Bug 27923857 Change-Id: I002511193d1d33718163bb1dabe77610bde58198
/frameworks/base/core/java/android/content/pm/ShortcutInfo.java
|
be73a8068ff3babe5b0a4f12656731ba8eea6149 |
|
15-Apr-2016 |
Makoto Onuki <omakoto@google.com> |
ShortcutManager: Categories should be Set, not List. Bug 27923857 Change-Id: Ife859da8e66478174f6c4463316886a23e5aa4e0
/frameworks/base/core/java/android/content/pm/ShortcutInfo.java
|
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/ShortcutInfo.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/ShortcutInfo.java
|
2c0ae91f2d22b2c9a3b506d3a7f60bc31f72c57d |
|
31-Mar-2016 |
Jeff Sharkey <jsharkey@google.com> |
Merge changes Ifecff4f1,Ia302de46 into nyc-dev * changes: Make preferred activities direct-boot aware. Make Parcelable classes final, API cleanup.
|
70168dde6e1da06042818350fc6e258188d001ae |
|
31-Mar-2016 |
Jeff Sharkey <jsharkey@android.com> |
Make Parcelable classes final, API cleanup. Remove some Context methods that leaked through. Add lint rule to recommend using List<? extends Parcelable> instead of Parcelable[]. Bug: 27932224, 27930145, 27932911 Change-Id: Ia302de46cdb0c5101fa175a09316df91aeefcf0d
/frameworks/base/core/java/android/content/pm/ShortcutInfo.java
|
0e65d36607abd3d3c2315184bd8c46a77a271c1e |
|
29-Mar-2016 |
Makoto Onuki <omakoto@google.com> |
Clean up javadoc. Bug 27548047 Change-Id: I10410c969136db634bb98687710d011d159bca07
/frameworks/base/core/java/android/content/pm/ShortcutInfo.java
|
e3ae7ec14a3204ee502219b6bb46dc9ab8e24a36 |
|
30-Mar-2016 |
Makoto Onuki <omakoto@google.com> |
ShortcutManager: Support secondary text field. Bug 27548047 Change-Id: I2d184bab2c26e351b7326945fa0cacf826f16d1e
/frameworks/base/core/java/android/content/pm/ShortcutInfo.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/ShortcutInfo.java
|
de66737ae9c5d5c94155820fad65224a83d04c3d |
|
15-Mar-2016 |
Makoto Onuki <omakoto@google.com> |
Support multi-launcher Each launcher can have its won set of pinned shortcuts. - Shortcuts pinned by others should look like not pined to this launcher. This affects how ShortcutQueryFLAG_GET_PINNED works, as well as what ShortcutInfo.isPinned() returns. - When pinning a shortcut, it should be a visible one to itself -- a non-dynamic shortcut that's pinned by another launcher but not by the caller is not visible, so this launcher cannot pin it either. - Also clean up the dynamic shortcut adding. Bug 27548047 Change-Id: Ia478a2ea19b7d35557ec6ea42384c79a84d6b8de
/frameworks/base/core/java/android/content/pm/ShortcutInfo.java
|
7a6a05f0ccc8c57496d0a1e2b0882ab7de3175e5 |
|
11-Mar-2016 |
Makoto Onuki <omakoto@google.com> |
Test for ShortcutManager.updateShortcuts(), also ... fix bugs Bug 27548047 Change-Id: Ia55d35521912dcba2fb1bb9c20588a83d1a2d004
/frameworks/base/core/java/android/content/pm/ShortcutInfo.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/ShortcutInfo.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/ShortcutInfo.java
|