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

Commit cc221268 authored by Automerger Merge Worker's avatar Automerger Merge Worker Committed by Android (Google) Code Review
Browse files

Merge "Merge "speech: queryIntentService-AsUser-" into sc-dev am: c648d0f4 am: 60ae848a"

parents ceae907e ca3e08bb
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
        }