Merge "Mark RECOGNIZE_SPEECH Filter as ONLY_IF_NO_MATCH_FOUND" into sc-dev am: c94785d270 am: 1e5cc29a73

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15685139

Change-Id: I36fd5335fbb9bc3fa970013607eeb1bfa331ac8d
This commit is contained in:
TreeHugger Robot
2021-09-07 02:13:41 +00:00
committed by Automerger Merge Worker

View File

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