diff options
author | Milo Sredkov <miloslav@google.com> | 2018-11-27 15:52:10 +0000 |
---|---|---|
committer | Milo Sredkov <miloslav@google.com> | 2018-12-11 10:09:28 +0000 |
commit | 22b8d9eba488c57e6066b98d4fe4d59c65100bd6 (patch) | |
tree | 6160c25a5da832e574eb8c2d103a22b15b80d9d6 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 7209d7d633085b41a4ad7818605ebf525db25665 (diff) |
Make smart suggestion generation configurable
Modify the NotificationAssistentService implementation to observe the
flags in Global.SMART_SUGGESTIONS_GENERATION_FLAGS. Also refactor
Assistant.SettingsObserver into a separate class so it could be used
by both Assistant and SmartActionsHelper and tested properly.
Bug: 111437455
Test: make ExtServices && adb install -r $OUT/system/priv-app/ExtServices/ExtServices.apk && atest ExtServicesUnitTests
Test: Try different settings like "adb shell settings put global smart_suggestions_in_notifications_flags generate_replies=true,generate_actions=false" and observe.
Change-Id: I6267988e3e7b87f8608b8beba3c9a645b307516f
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions