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

Commit e6c1a120 authored by Sergey Volnov's avatar Sergey Volnov
Browse files

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
parent 04d9bf62
Loading
Loading
Loading
Loading
+3 −8
Original line number Diff line number Diff line
@@ -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");
            }

            // App prediction manager service
            if (deviceHasConfigString(context, R.string.config_defaultAppPredictionService)) {