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

Commit 6e0ac89f authored by Bjorn Bringert's avatar Bjorn Bringert Committed by Android (Google) Code Review
Browse files

Merge "Find new recognizer if old one is gone"

parents 7bf8fba6 ddf32291
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -75,7 +75,10 @@ public class RecognitionManagerService extends Binder {
            try {
                mContext.getPackageManager().getServiceInfo(comp, 0);
            } catch (NameNotFoundException e) {
                setCurRecognizer(null);
                comp = findAvailRecognizer(null);
                if (comp != null) {
                    setCurRecognizer(comp);
                }
            }
        } else {
            comp = findAvailRecognizer(null);