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

Commit 5c269121 authored by Dianne Hackborn's avatar Dianne Hackborn Committed by Android (Google) Code Review
Browse files

Merge "Work on issue #22556778: Starting under voice control not allowed" into mnc-dev

parents 5ff4383b f38c4ee9
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -19,14 +19,11 @@ package com.android.internal.app;
import android.annotation.Nullable;
import android.app.Activity;
import android.app.ActivityThread;
import android.app.VoiceInteractor;
import android.app.VoiceInteractor.PickOptionRequest;
import android.app.VoiceInteractor.PickOptionRequest.Option;
import android.app.VoiceInteractor.Prompt;
import android.app.VoiceInteractor.Request;
import android.os.AsyncTask;
import android.provider.Settings;
import android.service.chooser.ChooserTarget;
import android.text.TextUtils;
import android.util.Slog;
import android.widget.AbsListView;
+4 −0
Original line number Diff line number Diff line
@@ -2967,6 +2967,10 @@ public class PackageManagerService extends IPackageManager.Stub {
    public boolean activitySupportsIntent(ComponentName component, Intent intent,
            String resolvedType) {
        synchronized (mPackages) {
            if (component.equals(mResolveComponentName)) {
                // The resolver supports EVERYTHING!
                return true;
            }
            PackageParser.Activity a = mActivities.mActivities.get(component);
            if (a == null) {
                return false;