8c2ee58bb9538e43225d7553fd6479a68619a149 |
27-Apr-2017 |
Julia Reynolds <juliacr@google.com> |
Add groupAlertBehavior to notificationcompat Pre O this will remove all sounds and vibrations from relevant grouped notifications. In O+ it'll just set the field on notification. Test: NotificationCompatTest Change-Id: Ida0a26d21f42876f399c3049324cd909d6180c5c Fixes: 37478457
ndroid/support/v4/app/NotificationCompatApi20.java
|
a799d99cf8d83ea72f35eeb623fec4949fea98f4 |
24-Apr-2017 |
Aurimas Liutikas <aurimas@google.com> |
Clean up NotificationCompat Inline methods wrapped with SDK_INT checks. This CL is the first pass of the easility collapsable calls. Bug: 37214421 Test: ./gradlew assemble Change-Id: I64abb0ea76089b6a533610c4e42a856e8b3492ac
ndroid/support/v4/app/NotificationCompatApi20.java
|
eb208559f40e4d035697de178b90c4e56017f218 |
23-Mar-2017 |
Aurimas Liutikas <aurimas@google.com> |
Cleanup WindowInsetsCompat. Combine all three window inset classes into one. We no longer need them to be separate as we use lint. Bug: 32794064 Test: ./gradlew assemble still works Change-Id: I825c2c17ea3bc5cdc3f97b676a0570528437bc6a
ndroid/support/v4/view/WindowInsetsCompatApi20.java
|
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
ndroid/support/v4/app/NotificationCompatApi20.java
ndroid/support/v4/app/RemoteInputCompatApi20.java
|
654a88d32cc6b1da222e07ea0f0c5e431fbfab20 |
24-Jan-2017 |
Alex Hills <ahills@google.com> |
resolve merge conflicts of 3608e08ad8 to master Bug:34360598 Test: Wrote tests (that fail before this CL and now pass), and ran ./gradlew support-compat:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.v4.app.NotificationCompatTest Change-Id: I1507a050b25843d3028a28857505f732c3466f9a
|
b1c1839c8f720bbd47749d77a3a72cab8a3ac36d |
19-Jan-2017 |
Alex Hills <ahills@google.com> |
Fixes compat parceling/unparceling of WearableExtender Actions Makes the compat lib save the allowGeneratedReplies flag correctly on actions so that the value will be correctly saved and retrieved post-build. Bug:34360598 Change-Id: Iec9588613b8e0439181ecff34eddb803064ef4fa Fixes:34360598 Test: Wrote tests (that fail before this CL and now pass), and ran ./gradlew support-compat:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.v4.app.NotificationCompatTest
ndroid/support/v4/app/NotificationCompatApi20.java
|
e22ae93397361d1bd5568fa51d82e2f7553712e1 |
08-Dec-2016 |
Alan Viverette <alanv@google.com> |
Remove unnecessary @TargetApi annotations Bug: 33412815 Test: ./gradlew assemble Change-Id: I0be3358fb97d6e637357c253f3f43f39355a643a
ndroid/support/v4/app/NotificationCompatApi20.java
ndroid/support/v4/app/RemoteInputCompatApi20.java
ndroid/support/v4/view/WindowInsetsCompatApi20.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
ndroid/support/v4/app/NotificationCompatApi20.java
ndroid/support/v4/app/RemoteInputCompatApi20.java
ndroid/support/v4/view/WindowInsetsCompatApi20.java
|
48f8ecac6b082b9e85f0141b84d2c8d3c7ce888f |
17-Jun-2016 |
Alex Hills <ahills@google.com> |
Fixes NotificationCompat not adding generated replies on all api levels am: b75bd093fa am: 3554aad328 am: f3188da6a7 Change-Id: Iecf073ff79cd27883c129c7dd95673701d8bde0e
|
79a141a3eaca2b69ae043c1c6b7a61c7db90d644 |
07-Jun-2016 |
Abhinav Baid <abhinavbaid@google.com> |
Move WindowInsetsCompat to support-compat Move WindowInsetsCompat to the compat/java directory and pull the default method implementations into a base IMPL. Similarly, move the OnApplyWindowInsetsListener interface to compat/java from compat/gingerbread. Also, add a public constructor to WindowInsetsCompat to make its interface fully compatible with WindowInsets. Bug: 29181287 Change-Id: Ib8ccc1e48d526f602b5dbbadf5f2f24b0ce6d456
ndroid/support/v4/view/WindowInsetsCompatApi20.java
|
c158ac834fd71f19bbbdadc71de0d64c99b5d84a |
27-May-2016 |
Julia Reynolds <juliacr@google.com> |
Add custom remoteviews methods to builder. (manual merge due to support lib refactor). Bug: 28822188 Change-Id: I5366f1305322bc19fcb6c789ff8557fe7974461c
ndroid/support/v4/app/NotificationCompatApi20.java
|
32d191750bbfbad479cc84a8cdc2f42244bfee1f |
11-May-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Move notification / remote input to compat Change-Id: I4ebc14dcfe1ee08f67b851bfe7bcdfccd25dbae4
ndroid/support/v4/app/NotificationCompatApi20.java
ndroid/support/v4/app/RemoteInputCompatApi20.java
|