Loading services/texttospeech/java/com/android/server/texttospeech/TextToSpeechManagerService.java +6 −0 Original line number Diff line number Diff line Loading @@ -63,6 +63,12 @@ public final class TextToSpeechManagerService extends public void createSession(String engine, ITextToSpeechSessionCallback sessionCallback) { synchronized (mLock) { if (engine == null) { runSessionCallbackMethod( () -> sessionCallback.onError("Engine cannot be null")); return; } TextToSpeechManagerPerUserService perUserService = getServiceForUserLocked( UserHandle.getCallingUserId()); if (perUserService != null) { Loading Loading
services/texttospeech/java/com/android/server/texttospeech/TextToSpeechManagerService.java +6 −0 Original line number Diff line number Diff line Loading @@ -63,6 +63,12 @@ public final class TextToSpeechManagerService extends public void createSession(String engine, ITextToSpeechSessionCallback sessionCallback) { synchronized (mLock) { if (engine == null) { runSessionCallbackMethod( () -> sessionCallback.onError("Engine cannot be null")); return; } TextToSpeechManagerPerUserService perUserService = getServiceForUserLocked( UserHandle.getCallingUserId()); if (perUserService != null) { Loading