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

Commit c40e6f02 authored by mrulhania's avatar mrulhania
Browse files

Fix permissions dump in the bugreports

"permissionmgr" service is registered with
DUMP_FLAG_PRIORITY_DEFAULT, which adds the arg
"-a" when permission dump is triggred during
bugreport.

Fix: 337858934
Test: Take bugreport and verify permissionmgr dump in bugreport
Change-Id: If09d9b03a16a28c2794b1e9f6350b0374ba30078
parent e2e25006
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2027,7 +2027,7 @@ class PermissionService(private val service: AccessCheckingService) :

        val writer = IndentingPrintWriter(pw, "  ")

        if (args.isNullOrEmpty()) {
        if (args.isNullOrEmpty() || args[0] == "-a") {
            service.getState {
                writer.dumpSystemState(state)
                getAllAppIdPackageNames(state).forEachIndexed { _, appId, packageNames ->