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

Commit 8431f579 authored by Jared Herdlevar's avatar Jared Herdlevar
Browse files

Grant NEARBY_DEVICES permission to voice search on wear devices.

This is needed for Edoras to change target SDK version from 30 to 33.
go/edoras-bluetooth-permission-investigation

Bug: 352341660
Change-Id: I65f743dc39f932e2367533b8cb6b2f40c7db8ad5
parent 38719303
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -887,7 +887,7 @@ final class DefaultPermissionGrantPolicy {
            grantPermissionsToSystemPackage(pm,
                    getDefaultSystemHandlerActivityPackage(pm,
                            SearchManager.INTENT_ACTION_GLOBAL_SEARCH, userId),
                    userId, PHONE_PERMISSIONS, CALENDAR_PERMISSIONS);
                    userId, PHONE_PERMISSIONS, CALENDAR_PERMISSIONS, NEARBY_DEVICES_PERMISSIONS);
        }

        // Print Spooler