I'm not really sure if this would work since I'm new to Android development and I don't have a computer powerful enough to rebuild the ROM and test it myself.
However, it seems like PixelOS' current face unlocking mechanism relies on IR hardware which unfortunately means that face unlocking will not work on phones where the IR sensor does not work on GSIs or the face recognition is purely software-based. This patch comes from Ponces' AOSP builds to try and enable software-based face recognition.
It seems like there should be a manifest and this line should be added to it:
I'm not really sure if this would work since I'm new to Android development and I don't have a computer powerful enough to rebuild the ROM and test it myself.
However, it seems like PixelOS' current face unlocking mechanism relies on IR hardware which unfortunately means that face unlocking will not work on phones where the IR sensor does not work on GSIs or the face recognition is purely software-based. This patch comes from Ponces' AOSP builds to try and enable software-based face recognition.
It seems like there should be a manifest and this line should be added to it:
<project name="ponces/packages_apps_ParanoidSense" path="packages/apps/ParanoidSense" remote="github" revision="uvite" />
But I have no idea where the manifest should be placed or how to modify any relevant makefiles to point to that manifest.