diff options
author | Tony Mak <tonymak@google.com> | 2018-10-08 19:19:10 +0100 |
---|---|---|
committer | Tony Mak <tonymak@google.com> | 2018-10-10 10:12:16 +0100 |
commit | 638430e76e813311c36197e6141810fda9d299fd (patch) | |
tree | fdc66a7e8306018b3b9a7e457d02326c6a09d151 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | dfc12dba82694d04557719d605fb1313b38799d7 (diff) |
Fix and cleanup smart replies checking
1. We now apply smart replies to the first action button that has
(freeform) remote input. For example, if the notification have
both reply and reply all buttons, smart replies will be applied
to the first button only.
2. Enforced getAllowGeneratedReplies check in system generated
smart replies.
3. Fixed an bug that smartRepliesAdded is not called for system
generated smart replies.
BUG: 111546109
BUG: 111406942
Test: atest com.android.server.notification.NotificationTest
Test: Check apps generated smart replies via Messenger
Test: Check system generated smart replies via Hangouts
Change-Id: I4db34f557f7e9988be612e4162347b86393d1faf
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions