Merge "Mark RECOGNIZE_SPEECH Filter as ONLY_IF_NO_MATCH_FOUND" into sc-dev

This commit is contained in:
TreeHugger Robot
2021-09-07 01:40:27 +00:00
committed by Android (Google) Code Review

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)