Mark RECOGNIZE_SPEECH Filter as ONLY_IF_NO_MATCH_FOUND

Test: Manual
Bug: 197495312
Change-Id: I5e65a183a907d0f16649ad84a1833e25e6065db9
This commit is contained in:
Jonathan Scott
2021-08-26 16:22:06 +01:00
parent 0a819742a3
commit b7c2dbaa3d

View File

@@ -215,7 +215,7 @@ public class DefaultCrossProfileIntentFiltersUtils {
private static final DefaultCrossProfileIntentFilter RECOGNIZE_SPEECH =
new DefaultCrossProfileIntentFilter.Builder(
DefaultCrossProfileIntentFilter.Direction.TO_PARENT,
/* flags= */0,
/* flags= */ ONLY_IF_NO_MATCH_FOUND,
/* letsPersonalDataIntoProfile= */ false)
.addAction(ACTION_RECOGNIZE_SPEECH)
.addCategory(Intent.CATEGORY_DEFAULT)