Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8252a050 authored by Ahaan Ugale's avatar Ahaan Ugale
Browse files

Introduce a default speech recognizer.

This is used to populate the new recognizer role and is used by
VoiceInteractionManagerService to init the voice_recognition_service
setting to a default value.

Bug: 175480455
Test: `adb dumpsys role` - check that the default is set
Change-Id: If749a9dcd4527929383110f83a136899a7b16bc1
parent b3372164
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -352,6 +352,7 @@ package android {
    field public static final int config_systemContacts = 17039403; // 0x104002b
    field public static final int config_systemGallery = 17039399; // 0x1040027
    field public static final int config_systemShell = 17039402; // 0x104002a
    field public static final int config_systemSpeechRecognizer = 17039406; // 0x104002e
  }
  public static final class R.style {
+2 −0
Original line number Diff line number Diff line
@@ -1953,6 +1953,8 @@
    <string name="config_systemShell" translatable="false">com.android.shell</string>
    <!-- The name of the package that will hold the system contacts role. -->
    <string name="config_systemContacts" translatable="false">com.android.contacts</string>
    <!-- The name of the package that will hold the speech recognizer role by default. -->
    <string name="config_systemSpeechRecognizer" translatable="false"></string>

    <!-- The name of the package that will be allowed to change its components' label/icon. -->
    <string name="config_overrideComponentUiPackage" translatable="false"></string>
+2 −0
Original line number Diff line number Diff line
@@ -3166,6 +3166,8 @@
    <public name="config_customMediaKeyDispatcher" />
    <!-- @hide @SystemApi -->
    <public name="config_customMediaSessionPolicyProvider" />
    <!-- @hide @SystemApi -->
    <public name="config_systemSpeechRecognizer" />
  </public-group>

  <public-group type="id" first-id="0x01020055">