59d562bdab983469340a054bd3bc888034fa6bc8 |
|
13-Dec-2016 |
Shane Brennan <shanerb@google.com> |
Add support for audio-focused notifications. This is the compat "twin" to c/1702766 which added the same features to Android O's Notification and RemoteInput classes. Add extras keys and methos to Notification and RemoteInput for notifications whose contents have an audio representation and whose RemoteInputs can accept data as well (useful for, e.g., voice messaging applications). The motivator for this change is it enables an end-to-end flow for audio messaging including * System receives the audio message * Replying to the message with the user's voice * App receives the audio reply data Note that this CL just adds the capabilities, but does not add any UI or implementation to perform the above flow. Note that this CL includes a workaround to a bug in RemoteInput#addResultsToIntent for versions prior to SDK 26. You can see that workaround in RemoteInputCompatApi20#addResultsToIntent. Test: Added in this CL Change-Id: I5be31a8cfbbe44ba19657ccd57821d5855c9c8af
/frameworks/support/compat/jellybean/android/support/v4/app/RemoteInputCompatJellybean.java
|
e22ae93397361d1bd5568fa51d82e2f7553712e1 |
|
08-Dec-2016 |
Alan Viverette <alanv@google.com> |
Remove unnecessary @TargetApi annotations Bug: 33412815 Test: ./gradlew assemble Change-Id: I0be3358fb97d6e637357c253f3f43f39355a643a
/frameworks/support/compat/jellybean/android/support/v4/app/RemoteInputCompatJellybean.java
|
8f886fe8c7e23fe6ccb8734167c960c2ed3429c3 |
|
25-Oct-2016 |
Alan Viverette <alanv@google.com> |
Annotate support classes with RequiresApi / TargetApi Also inlines version codes in SDK_INT checks so that lint understands them. Removes some unnecessary TargetApi annotations. Bug: 29630077 Change-Id: I67a9235480ca14711b0496a54beca5c0e6c6b2d1
/frameworks/support/compat/jellybean/android/support/v4/app/RemoteInputCompatJellybean.java
|
32d191750bbfbad479cc84a8cdc2f42244bfee1f |
|
11-May-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Move notification / remote input to compat Change-Id: I4ebc14dcfe1ee08f67b851bfe7bcdfccd25dbae4
/frameworks/support/compat/jellybean/android/support/v4/app/RemoteInputCompatJellybean.java
|