diff options
author | cecilia <xiaotinghong@google.com> | 2021-04-27 21:19:27 -0400 |
---|---|---|
committer | Cecilia Hong <xiaotinghong@google.com> | 2021-04-28 21:48:05 +0000 |
commit | a2655ec281812f3e318ef341cb52740729550a83 (patch) | |
tree | 30998b99175cf88f230e337bd4a99e580ac87d9b /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | a2bbcf9523220a47a3cd7f5204e525edd2d358c5 (diff) |
Skip showing the Smartspace recommendation card if it's an empty update.
Smartspace always sends out an update on headphones connection for a reliable triggering:
- A valid recommendation list with >= 3 items;
- Otherwise, an empty list only for triggering.
If it's the latter case, the recommendation should not be shown.
Fixes: 186585554
Test: Studio builds
Change-Id: I441454809f7c6b10e21d18f46c10e01efc892db0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions