Remove REPLY from required semantic actions
Change-Id: Ib6e9beb05e2cbd3f033a58cba8a2e3b550cf7873
Fix: 123590254
Test: manual, on hawk (verifying text came through.
diff --git a/car-assist-client-lib/src/com/android/car/assist/client/CarAssistUtils.java b/car-assist-client-lib/src/com/android/car/assist/client/CarAssistUtils.java
index 09287f0..b6a48e2 100644
--- a/car-assist-client-lib/src/com/android/car/assist/client/CarAssistUtils.java
+++ b/car-assist-client-lib/src/com/android/car/assist/client/CarAssistUtils.java
@@ -50,13 +50,16 @@
public static final String TAG = "CarAssistUtils";
private static final List<Integer> REQUIRED_SEMANTIC_ACTIONS = Collections.unmodifiableList(
Arrays.asList(
- SEMANTIC_ACTION_REPLY,
SEMANTIC_ACTION_MARK_AS_READ
)
);
- // Currently, all supported semantic actions are required.
- private static final List<Integer> SUPPORTED_SEMANTIC_ACTIONS = REQUIRED_SEMANTIC_ACTIONS;
+ private static final List<Integer> SUPPORTED_SEMANTIC_ACTIONS = Collections.unmodifiableList(
+ Arrays.asList(
+ SEMANTIC_ACTION_MARK_AS_READ,
+ SEMANTIC_ACTION_REPLY
+ )
+ );
private final TextToSpeechHelper.Listener mListener = new TextToSpeechHelper.Listener() {
@Override