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

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

Merge "speech: queryIntentService-AsUser-" into sc-dev

parents 5af8fe68 c4c41120
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -256,8 +256,8 @@ final class SpeechRecognitionManagerServiceImpl extends


    private boolean componentMapsToRecognitionService(@NonNull ComponentName serviceComponent) {
    private boolean componentMapsToRecognitionService(@NonNull ComponentName serviceComponent) {
        List<ResolveInfo> resolveInfos =
        List<ResolveInfo> resolveInfos =
                getContext().getPackageManager().queryIntentServices(
                getContext().getPackageManager().queryIntentServicesAsUser(
                        new Intent(RecognitionService.SERVICE_INTERFACE), 0);
                        new Intent(RecognitionService.SERVICE_INTERFACE), 0, getUserId());
        if (resolveInfos == null) {
        if (resolveInfos == null) {
            return false;
            return false;
        }
        }