commit | 761884ce27834a5fdc49c633d95a0451bb4c234a | [log] [tgz] |
---|---|---|
author | Gustav Sennton <gsennton@google.com> | Mon Nov 19 17:40:19 2018 +0000 |
committer | Gustav Sennton <gsennton@google.com> | Thu Nov 22 10:27:27 2018 +0000 |
tree | 6aa5be96268bd53e5113b02ae3cfe50707c1fc53 | |
parent | 5c4f214953d0b364df2a37d17cf1fc3d71655d05 [diff] |
Add Notification.Builder.setAllowSystemGeneratedContextualActions(). If an app doesn't add any smart replies or smart (contextual) actions to their (message) notifications the Android platform fills in smart replies and actions for the app. With this CL we add a way to opt out of system generated contextual actions. Bug: 119765729 Test: atest NotificationContentViewTest Change-Id: I6190fd197f74b8353f7113f2d8ba86068c2b78ab