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

Skip to content

fix: Remove useless FORCE_STOP_PACKAGES permission

Jonathan Klee requested to merge 0000-s-remove-force-stop-packages-perm into main

Description

eDrive was not able to be installed with adb install despite we removed the persistent flag.

Screenshots

Technical details

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.

Tests

Issues

10 commandments of code reviews

👪 https://gitlab.e.foundation/internal/wiki/-/wikis/mobile-team/guidelines/Code-review

Merge request reports

Loading