Hacker News new | ask | show | jobs
by amluto 3155 days ago
Sure, but did they submit a patch like that to Lineage OS? As far as I can tell, they didn't.
1 comments

The patch was submitted, it's unfortunately not visible to the public: https://review.lineageos.org/194562
It seems like such a small one method change, in the context of forking an entire distro.

I wonder if PackageManagerService is hard coded in many places, rather than using XML dependency injection. If the latter then may it be possible to override the method in a subclass, e.g. MicroGPackageManagerService and distribute the change via a once-only installable zip?

That way Lineage OS doesn't need to break security, only downstream.