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

Commit b7fbe110 authored by Jorim Jaggi's avatar Jorim Jaggi Committed by Gerrit Code Review
Browse files

Merge "NullPointerException when starting VoiceInteractionManagerService"

parents 187c022b 7dbcbad5
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -58,6 +58,10 @@ public class VoiceInteractionServiceInfo {
    }

    public VoiceInteractionServiceInfo(PackageManager pm, ServiceInfo si) {
        if (si == null) {
            mParseError = "Service not available";
            return;
        }
        if (!Manifest.permission.BIND_VOICE_INTERACTION.equals(si.permission)) {
            mParseError = "Service does not require permission "
                    + Manifest.permission.BIND_VOICE_INTERACTION;