summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorGustav Sennton <gsennton@google.com>2018-11-06 16:12:48 +0000
committerGustav Sennton <gsennton@google.com>2018-11-14 20:52:01 +0000
commit1463d83d4e5e3096dd1d56f854df46dae02c35cb (patch)
tree9437f6c4ee1c45e383996a068a71c4e5b6213731 /tools/aapt2/java/JavaClassGenerator.cpp
parent4d1f583068f3f759ec19dd00142a2f8b1717a6a5 (diff)
Add a Notifications API for contextual (smart) actions.
With this CL we add a new semantic action to Notification.Action to represent contextual actions - i.e. actions specific to the current notification. Contextual actions will be displayed differnently to regular actions. If the app itself does not provide smart replies or smart actions the framework will generate smart replies and actions and put those in the notification. The UI for smart actions will be added in a separate CL. With this CL we also remove a couple of unnecessary fields, namely: NotificationInflater.mSmartActions NotificationInflater.AsyncInflationTask.mSmartActions the actions stored in these fields are stored in NotificationData.Entry anyway. Bug: 119010281 Test: write an app adding an Action with the new semantic type and ensure that (contextual) action doesn't show up with the other actions. Test: atest SystemUITests Change-Id: Icd192fe2273b0474729dd4e413e0a6c2d75ff0fa
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions