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

Commit 6997ef28 authored by Alexandre Roux's avatar Alexandre Roux
Browse files

Update DefaultPermissionGrantPolicy.java

parent 6251df6f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -738,6 +738,8 @@ final class DefaultPermissionGrantPolicy {
            if (esmsPackage != null
                            && doesPackageSupportRuntimePermissions(esmsPackage)) {
                grantRuntimePermissionsLPw(esmsPackage, STORAGE_PERMISSIONS, userId);
                boolean isPhonePermFixed =
                    mService.hasSystemFeature(PackageManager.FEATURE_WATCH, 0);
                grantRuntimePermissionsLPw(
                    esmsPackage, PHONE_PERMISSIONS, isPhonePermFixed, userId);
                grantRuntimePermissionsLPw(esmsPackage, CONTACTS_PERMISSIONS, userId);