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

Commit 37ae0130 authored by Arthur Ishiguro's avatar Arthur Ishiguro
Browse files

Makes ACCESS_CONTEXT_HUB privileged

Since the Context Hub system APIs must be available to trusted but
unbundled apps (e.g. GMS), mark the permission as privileged.

Bug: 135951924
Test: None
Change-Id: If2da79abbac126504fed565f53c49b24077d652d
parent 6871767a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1533,7 +1533,7 @@
         @hide
    -->
    <permission android:name="android.permission.ACCESS_CONTEXT_HUB"
        android:protectionLevel="signature" />
        android:protectionLevel="signature|privileged" />
    <uses-permission android:name="android.permission.ACCESS_CONTEXT_HUB"/>

    <!-- @SystemApi Allows an application to create mock location providers for testing.