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

Commit c1e49b49 authored by Patrick Baumann's avatar Patrick Baumann
Browse files

Fixes order of arguments when fetching uninstalled app info

This change fixes a bug in the order of arguments passed to
generateApplicationInfoFromSettingsLPw where the uid and flags were
swapped, resulting in incorrect filtering of a non-existent uid.

Test: atest AppEnumerationTests PackageManagerTests
Fixes: 157066842
Bug: 156863453
Change-Id: If7196f9e1aa0ec409d1edc3909ad9577cc1f520b
parent a543dfde
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -8604,7 +8604,7 @@ public class PackageManagerService extends IPackageManager.Stub
                        // Shared lib filtering done in generateApplicationInfoFromSettingsLPw
                        // and already converts to externally visible package name
                        ai = generateApplicationInfoFromSettingsLPw(ps.name,
                                callingUid, effectiveFlags, userId);
                                effectiveFlags, callingUid, userId);
                    }
                    if (ai != null) {
                        list.add(ai);