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

Commit cccd63c8 authored by Valentin Kravtsov's avatar Valentin Kravtsov
Browse files

Fixing the bug where mic button is not shown

Change-Id: I8ac7bd4c1db85058f863bcfaf5ee30212644b2bd
parent ac6df2d0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -171,7 +171,7 @@ public class RecognitionManager {
     */
    public static boolean isRecognitionAvailable(final Context context) {
        final List<ResolveInfo> list = context.getPackageManager().queryIntentServices(
                new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH), 0);
                new Intent(RecognitionService.SERVICE_INTERFACE), 0);
        return list != null && list.size() != 0;
    }