Always start speech recognition service.
Since we've decided to direct all traffic through system server, it now needs to be started all the time. Test: atest Bug: 180951739 Change-Id: I9f1639d13d5d2c00f8cd2a6dae2abe8c44e6c31b
This commit is contained in:
@@ -1715,14 +1715,9 @@ public final class SystemServer implements Dumpable {
|
||||
startSystemCaptionsManagerService(context, t);
|
||||
|
||||
// System Speech Recognition Service
|
||||
if (deviceHasConfigString(context,
|
||||
R.string.config_defaultOnDeviceSpeechRecognitionService)) {
|
||||
t.traceBegin("StartSpeechRecognitionManagerService");
|
||||
mSystemServiceManager.startService(SPEECH_RECOGNITION_MANAGER_SERVICE_CLASS);
|
||||
t.traceEnd();
|
||||
} else {
|
||||
Slog.d(TAG, "System speech recognition is not defined by OEM");
|
||||
}
|
||||
t.traceBegin("StartSpeechRecognitionManagerService");
|
||||
mSystemServiceManager.startService(SPEECH_RECOGNITION_MANAGER_SERVICE_CLASS);
|
||||
t.traceEnd();
|
||||
|
||||
// App prediction manager service
|
||||
if (deviceHasConfigString(context, R.string.config_defaultAppPredictionService)) {
|
||||
|
||||
Reference in New Issue
Block a user