summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorGustav Sennton <gsennton@google.com>2019-01-08 11:20:49 +0000
committerGustav Sennton <gsennton@google.com>2019-01-21 15:03:26 +0000
commita31f6aede1a8ab2a19aa4c6a83b4766bb4eaf882 (patch)
tree808fb60e73c81c9aafc10e6a1e307bfc319f0c95 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent96583d40d1f92084bb19052bc2aa3567d9a127c3 (diff)
Add exp flag for min number of sys gen smart replies in notifications
For system (assistant) generated smart replies we want to ensure the replies don't seem biased (see example [1]). Therefore we here add an experiment flag that determines the minimum number of replies N to show in a notification. If we can't fit N replies into the notification we remove all replies from that notification (i.e. we show zero replies). [1] Example of biased replies: Message: "Hi, how are you?" Replies: "Good", "Great!", "Bad" using only one reply here ("Good") might be seen as biased. Bug: 120779592 Test: atest SystemUITests Test: call "adb shell settings put global smart_replies_in_notifications_flags enabled=true,min_num_replies=X" for different values of X and ensure the behaviour is correct. Change-Id: I898850f7895d0fd43ec6788095162f3138cd62cb
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions