
The standard pattern is to pass a Context in rather than call things like getPackageManager in. It should only pass a PackageManager if that is actually being reused. This shouldn't change the logic at all.
The standard pattern is to pass a Context in rather than call things like getPackageManager in. It should only pass a PackageManager if that is actually being reused. This shouldn't change the logic at all.