c3104157d8f12238b0ac8cf6c6f963dadb44167c |
|
22-May-2014 |
Griff Hazen <griff@google.com> |
Api updates for wearable extensions to notifications 1. Move Extender outside of Builder 2. Rename apply/applyTo to extend 3. Move Wearable extenders into Notification.java 4. Collapse Builder model into single classes 5. Use Bundle for storage: no new parcelable types. Minor fix to RemoteInput to use flags int for boolean options. Change-Id: I40012fd0458ec103eabf75ed4c91f636e02f4c8f
/frameworks/base/core/java/android/app/RemoteInput.java
|
9e1379f1126c1101f69445572bd441b2211791fa |
|
20-May-2014 |
Griff Hazen <griff@google.com> |
Fix sdk docs build for framework from remote input api addition. Change-Id: I6a6f3df06d924fe72f67466d67d9feced8d8719f
/frameworks/base/core/java/android/app/RemoteInput.java
|
5cadc3b00aa775a63518383046c902b130e09b4c |
|
20-May-2014 |
Griff Hazen <griff@google.com> |
Add RemoteInput, Grouping, and Extender to Notification api. RemoteInputs annotate actions and content intents to request input from the user as part of an intent being sent. Results are sent along using ClipData to avoid unparcel of developer provided bundle values. A helper method is expexted to be used to extract results. Grouping allows notifications to be bundled together, with an optional summary notification for display on older platforms. SortKey is an important part of grouping since child notifications will likely have a prescribed ordering. It is also useful in top level notifications for apps that want to provide an ordering all other fields being equal. Also provide a fluid way to to extend Actions and Notifications using Extenders, e.g.: Notification n = new NotificationCompat.Builder(context) .setOption1() .apply(new SomeExtender() .setOption2()) .build(); This helps extension libraries provide a nice API experience for devs. Change-Id: Ib3438ef854772c2c34d21bf1eb4ed7c9e032106f
/frameworks/base/core/java/android/app/RemoteInput.java
|