commit | a2655ec281812f3e318ef341cb52740729550a83 | [log] [tgz] |
---|---|---|
author | cecilia <xiaotinghong@google.com> | Tue Apr 27 21:19:27 2021 -0400 |
committer | Cecilia Hong <xiaotinghong@google.com> | Wed Apr 28 21:48:05 2021 +0000 |
tree | 30998b99175cf88f230e337bd4a99e580ac87d9b | |
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