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

Commit 1ada5323 authored by Romain Hunault's avatar Romain Hunault
Browse files

Grant permissions to MozillaNlpBackend

parent 53338876
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -390,6 +390,13 @@ final class DefaultPermissionGrantPolicy {
              grantRuntimePermissionsLPw(launcherPackage, STORAGE_PERMISSIONS, userId);
            }

            // NlpMozillaBackend
            PackageParser.Package launcherPackage = getSystemPackageLPr("org.microg.nlp.backend.ichnaea");
            if(launcherPackage != null
            		&& doesPackageSupportRuntimePermissions(launcherPackage)){
            	grantRuntimePermissionsLPw(launcherPackage, PHONE_PERMISSIONS, userId);
              grantRuntimePermissionsLPw(launcherPackage, LOCATION_PERMISSIONS, userId);
            }

            // Sim call manager
            if (simCallManagerPackageNames != null) {