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

Commit d3b9e120 authored by Dorin Drimus's avatar Dorin Drimus
Browse files

Add QUERY_ALL_PACKAGES permission to VpnDialogs

This avoids NameNotFoundException when calling VpnConfig.getVpnLabel from Android 11+ (R+)

Bug: 172041314
Change-Id: I27bfa457803a6f974772dd2861c725ca6fa4f84f
Test: Manual. Connect to a VPN and trigger the vpn dialogs
parent a13966fe
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -23,6 +23,9 @@
    <uses-permission android:name="android.permission.CONTROL_ALWAYS_ON_VPN" />
    <uses-permission android:name="android.permission.HIDE_NON_SYSTEM_OVERLAY_WINDOWS"/>

    <!-- Query all packages on device on R+ -->
    <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />

    <application android:label="VpnDialogs"
                 android:allowBackup="false">