Loading services/core/java/com/android/server/speech/SpeechRecognitionManagerServiceImpl.java +2 −2 Original line number Diff line number Diff line Loading @@ -256,8 +256,8 @@ final class SpeechRecognitionManagerServiceImpl extends private boolean componentMapsToRecognitionService(@NonNull ComponentName serviceComponent) { List<ResolveInfo> resolveInfos = getContext().getPackageManager().queryIntentServices( new Intent(RecognitionService.SERVICE_INTERFACE), 0); getContext().getPackageManager().queryIntentServicesAsUser( new Intent(RecognitionService.SERVICE_INTERFACE), 0, getUserId()); if (resolveInfos == null) { return false; } Loading Loading
services/core/java/com/android/server/speech/SpeechRecognitionManagerServiceImpl.java +2 −2 Original line number Diff line number Diff line Loading @@ -256,8 +256,8 @@ final class SpeechRecognitionManagerServiceImpl extends private boolean componentMapsToRecognitionService(@NonNull ComponentName serviceComponent) { List<ResolveInfo> resolveInfos = getContext().getPackageManager().queryIntentServices( new Intent(RecognitionService.SERVICE_INTERFACE), 0); getContext().getPackageManager().queryIntentServicesAsUser( new Intent(RecognitionService.SERVICE_INTERFACE), 0, getUserId()); if (resolveInfos == null) { return false; } Loading