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

Commit 434523ad authored by Sergey Volnov's avatar Sergey Volnov Committed by Android (Google) Code Review
Browse files

Merge "Always start speech recognition service." into sc-dev

parents 051c3ff0 e6c1a120
Loading
Loading
Loading
Loading
+3 −8
Original line number Diff line number Diff line
@@ -1717,14 +1717,9 @@ public final class SystemServer implements Dumpable {
            startTextToSpeechManagerService(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)) {