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

Commit fe77c348 authored by Jonathan Klee's avatar Jonathan Klee
Browse files

fix: Remove useless FORCE_STOP_PACKAGES permission

This permission prevented eDrive from being installed with
adb install.

As mentioned in the permission description, this permission is
required to use the forceStopPackage().
cf. https://cs.android.com/android/platform/superproject/main/+/main:frameworks/base/core/res/AndroidManifest.xml;l=4296

eDrive does not use this method anymore so we can safetly remove
the permission.
parent ebc25cf6
Loading
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -28,12 +28,6 @@
        tools:ignore="QueryAllPackagesPermission" />
    <uses-permission android:name="android.permission.READ_CONTACTS" />

    <permission
        android:name="android.permission.FORCE_STOP_PACKAGES"
        android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
        android:protectionLevel="signature"
        tools:ignore="ReservedSystemPermission" />

    <permission android:name="foundation.e.permission.ADD_ACCOUNT"
        android:protectionLevel="signature" />